Index

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

G

gearRatio - Variable in class swervelib.parser.json.PhysicalPropertiesJson
Gear ratio for the motors, number of times the motor has to spin before the wheel rotates a single time.
getAbsoluteEncoder() - Method in class swervelib.encoders.CANCoderSwerve
Get the instantiated absolute encoder Object.
getAbsoluteEncoder() - Method in class swervelib.encoders.SparkMaxEncoderSwerve
Get the instantiated absolute encoder Object.
getAbsoluteEncoder() - Method in class swervelib.encoders.SwerveAbsoluteEncoder
Get the instantiated absolute encoder Object.
getAbsolutePosition() - Method in class swervelib.encoders.CANCoderSwerve
Get the absolute position of the encoder.
getAbsolutePosition() - Method in class swervelib.encoders.SparkMaxEncoderSwerve
Get the absolute position of the encoder.
getAbsolutePosition() - Method in class swervelib.encoders.SwerveAbsoluteEncoder
Get the absolute position of the encoder.
getAbsolutePosition() - Method in class swervelib.SwerveModule
Get the absolute position.
getFieldVelocity() - Method in class swervelib.SwerveDrive
Gets the current field-relative velocity (x, y and omega) of the robot
getGyroRotation3d() - Method in class swervelib.simulation.SwerveIMUSimulation
Gets the estimated gyro Rotation3d of the robot.
getGyroRotation3d() - Method in class swervelib.SwerveDrive
Gets the current gyro Rotation3d of the robot, as reported by the imu.
getIMU() - Method in class swervelib.imu.ADIS16448Swerve
Get the instantiated IMU object.
getIMU() - Method in class swervelib.imu.ADIS16470Swerve
Get the instantiated IMU object.
getIMU() - Method in class swervelib.imu.ADXRS450Swerve
Get the instantiated IMU object.
getIMU() - Method in class swervelib.imu.AnalogGyroSwerve
Get the instantiated IMU object.
getIMU() - Method in class swervelib.imu.NavXSwerve
Get the instantiated IMU object.
getIMU() - Method in class swervelib.imu.Pigeon2Swerve
Get the instantiated IMU object.
getIMU() - Method in class swervelib.imu.PigeonSwerve
Get the instantiated IMU object.
getIMU() - Method in class swervelib.imu.SwerveIMU
Get the instantiated IMU object.
getInstance() - Static method in class swervelib.simulation.ctre.PhysicsSim
Gets the robot simulator instance.
getModuleConfigurationByName(String, SwerveDriveConfiguration) - Static method in class swervelib.parser.SwerveParser
Get the swerve module by the json name.
getModulePositions() - Method in class swervelib.SwerveDrive
Gets the current module positions (azimuth and wheel position (meters))
getMotor() - Method in class swervelib.motors.SparkMaxSwerve
Get the motor object from the module.
getMotor() - Method in class swervelib.motors.SwerveMotor
Get the motor object from the module.
getMotor() - Method in class swervelib.motors.TalonFXSwerve
Get the motor object from the module.
getMotor() - Method in class swervelib.motors.TalonSRXSwerve
Get the motor object from the module.
getPeriod() - Method in class swervelib.simulation.ctre.PhysicsSim.SimProfile
Returns the time since last call, in milliseconds.
getPitch() - Method in class swervelib.simulation.SwerveIMUSimulation
Pitch is not simulated currently, always returns 0.
getPitch() - Method in class swervelib.SwerveDrive
Gets the current pitch angle of the robot, as reported by the imu.
getPose() - Method in class swervelib.SwerveDrive
Gets the current pose (position and rotation) of the robot, as reported by odometry.
getPosition() - Method in class swervelib.motors.SparkMaxSwerve
Get the position of the integrated encoder.
getPosition() - Method in class swervelib.motors.SwerveMotor
Get the position of the integrated encoder.
getPosition() - Method in class swervelib.motors.TalonFXSwerve
Get the position of the integrated encoder.
getPosition() - Method in class swervelib.motors.TalonSRXSwerve
Get the position of the integrated encoder.
getPosition() - Method in class swervelib.simulation.SwerveModuleSimulation
Get the simulated swerve module position.
getPosition() - Method in class swervelib.SwerveModule
Get the position of the swerve module.
getPositionEncoderConversion(boolean) - Method in class swervelib.parser.SwerveModuleConfiguration
Get the encoder conversion for position encoders.
getRawPosition() - Method in class swervelib.motors.TalonFXSwerve
Get the raw position.
getRawPosition() - Method in class swervelib.motors.TalonSRXSwerve
Get the raw position.
getRelativePosition() - Method in class swervelib.SwerveModule
Get the relative angle in degrees.
getRobotVelocity() - Method in class swervelib.SwerveDrive
Gets the current robot-relative velocity (x, y and omega) of the robot
getRoll() - Method in class swervelib.simulation.SwerveIMUSimulation
Roll is not simulated currently, always returns 0.
getRoll() - Method in class swervelib.SwerveDrive
Gets the current roll angle of the robot, as reported by the imu.
getState() - Method in class swervelib.simulation.SwerveModuleSimulation
Get the SwerveModuleState2 of the simulated module.
getState() - Method in class swervelib.SwerveModule
Get the Swerve Module state.
getStates() - Method in class swervelib.SwerveDrive
Gets the current module states (azimuth and velocity)
getSwerveModulePoses(Pose2d) - Method in class swervelib.SwerveDrive
Get the swerve module poses and on the field relative to the robot.
getTargetSpeeds(double, double, double, double) - Method in class swervelib.SwerveController
Get the chassis speeds based on controller input of 1 joystick and a angle.
getTargetSpeeds(double, double, double, double, double) - Method in class swervelib.SwerveController
Get the chassis speeds based on controller input of 2 joysticks.
getTranslation2d(ChassisSpeeds) - Static method in class swervelib.SwerveController
Helper function to get the Translation2d of the chassis speeds given the ChassisSpeeds.
getVelocity() - Method in class swervelib.motors.SparkMaxSwerve
Get the velocity of the integrated encoder.
getVelocity() - Method in class swervelib.motors.SwerveMotor
Get the velocity of the integrated encoder.
getVelocity() - Method in class swervelib.motors.TalonFXSwerve
Get the velocity of the integrated encoder.
getVelocity() - Method in class swervelib.motors.TalonSRXSwerve
Get the velocity of the integrated encoder.
getYaw() - Method in class swervelib.simulation.SwerveIMUSimulation
Get the estimated angle of the robot.
getYaw() - Method in class swervelib.SwerveDrive
Gets the current yaw angle of the robot, as reported by the imu.
getYawPitchRoll(double[]) - Method in class swervelib.imu.ADIS16448Swerve
Fetch the yaw/pitch/roll from the IMU.
getYawPitchRoll(double[]) - Method in class swervelib.imu.ADIS16470Swerve
Fetch the yaw/pitch/roll from the IMU.
getYawPitchRoll(double[]) - Method in class swervelib.imu.ADXRS450Swerve
Fetch the yaw/pitch/roll from the IMU.
getYawPitchRoll(double[]) - Method in class swervelib.imu.AnalogGyroSwerve
Fetch the yaw/pitch/roll from the IMU.
getYawPitchRoll(double[]) - Method in class swervelib.imu.NavXSwerve
Fetch the yaw/pitch/roll from the IMU.
getYawPitchRoll(double[]) - Method in class swervelib.imu.Pigeon2Swerve
Fetch the yaw/pitch/roll from the IMU, inverts them all if SwerveIMU is inverted.
getYawPitchRoll(double[]) - Method in class swervelib.imu.PigeonSwerve
Fetch the yaw/pitch/roll from the IMU, inverts them all if SwerveIMU is inverted.
getYawPitchRoll(double[]) - Method in class swervelib.imu.SwerveIMU
Fetch the yaw/pitch/roll from the IMU.
gyro - Variable in class swervelib.imu.AnalogGyroSwerve
Gyroscope object.
gyro - Variable in class swervelib.imu.NavXSwerve
NavX IMU.
A B C D E F G H I K L M N O P R S T U V W X Y Z _ 
All Classes and Interfaces|All Packages|Constant Field Values