Index
All Classes and Interfaces|All Packages|Constant Field Values
P
- p - Variable in class swervelib.parser.PIDFConfig
-
Proportional Gain for PID.
- physicalCharacteristics - Variable in class swervelib.parser.SwerveDriveConfiguration
-
Physical characteristics of the swerve drive from physicalproperties.json.
- physicalCharacteristics - Variable in class swervelib.parser.SwerveModuleConfiguration
-
Physical characteristics of the swerve module.
- physicalPropertiesJson - Static variable in class swervelib.parser.SwerveParser
-
Parsed modules/physicalproperties.json
- PhysicalPropertiesJson - Class in swervelib.parser.json
-
SwerveModulePhysicalCharacteristics
parsed data. - PhysicalPropertiesJson() - Constructor for class swervelib.parser.json.PhysicalPropertiesJson
- pid - Variable in class swervelib.motors.SparkFlexSwerve
-
Closed-loop PID controller.
- pid - Variable in class swervelib.motors.SparkMaxBrushedMotorSwerve
-
Closed-loop PID controller.
- pid - Variable in class swervelib.motors.SparkMaxSwerve
-
Closed-loop PID controller.
- PIDFConfig - Class in swervelib.parser
-
Hold the PIDF and Integral Zone values for a PID.
- PIDFConfig() - Constructor for class swervelib.parser.PIDFConfig
-
Used when parsing PIDF values from JSON.
- PIDFConfig(double, double) - Constructor for class swervelib.parser.PIDFConfig
-
PIDF Config constructor to contain the values.
- PIDFConfig(double, double, double) - Constructor for class swervelib.parser.PIDFConfig
-
PIDF Config constructor to contain the values.
- PIDFConfig(double, double, double, double) - Constructor for class swervelib.parser.PIDFConfig
-
PIDF Config constructor to contain the values.
- PIDFConfig(double, double, double, double, double) - Constructor for class swervelib.parser.PIDFConfig
-
PIDF Config constructor to contain the values.
- pidfPropertiesJson - Static variable in class swervelib.parser.SwerveParser
-
Parsed modules/pidfproperties.json
- PIDFPropertiesJson - Class in swervelib.parser.json
-
SwerveModule
PID with Feedforward for the drive motor and angle motor. - PIDFPropertiesJson() - Constructor for class swervelib.parser.json.PIDFPropertiesJson
- PIDFRange - Class in swervelib.parser.deserializer
-
Class to hold the minimum and maximum input or output of the PIDF.
- PIDFRange() - Constructor for class swervelib.parser.deserializer.PIDFRange
- Pigeon2Swerve - Class in swervelib.imu
-
SwerveIMU interface for the Pigeon2
- Pigeon2Swerve(int) - Constructor for class swervelib.imu.Pigeon2Swerve
-
Generate the SwerveIMU for pigeon.
- Pigeon2Swerve(int, String) - Constructor for class swervelib.imu.Pigeon2Swerve
-
Generate the SwerveIMU for pigeon.
- PigeonSwerve - Class in swervelib.imu
-
SwerveIMU interface for the Pigeon.
- PigeonSwerve(int) - Constructor for class swervelib.imu.PigeonSwerve
-
Generate the SwerveIMU for pigeon.
- placeInAppropriate0To360Scope(double, double) - Static method in class swervelib.math.SwerveMath
-
Put an angle within the 360 deg scope of a reference.
- PoseLog(Pose2d) - Static method in class swervelib.math.SwerveMath
-
Logical inverse of the Pose exponential from 254.
- position - Variable in class swervelib.math.Matter
-
Position in meters from robot center in 3d space.
- position - Variable in class swervelib.motors.SparkMaxSwerve
-
Supplier for the position of the motor controller.
- Position - Enum constant in enum class swervelib.motors.SparkFlexSwerve.SparkMAX_slotIdx
-
Slot 1, used for position PID's.
- Position - Enum constant in enum class swervelib.motors.SparkMaxSwerve.SparkMAX_slotIdx
-
Slot 1, used for position PID's.
- positionConversionFactor - Variable in class swervelib.motors.TalonSRXSwerve
-
The position conversion factor to convert raw sensor units to Meters Per 100ms, or Ticks to Degrees.
- postTrajectory(Trajectory) - Method in class swervelib.SwerveDrive
-
Post the trajectory to the field
- powerAngleMotorsDutyCycle(SwerveDrive, double) - Static method in class swervelib.SwerveDriveTest
-
Power the angle motors for the swerve drive to a set percentage.
- powerAngleMotorsVoltage(SwerveDrive, double) - Static method in class swervelib.SwerveDriveTest
-
Power the angle motors for the swerve drive to a set voltage.
- powerDriveMotorsDutyCycle(SwerveDrive, double) - Static method in class swervelib.SwerveDriveTest
-
Power the drive motors for the swerve drive to a set duty cycle percentage.
- powerDriveMotorsVoltage(SwerveDrive, double) - Static method in class swervelib.SwerveDriveTest
-
Power the drive motors for the swerve drive to a set voltage.
- printAlert(String) - Method in class swervelib.telemetry.Alert
-
Print the alert message.
- pushOffsetsToControllers() - Method in class swervelib.SwerveDrive
-
Pushes the Absolute Encoder offsets to the Encoder or Motor Controller, depending on type.
- pushOffsetsToControllers() - Method in class swervelib.SwerveModule
-
Push absolute encoder offset in the memory of the encoder or controller.
- PWMDutyCycleEncoderSwerve - Class in swervelib.encoders
-
DutyCycle encoders such as "US Digital MA3 with PWM Output, the CTRE Mag Encoder, the Rev Hex Encoder, and the AM Mag Encoder." attached via a PWM lane.
- PWMDutyCycleEncoderSwerve(int) - Constructor for class swervelib.encoders.PWMDutyCycleEncoderSwerve
-
Constructor for the PWM duty cycle encoder.
All Classes and Interfaces|All Packages|Constant Field Values