|
Weirdest problem in autonomous mode.
Hey, I wanna share a problem I had a few days ago, at the Israeli reigonals. When we tested the robot's autonomous code, before sending it, it worked fine, although I tested it only when debugging. When we got to the competition I discovered a very weird problem. It took me a long to figure what's wrong, but basically this is it: When the code comes across the first "Arcade Drive" vi, but only on first run, on autonomous period, and if the code is not debugging: it stop the code (and the robot) untill the timer on the DS reaches 20 seconds. when it reaches 20 seconds, the code goes on as if nothing happend. Unfortunatly, I understood this only near the end of the competition, so we didn't a working autonomous code most of the competition. To fix this, I unbundled the drive object to a four motors array and used the "Set Motor Value" vi for each of them every time I wanted to run the motors (it was only forward and backwards).
Does anyone have any ideas why something like this could happen?
|