Set Button Value
[3501/2017steamworks] / src / org / usfirst / frc / team3501 / robot / RobotMap.java
diff --git a/src/org/usfirst/frc/team3501/robot/RobotMap.java b/src/org/usfirst/frc/team3501/robot/RobotMap.java
new file mode 100644 (file)
index 0000000..d62a2f7
--- /dev/null
@@ -0,0 +1,19 @@
+package org.usfirst.frc.team3501.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;
+}