|
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
Last edited by jjauss : 07-02-2009 at 09:28.
|