Swerve
Properties
Link copied to clipboard
The chassis speeds, used for autonomous driving
Link copied to clipboard
Link copied to clipboard
The positions of the swerve modules
Link copied to clipboard
The states of the swerve modules
Link copied to clipboard
Rotation of the Pigeon2 IMU
Link copied to clipboard
The rotation of the Pigeon2 IMU, used for PID control
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
Drives the robot using chassis speeds.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Resets the drive positions of all swerve modules.
Link copied to clipboard
Resets the Pigeon2 IMU.
Link copied to clipboard
Sets the PID constants for autonomous driving.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Sets the PID constants for teleoperated driving.
Link copied to clipboard