Quote:
Originally Posted by Skammerman0
Our drivers are worried about the robot getting stuck in a while loop during autonomous, rendering the robot completely unusable for the rest of the match.
Do loops automatically break when the robot is automatically switched to tele-op or is this a legitimate concern? Thanks!
|
Your drivers have a legitimate concern. Never use while loops in autonomous, there are better approaches (search the forums, this comes up a lot).