Robot Core Documentation
|
Swerve class.
This class defines the pin numbers for the devices used by the SwerveBot if it was built using our design. FLI2CAddr - Specifies the I2C address for the Front Left motors FLDrivePWM - Specifies the PWM pin for the Front Left Drive motor FLDriveDir - Specifies the DIR pin for the Front Left Drive motor FLSteeringPWM - Specifies the PWM pin for the Front Left Steering motor FLSteeringDir - Specifies the DIR pin for the Front Left Sterring motor FLDriveEncInt - Specifies the INT pin for the Front Left Drive encoder FLDriveEncDir - Specifies the DIR pin for the Front Left Drive encoder FLSteeringEncA - Specifies the A pin for the Front Left Steering encoder FLSteeringEncB - Specifies the B pin for the Front Left Steering encoder BLI2CAddr - Specifies the I2C address for the Back Left motors BLDrivePWM - Specifies the PWM pin for the Back Left Drive motor BLDriveDir - Specifies the DIR pin for the Back Left Drive motor BLSteeringPWM - Specifies the PWM pin for the Back Left Steering motor BLSteeringDir - Specifies the DIR pin for the Back Left Steering motor BLDriveEncInt - Specifies the INT pin for the Back Left Drive encoder BLDriveEncDir - Specifies the DIR pin for the Back Left Drive encoder BLSteeringEncA - Specifies the A pin for the Back Left Steering encoder BLSteeringEncB - Specifies the B pin for the Back Left Steering encoder BRI2CAddr - Specifies the I2C address for the Back Right motors BRDrivePWM - Specifies the PWM pin for the Back Right Drive motor BRDriveDir - Specifies the DIR pin for the Back Right Drive motor BRSteeringPWM - Specifies the PWM pin for the Back Right Steering motor BRSteeringDir - Specifies the DIR pin for the Back Right Steering motor BRDriveEncInt - Specifies the INT pin for the Back Right Drive encoder BRDriveEncDir - Specifies the DIR pin for the Back Right Drive Encoder BRSteeringEncA - Specifies the A pin for the Back Right Steering Encoder BRSteeringEncB - Specifies the B pin for the Back Right Steering Encoder FRI2CAddr - Specifies the I2C address for the Front Right motors FRDrivePWM - Specifies the PWM pin for the Front Right Drive motor FRDriveDir - Specifies the DIR pin for the Front Right Drive motor FRSteeringPWM - Specifies the PWM pin for the Front Right Steering motor FRSteeringDir - Specifies the DIR pin for the Front Right Steering motor FRDriveEncInt - Specifies the INT pin for the Front Right Drive encoder FRDriveEncDir - Specifies the DIR pin for the Front Right Drive encoder FRSteeringEncA - Specifies the A pin for the Front Right Steering encoder FRSteeringEncB - Specifies the B pin for the Front Right Steering encoder ShooterI2CAddr - Specifies the I2C address for the Shooter motor ShooterPWM - Specifies the PWM pin for the Shooter motor ShooterDIR - Specifies the DIR pin for the Shooter motor ShooterEncInt - Specifies the INT pin for the Shooter encoder ShooterEncDir - Specifies the DIR pin for the Shooter encoder FeederI2CAddr - Specifies the I2C address for the Feeder motor FeederPWM - Specifies the PWM pin for the Feeder motor FeederDir - Specifies the DIR pin for the Feeder motor FeederEncInt - Specifies the INT pin for the Feeder encoder FeederEncDir - Specifies the DIR pin for the Feeder encoder FeederBallCounter - Specifies the INT pin for the Ball Counter