|
|
void | periodic () |
| |
|
SwerveModulePosition[] | getModulePositions () |
| |
|
SwerveModuleState[] | getModuleStates () |
| |
|
Rotation2d | getGyroYaw () |
| |
|
void | drive (double xTranslation, double yTranslation, double zRotation) |
| |
|
void | setModuleStates (SwerveModuleState[] states) |
| |
|
void | resetGyro (double heading) |
| |
|
void | resetGyro () |
| |
|
Rotation2d | getGyroPitch () |
| |
|
Rotation2d | getGyroRoll () |
| |
|
double | getGyroPitchRate () |
| |
|
void | setAbsoluteAngles () |
| |
|
void | updateInputs () |
| |
|
void | updatePoseEstimator () |
| |
|
void | resetPose (Pose2d newPose) |
| |
|
Pose2d | getPose () |
| |
|
double[] | getAngles () |
| |
|
Rotation2d[] | getCancoderAngles () |
| |
|
Command | alignToTag (AlignmentOptions align) |
| |
|
Command | alignToAngle (double angle) |
| |
|
void | followTag (Translation2d offset) |
| |
|
ChassisSpeeds | getChassisSpeed () |
| |
|
double | getDetectionRange () |
| |
|
SwerveAutoBuilder | getAutoBuilder (Map< String, Command > eventMap) |
| |
|
Command | resetGyroBase () |
| |
|
void | setFieldRelative (boolean relative) |
| |
|
CommandBase | resetPoseBase () |
| |
|
void | setSlowmode () |
| |
|
boolean | getSlowmode () |
| |
|
CommandBase | setSlowmodeFactory () |
| |
|
CommandBase | createPPSwerveController (AlignmentOptions align) |
| |
|
void | setSpeedMult (double mult) |
| |
|
void | setRotationMult (double mult) |
| |
The documentation for this class was generated from the following file:
- src/main/java/frc/robot/subsystems/swerve/SwerveDrivetrain.java