2023 Charge Up  0.1.0
Code for the Titanium Titans (FRC Team #4467)'s 2023 robot
frc.robot.subsystems.swerve.SwerveDrivetrain Class Reference
Inheritance diagram for frc.robot.subsystems.swerve.SwerveDrivetrain:

Classes

enum  AlignmentOptions
 
class  SwerveIOInputs
 

Public Member Functions

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: