View Single Post
  #3   Spotlight this post!  
Unread 07-02-2009, 09:26
jjauss jjauss is offline
Registered User
FRC #1182
 
Join Date: Jan 2007
Location: Parkway South
Posts: 2
jjauss is an unknown quantity at this point
Re: Coordinating Robot Main VI with Autonomous VI

Okay, so in this version of the code we run the autonomous and the camera tracks colors and also sends signals to the motors which respond appropriately. Then in teleoperated, it continues to run the autonomous we just tried. The teleoperated basically doesn't even activate - we get no control of the joystick or our pressure switch.

We also tried putting the upper while loop from autonomous to robot main, but the results were the same. We think the global references to the motors are not working properly because they are not working in BOTH autonomous and teleoperated. We have done tests where it worked in only teleoperated and only autonomous, but never both sequentially.

Also, adding a wait time did not affect our code.

Thanks again for your help
Team 1182
Attached Files
File Type: zip Team 1182.zip (551.5 KB, 47 views)

Last edited by jjauss : 07-02-2009 at 09:28.