Package-level declarations

Types

Link copied to clipboard
class DriveToAngle(swerveDrive: SwerveDrive, xSupplier: () -> Double, ySupplier: () -> Double, targetAngle: Rotation2d) : Command

Command to drive the robot at a specific heading angle.

Link copied to clipboard
class LockSwerve(swerveDrive: SwerveDrive) : Command

Command that locks the swerve modules in an X formation to prevent pushing.

Link copied to clipboard
class ResetGyro(swerveDrive: SwerveDrive, angle: Rotation2d = Rotation2d()) : Command

Command to reset the gyro heading to zero or a specific angle.

Link copied to clipboard
class TeleopSwerve(swerveDrive: SwerveDrive, xSupplier: () -> Double, ySupplier: () -> Double, rotSupplier: () -> Double, fieldOriented: Boolean = true) : Command

Command for teleop swerve drive control with advanced input processing.

Link copied to clipboard
class TurnToAngle(swerveDrive: SwerveDrive, targetAngle: Rotation2d) : Command

Command to point the robot at a specific angle while remaining stationary.