RobotCore 1.0
WPILib port to raspberry Pi
Loading...
Searching...
No Matches
robotCore.Swerve Class Reference

Swerve class. More...

Static Public Attributes

static int FLI2CAddr = 5
static int FLDrivePWM = Device.M1_1_PWM
static int FLDriveDir = Device.M1_1_DIR
static int FLSteeringPWM = Device.M1_2_PWM
static int FLSteeringDir = Device.M1_2_DIR
static int FLDriveEncInt = Device.Q1_INT
static int FLDriveEncDir = Device.Q1_DIR
static int FLSteeringEncA = Device.A1_A
static int FLSteeringEncB = Device.A1_B
static int BLI2CAddr = 5
static int BLDrivePWM = Device.M2_1_PWM
static int BLDriveDir = Device.M2_1_DIR
static int BLSteeringPWM = Device.M2_2_PWM
static int BLSteeringDir = Device.M2_2_DIR
static int BLDriveEncInt = Device.Q2_INT
static int BLDriveEncDir = Device.Q2_DIR
static int BLSteeringEncA = Device.A2_A
static int BLSteeringEncB = Device.A2_B
static int BRI2CAddr = 6
static int BRDrivePWM = Device.M1_1_PWM
static int BRDriveDir = Device.M1_1_DIR
static int BRSteeringPWM = Device.M1_2_PWM
static int BRSteeringDir = Device.M1_2_DIR
static int BRDriveEncInt = Device.Q1_INT
static int BRDriveEncDir = Device.Q1_DIR
static int BRSteeringEncA = Device.A1_A
static int BRSteeringEncB = Device.A1_B
static int FRI2CAddr = 6
static int FRDrivePWM = Device.M2_1_PWM
static int FRDriveDir = Device.M2_1_DIR
static int FRSteeringPWM = Device.M2_2_PWM
static int FRSteeringDir = Device.M2_2_DIR
static int FRDriveEncInt = Device.Q2_INT
static int FRDriveEncDir = Device.Q2_DIR
static int FRSteeringEncA = Device.A2_A
static int FRSteeringEncB = Device.A2_B
static final int ShooterI2CAddr = 5
static int ShooterPWM = Device.M3_2_PWM
static int ShooterDIR = Device.M3_2_DIR
static int ShooterEncInt = Device.Q3_INT
static int ShooterEncDir = Device.Q3_DIR
static final int FeederI2CAddr = 5
static int FeederPWM = Device.M3_1_PWM
static int FeederDir = Device.M3_1_DIR
static int FeederEncInt = Device.Q4_INT
static int FeederEncDir = Device.Q4_DIR
static int FeederBallCounter = Device.IO_1

Detailed Description

Swerve class.

Author
John Gaby
   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

Definition at line 73 of file Swerve.java.

Member Data Documentation

◆ BLDriveDir

int robotCore.Swerve.BLDriveDir = Device.M2_1_DIR
static

Definition at line 86 of file Swerve.java.

◆ BLDriveEncDir

int robotCore.Swerve.BLDriveEncDir = Device.Q2_DIR
static

Definition at line 90 of file Swerve.java.

◆ BLDriveEncInt

int robotCore.Swerve.BLDriveEncInt = Device.Q2_INT
static

Definition at line 89 of file Swerve.java.

◆ BLDrivePWM

int robotCore.Swerve.BLDrivePWM = Device.M2_1_PWM
static

Definition at line 85 of file Swerve.java.

◆ BLI2CAddr

int robotCore.Swerve.BLI2CAddr = 5
static

Definition at line 84 of file Swerve.java.

◆ BLSteeringDir

int robotCore.Swerve.BLSteeringDir = Device.M2_2_DIR
static

Definition at line 88 of file Swerve.java.

◆ BLSteeringEncA

int robotCore.Swerve.BLSteeringEncA = Device.A2_A
static

Definition at line 91 of file Swerve.java.

◆ BLSteeringEncB

int robotCore.Swerve.BLSteeringEncB = Device.A2_B
static

Definition at line 92 of file Swerve.java.

◆ BLSteeringPWM

int robotCore.Swerve.BLSteeringPWM = Device.M2_2_PWM
static

Definition at line 87 of file Swerve.java.

◆ BRDriveDir

int robotCore.Swerve.BRDriveDir = Device.M1_1_DIR
static

Definition at line 96 of file Swerve.java.

◆ BRDriveEncDir

int robotCore.Swerve.BRDriveEncDir = Device.Q1_DIR
static

Definition at line 100 of file Swerve.java.

◆ BRDriveEncInt

int robotCore.Swerve.BRDriveEncInt = Device.Q1_INT
static

Definition at line 99 of file Swerve.java.

◆ BRDrivePWM

int robotCore.Swerve.BRDrivePWM = Device.M1_1_PWM
static

Definition at line 95 of file Swerve.java.

◆ BRI2CAddr

int robotCore.Swerve.BRI2CAddr = 6
static

Definition at line 94 of file Swerve.java.

◆ BRSteeringDir

int robotCore.Swerve.BRSteeringDir = Device.M1_2_DIR
static

Definition at line 98 of file Swerve.java.

◆ BRSteeringEncA

int robotCore.Swerve.BRSteeringEncA = Device.A1_A
static

Definition at line 101 of file Swerve.java.

◆ BRSteeringEncB

int robotCore.Swerve.BRSteeringEncB = Device.A1_B
static

Definition at line 102 of file Swerve.java.

◆ BRSteeringPWM

int robotCore.Swerve.BRSteeringPWM = Device.M1_2_PWM
static

Definition at line 97 of file Swerve.java.

◆ FeederBallCounter

int robotCore.Swerve.FeederBallCounter = Device.IO_1
static

Definition at line 125 of file Swerve.java.

◆ FeederDir

int robotCore.Swerve.FeederDir = Device.M3_1_DIR
static

Definition at line 122 of file Swerve.java.

◆ FeederEncDir

int robotCore.Swerve.FeederEncDir = Device.Q4_DIR
static

Definition at line 124 of file Swerve.java.

◆ FeederEncInt

int robotCore.Swerve.FeederEncInt = Device.Q4_INT
static

Definition at line 123 of file Swerve.java.

◆ FeederI2CAddr

final int robotCore.Swerve.FeederI2CAddr = 5
static

Definition at line 120 of file Swerve.java.

◆ FeederPWM

int robotCore.Swerve.FeederPWM = Device.M3_1_PWM
static

Definition at line 121 of file Swerve.java.

◆ FLDriveDir

int robotCore.Swerve.FLDriveDir = Device.M1_1_DIR
static

Definition at line 76 of file Swerve.java.

◆ FLDriveEncDir

int robotCore.Swerve.FLDriveEncDir = Device.Q1_DIR
static

Definition at line 80 of file Swerve.java.

◆ FLDriveEncInt

int robotCore.Swerve.FLDriveEncInt = Device.Q1_INT
static

Definition at line 79 of file Swerve.java.

◆ FLDrivePWM

int robotCore.Swerve.FLDrivePWM = Device.M1_1_PWM
static

Definition at line 75 of file Swerve.java.

◆ FLI2CAddr

int robotCore.Swerve.FLI2CAddr = 5
static

Definition at line 74 of file Swerve.java.

◆ FLSteeringDir

int robotCore.Swerve.FLSteeringDir = Device.M1_2_DIR
static

Definition at line 78 of file Swerve.java.

◆ FLSteeringEncA

int robotCore.Swerve.FLSteeringEncA = Device.A1_A
static

Definition at line 81 of file Swerve.java.

◆ FLSteeringEncB

int robotCore.Swerve.FLSteeringEncB = Device.A1_B
static

Definition at line 82 of file Swerve.java.

◆ FLSteeringPWM

int robotCore.Swerve.FLSteeringPWM = Device.M1_2_PWM
static

Definition at line 77 of file Swerve.java.

◆ FRDriveDir

int robotCore.Swerve.FRDriveDir = Device.M2_1_DIR
static

Definition at line 106 of file Swerve.java.

◆ FRDriveEncDir

int robotCore.Swerve.FRDriveEncDir = Device.Q2_DIR
static

Definition at line 110 of file Swerve.java.

◆ FRDriveEncInt

int robotCore.Swerve.FRDriveEncInt = Device.Q2_INT
static

Definition at line 109 of file Swerve.java.

◆ FRDrivePWM

int robotCore.Swerve.FRDrivePWM = Device.M2_1_PWM
static

Definition at line 105 of file Swerve.java.

◆ FRI2CAddr

int robotCore.Swerve.FRI2CAddr = 6
static

Definition at line 104 of file Swerve.java.

◆ FRSteeringDir

int robotCore.Swerve.FRSteeringDir = Device.M2_2_DIR
static

Definition at line 108 of file Swerve.java.

◆ FRSteeringEncA

int robotCore.Swerve.FRSteeringEncA = Device.A2_A
static

Definition at line 111 of file Swerve.java.

◆ FRSteeringEncB

int robotCore.Swerve.FRSteeringEncB = Device.A2_B
static

Definition at line 112 of file Swerve.java.

◆ FRSteeringPWM

int robotCore.Swerve.FRSteeringPWM = Device.M2_2_PWM
static

Definition at line 107 of file Swerve.java.

◆ ShooterDIR

int robotCore.Swerve.ShooterDIR = Device.M3_2_DIR
static

Definition at line 116 of file Swerve.java.

◆ ShooterEncDir

int robotCore.Swerve.ShooterEncDir = Device.Q3_DIR
static

Definition at line 118 of file Swerve.java.

◆ ShooterEncInt

int robotCore.Swerve.ShooterEncInt = Device.Q3_INT
static

Definition at line 117 of file Swerve.java.

◆ ShooterI2CAddr

final int robotCore.Swerve.ShooterI2CAddr = 5
static

Definition at line 114 of file Swerve.java.

◆ ShooterPWM

int robotCore.Swerve.ShooterPWM = Device.M3_2_PWM
static

Definition at line 115 of file Swerve.java.


The documentation for this class was generated from the following file: