Add OI and RobotMap files to Command Project template (fixes artf2407)

Change-Id: Ia3fb2a03b6435ae74bd70ad856a41a2c15f22f5a
This commit is contained in:
Kevin O'Connor
2014-08-20 14:35:04 -04:00
parent 3baaea5a44
commit bf5eaf657e
4 changed files with 60 additions and 0 deletions

View File

@@ -18,6 +18,7 @@ import $package.subsystems.ExampleSubsystem;
public class Robot extends IterativeRobot {
public static final ExampleSubsystem exampleSubsystem = new ExampleSubsystem();
public static OI oi;
Command autonomousCommand;
@@ -26,6 +27,7 @@ public class Robot extends IterativeRobot {
* used for any initialization code.
*/
public void robotInit() {
oi = new OI();
// instantiate the command used for the autonomous period
autonomousCommand = new ExampleCommand();
}