Commit | Line | Data |
---|---|---|
b449387d LH |
1 | package org.usfirst.frc.team3501.robot; |
2 | ||
56625a79 | 3 | import edu.wpi.first.wpilibj.CANJaguar; |
b449387d | 4 | import edu.wpi.first.wpilibj.DoubleSolenoid.Value; |
56625a79 | 5 | import edu.wpi.first.wpilibj.SpeedController; |
b449387d LH |
6 | |
7 | public class RobotMap { | |
3cd438bd | 8 | |
f24c549d | 9 | // driver station |
b449387d LH |
10 | public static final int LEFT_JOYSTICK_PORT = 0, RIGHT_JOYSTICK_PORT = 1; |
11 | ||
3e4790a8 LH |
12 | public static final double MIN_DRIVE_JOYSTICK_INPUT = 0.1, |
13 | MIN_ARM_JOYSTICK_INPUT = 0.1; | |
b449387d | 14 | |
f24c549d | 15 | // drivetrain |
56625a79 | 16 | public static final SpeedController |
17 | frontLeft = new CANJaguar(4), frontRight = new CANJaguar(5), | |
18 | rearLeft = new CANJaguar(3), rearRight = new CANJaguar(6); | |
b449387d LH |
19 | |
20 | public static final double MAX_DRIVE_SPEED = 0.7; | |
21 | ||
f24c549d | 22 | // arm |
3e4790a8 LH |
23 | public static final int LEFT_WINCH_ADDRESS = 2, RIGHT_WINCH_ADDRESS = 7; |
24 | ||
d24e8611 LH |
25 | public static final double ARM_ADJUST_SPEED = 0.3; |
26 | ||
3cd438bd LH |
27 | // claw |
28 | public static final int CLAW_FORWARD_CHANNEL = 0, CLAW_REVERSE_CHANNEL = 1; | |
29 | ||
30 | public static final Value OPEN = Value.kForward, CLOSED = Value.kReverse; | |
b449387d | 31 | } |