diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-01-13 15:33:41 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-01-13 15:33:41 -0500 |
commit | 5e28068699f8d458f6f104a93b51d174cd065f6e (patch) | |
tree | ff427507632c1d6fbb058ad7f57a44e56631b4b7 /src/org/usfirst/frc/team4272/robot2015/RobotMap.java |
Initial commit of Command Based Robotorig
Diffstat (limited to 'src/org/usfirst/frc/team4272/robot2015/RobotMap.java')
-rw-r--r-- | src/org/usfirst/frc/team4272/robot2015/RobotMap.java | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/org/usfirst/frc/team4272/robot2015/RobotMap.java b/src/org/usfirst/frc/team4272/robot2015/RobotMap.java new file mode 100644 index 0000000..2238625 --- /dev/null +++ b/src/org/usfirst/frc/team4272/robot2015/RobotMap.java @@ -0,0 +1,18 @@ +package org.usfirst.frc.team4272.robot2015; +/** + * 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; +} |