| 1 | package org.usfirst.frc.team3501.robot; |
| 2 | |
| 3 | import edu.wpi.first.wpilibj.CANJaguar; |
| 4 | import edu.wpi.first.wpilibj.DoubleSolenoid.Value; |
| 5 | import edu.wpi.first.wpilibj.SpeedController; |
| 6 | |
| 7 | public class RobotMap { |
| 8 | |
| 9 | // driver station |
| 10 | public static final int LEFT_JOYSTICK_PORT = 0, RIGHT_JOYSTICK_PORT = 1; |
| 11 | |
| 12 | public static final double MIN_DRIVE_JOYSTICK_INPUT = 0.1, |
| 13 | MIN_ARM_JOYSTICK_INPUT = 0.1; |
| 14 | |
| 15 | // drivetrain |
| 16 | public static final SpeedController |
| 17 | frontLeft = new CANJaguar(4), frontRight = new CANJaguar(5), |
| 18 | rearLeft = new CANJaguar(3), rearRight = new CANJaguar(6); |
| 19 | |
| 20 | public static final double MAX_DRIVE_SPEED = 0.7; |
| 21 | |
| 22 | // arm |
| 23 | public static final int LEFT_WINCH_ADDRESS = 2, RIGHT_WINCH_ADDRESS = 7; |
| 24 | |
| 25 | public static final double ARM_ADJUST_SPEED = 0.3; |
| 26 | |
| 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; |
| 31 | } |