diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9afc5c6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +dist/FRCUserProgram.jar diff --git a/dist/FRCUserProgram.jar b/dist/FRCUserProgram.jar deleted file mode 100644 index eb27bda..0000000 Binary files a/dist/FRCUserProgram.jar and /dev/null differ diff --git a/src/org/usfirst/frc/team2059/robot/RobotMap.java b/src/org/usfirst/frc/team2059/robot/RobotMap.java index 2e4a1ec..9ec425e 100644 --- a/src/org/usfirst/frc/team2059/robot/RobotMap.java +++ b/src/org/usfirst/frc/team2059/robot/RobotMap.java @@ -1,18 +1,37 @@ package org.usfirst.frc.team2059.robot; -/** - * The RobotMap is a mapping from the ports sensors and actuators are wired into - * to a variable name. This provides flexibility changing wiring, makes checking - * the wiring easier and significantly reduces the number of magic numbers - * floating around. - */ public class RobotMap { - // For example to map the left and right motors, you could define the - // following variables to use with your drivetrain subsystem. - // public static int leftMotor = 1; - // public static int rightMotor = 2; - - // If you are using multiple modules, make sure to define both the port - // number and the module. For example you with a rangefinder: - // public static int rangefinderPort = 1; - // public static int rangefinderModule = 1; + + //Drive + public static int driveLeftMotorOne = 1; + public static int driveLeftMotorTwo = 2; + public static int driveRightMotorOne = 1; + public static int driveRightMotorTwo = 2; + public static int driveRightEncoder = 0; + public static int driveLeftEncoder = 1; + + //Arm + public static double zeroDegrees = 0.1; + public static double ninetyDegrees = 0.7; + public static int armPot = 0; + public static int armLeftMotor = 5; + public static int armRightMotor = 6; + + //Shooter + public static int shooterLeftMotor = 7; + public static int shooterRightMotor = 8; + + //Pneumatics + public static int pcmID = 31; + public static int shooterSolenoidOne = 0; + public static int shooterSolenoidTwo = 1; + public static int portcullisSolenoidOne = 2; + public static int portcullisSolenoidTwo = 3; + public static int armStopSolenoidOne = 4; + public static int armStopSolenoidTwo = 5; + + //Misc + public static int mainArmPresetCollect = 0; + public static int mainArmPresetTraverse = 5; + public static int mainArmPresetCloseShot = 95; + public static int mainArmPresetFarShot = 85; }