1 package org
.usfirst
.frc
.team3501
.robot
;
3 import edu
.wpi
.first
.wpilibj
.SPI
;
6 * The Constants stores constant values for all subsystems. This includes the
7 * port values for motors and sensors, as well as important operational
8 * constants for subsystems such as max and min values.
11 public class Constants
{
12 public static class OI
{
13 public final static int LEFT_STICK_PORT
= 0;
14 public final static int RIGHT_STICK_PORT
= 1;
15 public final static int TOGGLE_WINCH_PORT
= 0;
16 public final static int TOGGLE_FLYWHEEL_PORT
= 0;
17 public final static int TOGGLE_INDEXWHEEL_PORT
= 0;
20 public static class Shooter
{
22 public static final int FLY_WHEEL
= 0;
23 public static final int INDEX_WHEEL
= 0;
24 public final static int TOGGLE_WINCH_PORT
= 0;
26 public final static int TOGGLE_FLYWHEEL_PORT
= 0;
27 public final static int TOGGLE_INDEXWHEEL_PORT
= 0;
30 public static class DriveTrain
{
32 public static final int FRONT_LEFT
= 1;
33 public static final int FRONT_RIGHT
= 3;
34 public static final int REAR_LEFT
= 2;
35 public static final int REAR_RIGHT
= 4;
38 public static final int ENCODER_LEFT_A
= 1;
39 public static final int ENCODER_LEFT_B
= 0;
40 public static final int ENCODER_RIGHT_A
= 2;
41 public static final int ENCODER_RIGHT_B
= 3;
43 public static final SPI
.Port GYRO_PORT
= SPI
.Port
.kOnboardCS0
;
46 public static class Climber
{
48 public static final int MOTOR_VAL
= 1;
51 public static class Intake
{
52 public static final int INTAKE_ROLLER_PORT
= 0;
55 public static enum Direction
{
56 LEFT
, RIGHT
, DOWN
, UP
, FORWARD
, BACKWARD
;