Package org.wildstang.sample.robot
Class CANConstants
- java.lang.Object
-
- org.wildstang.sample.robot.CANConstants
-
public final class CANConstants extends java.lang.Object
CAN Constants are stored here. We primarily use CAN to communicate with Talon motor controllers. These constants must correlate with the IDs set in Phoenix Tuner. Official documentation can be found here: https://phoenix-documentation.readthedocs.io/en/latest/ch08_BringUpCAN.html
-
-
Field Summary
Fields Modifier and Type Field Description static int
ANGLE1
static int
ANGLE2
static int
ANGLE3
static int
ANGLE4
static int
DRIVE1
static int
DRIVE2
static int
DRIVE3
static int
DRIVE4
static int
ENC1
static int
ENC2
static int
ENC3
static int
ENC4
static int
EXAMPLE_MOTOR_CONTROLLER
static int[]
EXAMPLE_PAIRED_CONTROLLERS
static int
GYRO
static int
LEFT_DRIVE
static int
LEFT_DRIVE_FOLLOWER
static int
RIGHT_DRIVE
static int
RIGHT_DRIVE_FOLLOWER
-
Constructor Summary
Constructors Constructor Description CANConstants()
-
-
-
Field Detail
-
EXAMPLE_PAIRED_CONTROLLERS
public static final int[] EXAMPLE_PAIRED_CONTROLLERS
-
EXAMPLE_MOTOR_CONTROLLER
public static final int EXAMPLE_MOTOR_CONTROLLER
- See Also:
- Constant Field Values
-
GYRO
public static final int GYRO
- See Also:
- Constant Field Values
-
LEFT_DRIVE
public static final int LEFT_DRIVE
- See Also:
- Constant Field Values
-
RIGHT_DRIVE
public static final int RIGHT_DRIVE
- See Also:
- Constant Field Values
-
LEFT_DRIVE_FOLLOWER
public static final int LEFT_DRIVE_FOLLOWER
- See Also:
- Constant Field Values
-
RIGHT_DRIVE_FOLLOWER
public static final int RIGHT_DRIVE_FOLLOWER
- See Also:
- Constant Field Values
-
ENC1
public static final int ENC1
- See Also:
- Constant Field Values
-
ENC2
public static final int ENC2
- See Also:
- Constant Field Values
-
ENC3
public static final int ENC3
- See Also:
- Constant Field Values
-
ENC4
public static final int ENC4
- See Also:
- Constant Field Values
-
DRIVE1
public static final int DRIVE1
- See Also:
- Constant Field Values
-
ANGLE1
public static final int ANGLE1
- See Also:
- Constant Field Values
-
DRIVE2
public static final int DRIVE2
- See Also:
- Constant Field Values
-
ANGLE2
public static final int ANGLE2
- See Also:
- Constant Field Values
-
DRIVE3
public static final int DRIVE3
- See Also:
- Constant Field Values
-
ANGLE3
public static final int ANGLE3
- See Also:
- Constant Field Values
-
DRIVE4
public static final int DRIVE4
- See Also:
- Constant Field Values
-
ANGLE4
public static final int ANGLE4
- See Also:
- Constant Field Values
-
-