1 package org
.usfirst
.frc
.team3501
.robot
;
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.
9 public class Constants
{
10 public static class OI
{
12 public final static int LEFT_STICK_PORT
= 0;
13 public final static int RIGHT_STICK_PORT
= 1;
14 // Ports on the Joystick
15 public final static int TRIGGER_PORT
= 1;
16 public final static int DECREMENT_SHOOTER_SPEED_PORT
= 2;
17 public final static int INCREMENT_SHOOTER_SPEED_PORT
= 3;
18 public final static int SHOOT_PORT
= 4;
19 public final static int LOG_PORT
= 5;
22 public static class DriveTrain
{
23 // Drivetrain Motor Related Ports
24 public static final int FRONT_LEFT
= 0;
25 public static final int FRONT_RIGHT
= 0;
26 public static final int REAR_LEFT
= 0;
27 public static final int REAR_RIGHT
= 0;
29 // Encoder related ports
30 public final static int ENCODER_LEFT_A
= 3;
31 public final static int ENCODER_LEFT_B
= 4;
32 public final static int ENCODER_RIGHT_A
= 2;
33 public final static int ENCODER_RIGHT_B
= 1;
36 public static class Scaler
{
38 public final static int FORWARD_CHANNEL
= 0;
39 public final static int REVERSE_CHANNEL
= 0;
42 public final static int WINCH_MOTOR
= 0;
45 public static class Shooter
{
46 public static final int PORT
= 0;
48 public static enum State
{
53 public static enum Direction
{
54 LEFT
, RIGHT
, DOWN
, UP
, FORWARD
, BACKWARD
;