init the branch for eric to find this branch
authorEvanYap <evanyap.14@gmail.com>
Fri, 3 Feb 2017 03:00:25 +0000 (19:00 -0800)
committerEvanYap <evanyap.14@gmail.com>
Fri, 3 Feb 2017 03:00:25 +0000 (19:00 -0800)
src/org/usfirst/frc/team3501/robot/RobotMap.java [new file with mode: 0644]
src/org/usfirst/frc/team3501/robot/subsystems/ExampleSubsystem.java [new file with mode: 0644]

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;
+}
diff --git a/src/org/usfirst/frc/team3501/robot/subsystems/ExampleSubsystem.java b/src/org/usfirst/frc/team3501/robot/subsystems/ExampleSubsystem.java
new file mode 100644 (file)
index 0000000..80516bb
--- /dev/null
@@ -0,0 +1,16 @@
+package org.usfirst.frc.team3501.robot.subsystems;
+
+import edu.wpi.first.wpilibj.command.Subsystem;
+
+/**
+ *
+ */
+public class ExampleSubsystem extends Subsystem {
+       // Put methods for controlling this subsystem
+       // here. Call these from Commands.
+
+       public void initDefaultCommand() {
+               // Set the default command for a subsystem here.
+               // setDefaultCommand(new MySpecialCommand());
+       }
+}