big refactor of command/commandbase/commandgroup. also add auton read from file.
[3501/3501-spark-go] / src / org / usfirst / frc / team3501 / robot / RobotMap.java
1 package org.usfirst.frc.team3501.robot;
2
3 import edu.wpi.first.wpilibj.DoubleSolenoid.Value;
4
5 public class RobotMap {
6
7 // driver station
8 public static final int LEFT_JOYSTICK_PORT = 0, RIGHT_JOYSTICK_PORT = 1;
9
10 public static final double MIN_DRIVE_JOYSTICK_INPUT = 0.1,
11 MIN_ARM_JOYSTICK_INPUT = 0.1;
12
13 // drivetrain
14 public static final int FRONT_LEFT_ADDRESS = 4, FRONT_RIGHT_ADDRESS = 5,
15 REAR_LEFT_ADDRESS = 3, REAR_RIGHT_ADDRESS = 6;
16
17 public static final double MAX_DRIVE_SPEED = 0.7;
18
19 // arm
20 public static final int LEFT_WINCH_ADDRESS = 2, RIGHT_WINCH_ADDRESS = 7;
21
22 public static final double ARM_ADJUST_SPEED = 0.3;
23
24 // claw
25 public static final int CLAW_FORWARD_CHANNEL = 0, CLAW_REVERSE_CHANNEL = 1;
26
27 public static final Value OPEN = Value.kForward, CLOSED = Value.kReverse;
28 }