forked from rockyMountainRobotics/rmr2019
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRobotMap.java
More file actions
32 lines (26 loc) · 1013 Bytes
/
RobotMap.java
File metadata and controls
32 lines (26 loc) · 1013 Bytes
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
package frc.robot;
import edu.wpi.first.wpilibj.XboxController;
public class RobotMap
{
////////////THESE ARE THE SAME PORTS AS LAST YEAR, NOT NECESSARIlY CORRECT!///////////
//Drive motor ports
public final static int RIGHT_FRONT_MOTOR = 6;
public final static int LEFT_FRONT_MOTOR = 7;
public final static int RIGHT_BACK_MOTOR = 5;
public final static int LEFT_BACK_MOTOR = 8;
//Arms motors
public final static int TOP_LEFT_MOTOR = 1;
public final static int TOP_RIGHT_MOTOR = 1;
public final static int TOP_CENTER_MOTOR = 1;
public final static int ELEVATOR = 0;
//Solenoids
public final static int BEAK_SOLENOID = 0;
public final static int TRACK_SOLENOID = 1;
//Limit Switches
public final static int LIMIT_TOP = 0;
public final static int LIMIT_BOTTOM = 1;
public final static int LIMIT_BACK = 2;
//Controllers
public static XboxController driveController = new XboxController(0);
public static XboxController manipController = new XboxController(1);
}