| 1 | package org.usfirst.frc.team3501.robot; |
| 2 | /** |
| 3 | * The RobotMap is a mapping from the ports sensors and actuators are wired into |
| 4 | * to a variable name. This provides flexibility changing wiring, makes checking |
| 5 | * the wiring easier and significantly reduces the number of magic numbers |
| 6 | * floating around. |
| 7 | */ |
| 8 | public class RobotMap { |
| 9 | // For example to map the left and right motors, you could define the |
| 10 | // following variables to use with your drivetrain subsystem. |
| 11 | // public static int leftMotor = 1; |
| 12 | // public static int rightMotor = 2; |
| 13 | |
| 14 | // If you are using multiple modules, make sure to define both the port |
| 15 | // number and the module. For example you with a rangefinder: |
| 16 | // public static int rangefinderPort = 1; |
| 17 | // public static int rangefinderModule = 1; |
| 18 | } |