View Single Post
  #13   Spotlight this post!  
Unread 12-03-2011, 23:38
Maxzillian Maxzillian is offline
Registered User
AKA: Eric H.
FRC #0935 (RaileRobotics)
Team Role: Mentor
 
Join Date: Feb 2003
Rookie Year: 2001
Location: Newton, KS
Posts: 24
Maxzillian is on a distinguished road
Send a message via AIM to Maxzillian
Re: Robots not under driver control- does it happen- do you determine why?

Quote:
Originally Posted by willishf View Post
I did find in testing that once you enter in autonomous mode you need to keep track of the time spent and return from the method after 15 seconds. I have a keepGoing() method that I put in all the loops and before the next step that forces a return if 15 seconds has expired.

If not, the joysticks are not sampled and the appropriate drive method called. We are doing Java but assume the program constructs are the same in labview or C++.

Just because the field switches from autonomous mode to telop mode does not impact the code you have running on your robot.
We had talked about the possibility of the robot not going out of autonomous mode, but wouldn't that cause the User1 indicator to turn off? I'll admit that this assumption is not based off direct knowledge, but what I had been told by the mentor who is experienced with LabView and the cRIO.
__________________
Team 935 RaileRobotics Alumni: 2001-2004
Team 935 RaileRobotics Mentor: 2009-Present