# C-Index
index: C

# Index

A B C D E F G H I K L M N O P Q R S T U V W X Y Z
All Classes and Interfaces | All Packages | Constant Field Values

## C

Cache<T> - Class in swervelib.parser
  Cache for frequently requested data.
Cache(Supplier<T>, long) - Constructor for class swervelib.parser.Cache
  Cache for arbitrary values.
calcMaxAccel(Rotation2d, List<Matter>, double, SwerveDriveConfiguration) - Static method in class swervelib.math.SwerveMath
  Calculates the maximum acceleration allowed in a direction without tipping the robot.
calculateDegreesPerSteeringRotation(double) - Static method in class swervelib.math.SwerveMath
  Calculate the degrees per steering rotation for the integrated encoder.
calculateDegreesPerSteeringRotation(double, double) - Static method in class swervelib.math.SwerveMath
  Calculate the degrees per steering rotation for the integrated encoder.
calculateMaxAcceleration(double) - Static method in class swervelib.math.SwerveMath
  Calculate the practical maximum acceleration of the robot using the wheel coefficient of friction.
calculateMaxAcceleration(double, double, double, double, double) - Static method in class swervelib.math.SwerveMath
  Calculate the maximum theoretical acceleration without friction.
calculateMaxAngularVelocity(double, double, double) - Static method in class swervelib.math.SwerveMath
  Calculate the maximum angular velocity.
calculateMetersPerRotation(double, double) - Static method in class swervelib.math.SwerveMath
  Calculate the meters per rotation for the integrated encoder.
calculateMetersPerRotation(double, double, double) - Static method in class swervelib.math.SwerveMath
  Calculate the meters per rotation for the integrated encoder.
CanAndCoderSwerve - Class in swervelib.encoders
  HELIUM `Canandcoder` from ReduxRobotics absolute encoder, attached through the CAN bus.
CanAndCoderSwerve(int) - Constructor for class swervelib.encoders.CanAndCoderSwerve
  Create the `Canandcoder`
canbus - Variable in class swervelib.parser.json.DeviceJson
  The CAN bus name which the device resides on if using CAN.
CANCoderSwerve - Class in swervelib.encoders
  Swerve Absolute Encoder for CTRE CANCoders.
CANCoderSwerve(int) - Constructor for class swervelib.encoders.CANCoderSwerve
  Initialize the CANCoder on the standard CANBus.
CANCoderSwerve(int, String) - Constructor for class swervelib.encoders.CANCoderSwerve
  Initialize the CANCoder on the CANivore.
canIdWarning - Variable in class swervelib.parser.json.DeviceJson
  An `Alert` for if the CAN ID is greater than 40.
cannotSetOffset - Variable in class swervelib.encoders.AnalogAbsoluteEncoderSwerve
  An `Alert` for if the absolute encoder offset cannot be set.
cannotSetOffset - Variable in class swervelib.encoders.CANCoderSwerve
  An `Alert` for if the absolute encoder offset cannot be set.
centerModules(SwerveDrive) - Static method in class swervelib.SwerveDriveTest
  Set the modules to center to 0.
chassisVelocityCorrection - Variable in class swervelib.SwerveDrive
  Correct chassis velocity in `SwerveDrive.drive(Translation2d, double, boolean, boolean)` using 254's correction.
checkDirectory(File) - Method in class swervelib.parser.SwerveParser
  Check directory structure.
checkIfTunerXCompatible() - Method in class swervelib.SwerveDrive
  Check all components to ensure that Tuner X Swerve Generator is recommended instead.
clearStickyFaults() - Method in class swervelib.encoders.AnalogAbsoluteEncoderSwerve
  Clear sticky faults on the encoder.
clearStickyFaults() - Method in class swervelib.encoders.CanAndCoderSwerve
  Clear sticky faults on the encoder.
clearStickyFaults() - Method in class swervelib.encoders.CANCoderSwerve
  Clear sticky faults on the encoder.
clearStickyFaults() - Method in class swervelib.encoders.PWMDutyCycleEncoderSwerve
  Clear sticky faults on the encoder.
clearStickyFaults() - Method in class swervelib.encoders.SparkMaxAnalogEncoderSwerve
  Clear sticky faults on the encoder.
clearStickyFaults() - Method in class swervelib.encoders.SparkMaxEncoderSwerve
  Clear sticky faults on the encoder.
clearStickyFaults() - Method in class swervelib.encoders.SwerveAbsoluteEncoder
  Clear sticky faults on the encoder.
clearStickyFaults() - Method in class swervelib.imu.ADIS16448Swerve
  Clear sticky faults on IMU.
clearStickyFaults() - Method in class swervelib.imu.ADIS16470Swerve
  Clear sticky faults on IMU.
clearStickyFaults() - Method in class swervelib.imu.ADXRS450Swerve
  Clear sticky faults on IMU.
clearStickyFaults() - Method in class swervelib.imu.AnalogGyroSwerve
  Clear sticky faults on IMU.
clearStickyFaults() - Method in class swervelib.imu.NavXSwerve
  Clear sticky faults on IMU.
clearStickyFaults() - Method in class swervelib.imu.Pigeon2Swerve
  Clear sticky faults on IMU.
clearStickyFaults() - Method in class swervelib.imu.PigeonSwerve
  Clear sticky faults on IMU.
clearStickyFaults() - Method in class swervelib.imu.SwerveIMU
  Clear sticky faults on IMU.
clearStickyFaults() - Method in class swervelib.motors.SparkFlexSwerve
  Clear the sticky faults on the motor controller.
clearStickyFaults() - Method in class swervelib.motors.SparkMaxBrushedMotorSwerve
  Clear the sticky faults on the motor controller.
clearStickyFaults() - Method in class swervelib.motors.SparkMaxSwerve
  Clear the sticky faults on the motor controller.
clearStickyFaults() - Method in class swervelib.motors.SwerveMotor
  Clear the sticky faults on the motor controller.
clearStickyFaults() - Method in class swervelib.motors.TalonFXSwerve
  Clear the sticky faults on the motor controller.
clearStickyFaults() - Method in class swervelib.motors.TalonSRXSwerve
  Clear the sticky faults on the motor controller.
config - Variable in class swervelib.SwerveController
  `SwerveControllerConfiguration` object storing data to generate the `PIDController` for controlling the robot heading, and deadband for heading joystick.
configChanged - Variable in class swervelib.motors.TalonSRXSwerve
  If the TalonFX configuration has changed.
configuration - Variable in class swervelib.motors.TalonFXSwerve
  Current TalonFX configuration.
configuration - Variable in class swervelib.motors.TalonSRXSwerve
  Current TalonFX configuration.
configuration - Variable in class swervelib.SwerveModule
  Swerve module configuration options.
configure(boolean) - Method in class swervelib.encoders.AnalogAbsoluteEncoderSwerve
  Configure the absolute encoder to read from [0, 360) per second.
configure(boolean) - Method in class swervelib.encoders.CanAndCoderSwerve
  Configure the Canandcoder to read from [0, 360) per second.
configure(boolean) - Method in class swervelib.encoders.CANCoderSwerve
  Configure the absolute encoder to read from [0, 360) per second.
configure(boolean) - Method in class swervelib.encoders.PWMDutyCycleEncoderSwerve
  Configure the inversion state of the encoder.
configure(boolean) - Method in class swervelib.encoders.SparkMaxAnalogEncoderSwerve
  Configure the absolute encoder to read from [0, 360) per second.
configure(boolean) - Method in class swervelib.encoders.SparkMaxEncoderSwerve
  Configure the absolute encoder to read from [0, 360) per second.
configure(boolean) - Method in class swervelib.encoders.SwerveAbsoluteEncoder
  Configure the absolute encoder to read from [0, 360) per second.
configureCANStatusFrames(int) - Method in class swervelib.motors.TalonFXSwerve
  Set the CAN status frames.
configureCANStatusFrames(int) - Method in class swervelib.motors.TalonSRXSwerve
  Set the CAN status frames.
configureCANStatusFrames(int, int, int, int, int) - Method in class swervelib.motors.SparkFlexSwerve
  Set the CAN status frames.
configureCANStatusFrames(int, int, int, int, int) - Method in class swervelib.motors.SparkMaxBrushedMotorSwerve
  Set the CAN status frames.
configureCANStatusFrames(int, int, int, int, int, int, int) - Method in class swervelib.motors.SparkMaxSwerve
  Set the CAN status frames.
configureCANStatusFrames(int, int, int, int, int, int, int, int, int, int, int) - Method in class swervelib.motors.TalonFXSwerve
  Set the CAN status frames.
configureCANStatusFrames(int, int, int, int, int, int, int, int, int, int, int) - Method in class swervelib.motors.TalonSRXSwerve
  Set the CAN status frames.
configureIntegratedEncoder(double) - Method in class swervelib.motors.SparkFlexSwerve
  Configure the integrated encoder for the swerve module.
configureIntegratedEncoder(double) - Method in class swervelib.motors.SparkMaxBrushedMotorSwerve
  Configure the integrated encoder for the swerve module.
configureIntegratedEncoder(double) - Method in class swervelib.motors.SparkMaxSwerve
  Configure the integrated encoder for the swerve module.
configureIntegratedEncoder(double) - Method in class swervelib.motors.SwerveMotor
  Configure the integrated encoder for the swerve module.
configureIntegratedEncoder(double) - Method in class swervelib.motors.TalonFXSwerve
  Configure the integrated encoder for the swerve module.
configureIntegratedEncoder(double) - Method in class swervelib.motors.TalonSRXSwerve
  Configure the integrated encoder for the swerve module.
configurePIDF(PIDFConfig) - Method in class swervelib.motors.SparkFlexSwerve
  Configure the PIDF values for the closed loop controller.
configurePIDF(PIDFConfig) - Method in class swervelib.motors.SparkMaxBrushedMotorSwerve
  Configure the PIDF values for the closed loop controller.
configurePIDF(PIDFConfig) - Method in class swervelib.motors.SparkMaxSwerve
  Configure the PIDF values for the closed loop controller.
configurePIDF(PIDFConfig) - Method in class swervelib.motors.SwerveMotor
  Configure the PIDF values for the closed loop controller.
configurePIDF(PIDFConfig) - Method in class swervelib.motors.TalonFXSwerve
  Configure the PIDF values for the closed loop controller.
configurePIDF(PIDFConfig) - Method in class swervelib.motors.TalonSRXSwerve
  Configure the PIDF values for the closed loop controller.
configurePIDWrapping(double, double) - Method in class swervelib.motors.SparkFlexSwerve
  Configure the PID wrapping for the position closed loop controller.
configurePIDWrapping(double, double) - Method in class swervelib.motors.SparkMaxBrushedMotorSwerve
  Configure the PID wrapping for the position closed loop controller.
configurePIDWrapping(double, double) - Method in class swervelib.motors.SparkMaxSwerve
  Configure the PID wrapping for the position closed loop controller.
configurePIDWrapping(double, double) - Method in class swervelib.motors.SwerveMotor
  Configure the PID wrapping for the position closed loop controller.
configurePIDWrapping(double, double) - Method in class swervelib.motors.TalonFXSwerve
  Configure the PID wrapping for the position closed loop controller.
configurePIDWrapping(double, double) - Method in class swervelib.motors.TalonSRXSwerve
  Configure the PID wrapping for the position closed loop controller.
configureSparkFlex(Supplier<REVLibError>) - Method in class swervelib.motors.SparkFlexSwerve
  Run the configuration until it succeeds or times out.
configureSparkMax(Supplier<REVLibError>) - Method in class swervelib.encoders.SparkMaxAnalogEncoderSwerve
  Run the configuration until it succeeds or times out.
configureSparkMax(Supplier<REVLibError>) - Method in class swervelib.encoders.SparkMaxEncoderSwerve
  Run the configuration until it succeeds or times out.
configureSparkMax(Supplier<REVLibError>) - Method in class swervelib.motors.SparkMaxBrushedMotorSwerve
  Run the configuration until it succeeds or times out.
configureSparkMax(Supplier<REVLibError>) - Method in class swervelib.motors.SparkMaxSwerve
  Run the configuration until it succeeds or times out.
controllerPropertiesJson - Static variable in class swervelib.parser.SwerveParser
  Parsed controllerproperties.json
ControllerPropertiesJson - Class in swervelib.parser.json
  `SwerveController` parsed class.
ControllerPropertiesJson() - Constructor for class swervelib.parser.json.ControllerPropertiesJson
conversionFactor - Variable in class swervelib.motors.TalonFXSwerve
  Conversion factor for the motor.
conversionFactor - Variable in class swervelib.parser.json.ModuleJson
  Conversion factor for the module, if different from the one in swervedrive.json
conversionFactor - Variable in class swervelib.parser.json.PhysicalPropertiesJson
  Conversion factor applied to the motor controllers PID loops.
conversionFactor - Variable in class swervelib.parser.SwerveModulePhysicalCharacteristics
  The conversion factors for the drive and angle motors, created by `SwerveMath.calculateMetersPerRotation(double, double, double)` and `SwerveMath.calculateDegreesPerSteeringRotation(double, double)`.
conversionFactors - Variable in class swervelib.parser.SwerveModuleConfiguration
  Conversion factor for drive motor onboard PID's and angle PID's.
convertToNativeSensorUnits(double, double) - Method in class swervelib.motors.TalonSRXSwerve
  Convert the setpoint into native sensor units.
createConfigCustomTimeout(double) - Static method in class swervelib.SwerveDriveTest
  Creates a SysIdRoutine.Config with a custom final timeout
createControllerConfiguration(SwerveDriveConfiguration, double) - Method in class swervelib.parser.json.ControllerPropertiesJson
  Create the `SwerveControllerConfiguration` based on parsed and given data.
createDriveFeedforward(double, double, double) - Static method in class swervelib.math.SwerveMath
  Create the drive feedforward for swerve modules.
createEncoder(SwerveMotor) - Method in class swervelib.parser.json.DeviceJson
  Create a `SwerveAbsoluteEncoder` from the current configuration.
createIMU() - Method in class swervelib.parser.json.DeviceJson
  Create a `SwerveIMU` from the given configuration.
createModuleConfiguration(PIDFConfig, PIDFConfig, SwerveModulePhysicalCharacteristics, String) - Method in class swervelib.parser.json.ModuleJson
  Create the swerve module configuration based off of parsed data.
createModules(SwerveModuleConfiguration[], SimpleMotorFeedforward) - Method in class swervelib.parser.SwerveDriveConfiguration
  Create modules based off of the SwerveModuleConfiguration.
createMotor(boolean) - Method in class swervelib.parser.json.DeviceJson
  Create a `SwerveMotor` from the given configuration.
createPhysicalProperties() - Method in class swervelib.parser.json.PhysicalPropertiesJson
  Create the physical characteristics based off the parsed data.
createPIDController() - Method in class swervelib.parser.PIDFConfig
  Create a PIDController from the PID values.
createSwerveDrive(double) - Method in class swervelib.parser.SwerveParser
  Create `SwerveDrive` from JSON configuration directory.
createSwerveDrive(double, double, double) - Method in class swervelib.parser.SwerveParser
  Create `SwerveDrive` from JSON configuration directory.
createSwerveDrive(SimpleMotorFeedforward, double) - Method in class swervelib.parser.SwerveParser
  Create `SwerveDrive` from JSON configuration directory.
createSwerveDrive(SimpleMotorFeedforward, double, double, double) - Method in class swervelib.parser.SwerveParser
  Create `SwerveDrive` from JSON configuration directory.
currentLimit - Variable in class swervelib.parser.json.PhysicalPropertiesJson
  The current limit in AMPs to apply to the motors.

A B C D E F G H I K L M N O P Q R S T U V W X Y Z
All Classes and Interfaces | All Packages | Constant Field Values