RIT-VEX-U / Core

Standard library for the RIT VexU Robotics Team
https://rit-vex-u.github.io/Core/
MIT License
3 stars 4 forks source link

Branch does not behave correctly inside repeat until #77

Closed cowsed closed 8 months ago

cowsed commented 8 months ago

The internal state of the Branch autocommand does not reset itself when it finishes. this is fine normally but when placed inside a repeat until it will timeout its internal commands immediately and not retest the condition

cowsed commented 8 months ago

fix: on timeout of Branch and inside Branch::run when it ends normally, reset chosen. clear the timer the first time it is run