Made final int for toggling camera feeds equal to 7(button 7)
[3501/2017steamworks] / src / org / usfirst / frc / team3501 / robot / Constants.java
1 package 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
9 public class Constants {
10 public static class OI {
11 public final static int LEFT_STICK_PORT = 0;
12 public final static int RIGHT_STICK_PORT = 1;
13 public final static int TOGGLE_WINCH_PORT = 0;
14 public final static int TOGGLE_FLYWHEEL_PORT = 0;
15 public final static int TOGGLE_INDEXWHEEL_PORT = 0;
16 public static final int TOGGLE_CAMERA_FEEDS = 7;
17 }
18
19 public static class Shooter {
20 // MOTOR CONTROLLERS
21 public static final int FLY_WHEEL = 0;
22 public static final int INDEX_WHEEL = 0;
23 public final static int TOGGLE_WINCH_PORT = 0;
24
25 public final static int TOGGLE_FLYWHEEL_PORT = 0;
26 public final static int TOGGLE_INDEXWHEEL_PORT = 0;
27 }
28
29 public static class DriveTrain {
30 // MOTOR CONTROLLERS
31 public static final int FRONT_LEFT = 1;
32 public static final int FRONT_RIGHT = 3;
33 public static final int REAR_LEFT = 2;
34 public static final int REAR_RIGHT = 4;
35
36 // ENCODERS
37 public static final int ENCODER_LEFT_A = 1;
38 public static final int ENCODER_LEFT_B = 0;
39 public static final int ENCODER_RIGHT_A = 2;
40 public static final int ENCODER_RIGHT_B = 3;
41 }
42
43 public static class Climber {
44 // MOTOR CONTROLLERS
45 public static final int MOTOR_VAL = 1;
46 }
47
48 public static class Intake {
49 public static final int INTAKE_ROLLER_PORT = 0;
50 }
51
52 public static enum Direction {
53 LEFT, RIGHT, DOWN, UP, FORWARD, BACKWARD;
54 }
55
56 public class CameraFeeds {
57 public static final int btCamCenter = 1;
58 public static final int btCamRight = 2;
59
60 public static final String camNameCenter = "cam0";
61 public static final String camNameRight = "cam1";
62 public static final int imgQuality = 60;
63 }
64 }