Okay so I applied those changes and have updated the code here:
https://github.com/FranklinMarquette/Robot2016
And it returns this error:
Quote:
|
ERROR Unhandled exception: java.lang.IllegalArgumentException: Subsystem must not be null. at [edu.wpi.first.wpilibj.command.Command.requires(Com mand.java:194), org.usfirst.frc.team4623.robot.commands.Extend.<in it>(Extend.java:16), org.usfirst.frc.team4623.robot.OI.<init>(OI.java:5 6), org.usfirst.frc.team4623.robot.Robot.robotInit(Rob ot.java:44), edu.wpi.first.wpilibj.IterativeRobot.startCompetit ion(IterativeRobot.java:72), edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:241)]
|
Thanks for the help