LSRobotics / 2016Robot

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

Autonomous implementation (For 3/23/16 (and 3/24/16)) #57

Closed Connor-Devitt closed 8 years ago

Connor-Devitt commented 8 years ago

Autonomous interface should define three methods: init, setAutonState, and doAuton. Init will replace Actionplayback and will initialized all autonomous related things (ie put the recording in a buffer) setAutonState is called by robot.autonomous() and will stop auton if robot leaves autonomous mode doAuton will either start the autonThread or start the main method of autonomous.

Connor-Devitt commented 8 years ago

init will initialized every that the constructor cannot

thefangbear commented 8 years ago

Implemented.