LSRobotics / 2016Robot

2016 FRC Robot Code
GNU General Public License v3.0
3 stars 10 forks source link

Autonomous does not return until all commands are run #14

Closed msbense closed 8 years ago

msbense commented 8 years ago

When Autonomous is initialized it calls actionplayback, which downloads the commands from the driverstation, modifies the state of the controller, and calls teleopMaster, all without returning.

msbense commented 8 years ago

Issue was fixed a on Thurs 1/28/16. The robot now inherits SampleRobot (rather than IterativeRobot), meaning the 2 main methods (now operatorControl() and autonomous()) are called once. The recorder, when playing back actions, can now iterate through all commands in a single loop and adjust the controller state accordingly without having to return.