finish implement driveDistance and TurnForAngle using PID algorithm
[3501/2017steamworks] / src / org / usfirst / frc / team3501 / robot / Constants.java
CommitLineData
38a404b3
KZ
1package org.usfirst.frc.team3501.robot;
2
3/**
4 * The Constants stores constant values for all subsystems. This includes the
5 * port values for motors and sensors, as well as important operational
6 * constants for subsystems such as max and min values.
7 */
8
9public class Constants {
d17d868d 10 public static class OI {
6b4ab3d7
CZ
11 public final static int LEFT_STICK_PORT = 0;
12 public final static int RIGHT_STICK_PORT = 1;
14ff5362 13 public final static int TOGGLE_WINCH_PORT = 0;
2291f7b3 14 public final static int TOGGLE_FLYWHEEL_PORT = 0;
15 public final static int TOGGLE_INDEXWHEEL_PORT = 0;
d17d868d 16 }
38a404b3 17
f91f2b55 18 public static class Shooter {
19 // MOTOR CONTROLLERS
20 public static final int FLY_WHEEL = 0;
21 public static final int INDEX_WHEEL = 0;
adfc0171 22 public final static int TOGGLE_WINCH_PORT = 0;
d0a3a99e 23
7099e02a 24 public final static int TOGGLE_FLYWHEEL_PORT = 0;
25 public final static int TOGGLE_INDEXWHEEL_PORT = 0;
e74e5e9d
SG
26 }
27
d17d868d 28 public static class DriveTrain {
29 // MOTOR CONTROLLERS
68301d98
CZ
30 public static final int FRONT_LEFT = 1;
31 public static final int FRONT_RIGHT = 3;
32 public static final int REAR_LEFT = 2;
b06733de 33 public static final int REAR_RIGHT = 4;
38a404b3 34
d17d868d 35 // ENCODERS
93b4c266
CZ
36 public static final int ENCODER_LEFT_A = 1;
37 public static final int ENCODER_LEFT_B = 0;
b06733de
CZ
38 public static final int ENCODER_RIGHT_A = 2;
39 public static final int ENCODER_RIGHT_B = 3;
d17d868d 40 }
fa4e4a97 41
f761d7ba
SG
42 public static class Climber {
43 // MOTOR CONTROLLERS
44 public static final int MOTOR_VAL = 1;
10d788c3 45 }
f761d7ba 46
10d788c3
AD
47 public static class Intake {
48 public static final int INTAKE_ROLLER_PORT = 0;
f761d7ba
SG
49 }
50
d17d868d 51 public static enum Direction {
52 LEFT, RIGHT, DOWN, UP, FORWARD, BACKWARD;
53 }
38a404b3 54}