Technology/Engineering/Robotics
978-448-6362
Groton-Dunstable Regional High School Groton, MA
There’s no good way to end a main task from a subtask in VEXcode Pro. In this first example, I’ve created a subtask to run what would normally be the main task. I run that from the main task. I can kill that task from another sub task.
This one constantly stops the motors, but it allows you to keep your main task commands in the main task (if that makes you feel better.) Matt says this is a disgusting way of doing it, but it works. 🙂