View Single Post
  #5   Spotlight this post!  
Unread 12-02-2015, 10:30
MamaSpoldi's Avatar
MamaSpoldi MamaSpoldi is offline
Programming Mentor
AKA: Laura Spoldi
FRC #0230 (Gaelhawks)
Team Role: Engineer
 
Join Date: Jan 2009
Rookie Year: 2007
Location: Shelton, CT
Posts: 307
MamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant future
Re: How to Restart Autonomous Code in Driver Station?

Quote:
Originally Posted by Thad House View Post
What language are you using? If using labview, it should be resetting every time. If using Java or C++, you might have to reset your state machines in Auton Init.
Agreed. If you are using C++ or Java what is your robot base class: SampleRobot or IterativeRobot? If it is IterativeRobot you will definitely need to put some code in your AutonomousInit function to reset the state machine. If it is SampleRobot, then you need to reset the state machine at the top of the function (or at the bottom when it is exiting after being disabled).
__________________