-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRobotMap.java
More file actions
34 lines (28 loc) · 1.07 KB
/
Copy pathRobotMap.java
File metadata and controls
34 lines (28 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
package frc.robot;
import edu.wpi.first.wpilibj.IterativeRobot;
public class RobotMap extends IterativeRobot {
//drive train
public static int talonFrontRightChannel = 4;
public static int talonRearRightChannel = 3;
public static int talonFrontLeftChannel = 2;
public static int talonRearLeftChannel = 1;
//Controller
public static int xBoxControllerChannel = 0;
public static int xBoxButtonAChannel = 1;
public static int xBoxButtonBChannel = 2;
public static int xBoxButtonXChannel = 3;
public static int xBoxButtonYChannel = 4;
public static int xBoxButtonLeftChannel = 5;
public static int xBoxButtonRightChannel = 6;
public static int xBoxLeftStickXChannel = 0;
public static int xBoxLeftStickYChannel = 1;
public static int xBoxLeftTriggerChannel = 2;
public static int xBoxRightTriggerChannel = 3;
public static int xBoxRightStickXChannel = 4;
//Encoder
public static int encoderAChannel = 0;
public static int encoderBChannel = 1;
//Solenoid
public static int doubleSolenoidForwardChannel = 0;
public static int doubleSolenoidReverseChannel = 1;
}