sertain / sertain-legacy

:robot: Write more for your robot with less
https://sertain.github.io/javadocs
MIT License
9 stars 3 forks source link

Robot should stop braking after motion stops #61

Open andrewda opened 5 years ago

andrewda commented 5 years ago

Currently the robot stops braking after 5 seconds of disable. We should have it stop braking after the robot stops moving in disabled (which we can see given the encoders' values).

snowsignal commented 5 years ago

@andrewda, I can fix this.

snowsignal commented 5 years ago

Would it make sense for me to spawn a thread that has a while loop running waiting for the encoders to indicate the robot has stopped?