ev3dev / ev3dev-lang-python-demo

Python Demo Programs
MIT License
60 stars 28 forks source link

Increase sleep times to improve balancing stability #31

Closed gregcowell closed 6 years ago

gregcowell commented 6 years ago

The BALANC3R robot has better balance with increased sleep times in the drive control loop. This leaves more computing resources for the balancing loop.

The drive control loop thread resides in the user script. The balancing loop thread resides in the library code (GyroBalancer class).