You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
GyroBalancer: separate drive control loop and tuning from balance loop #429
@laurensvalk has suggested here that it would be nice to separate the drive control loop from the balance loop in the GyroBalancer class. I agree.
The balance loop is the most complicated part of the code and requires knowledge of control theory to fully understand. We could leave the balance loop inside the GyroBalancer class and separate out the drive control loop into an example user script. The GyroBalancer class could then be used for many different programs rather than for a single remote control application. For example, someone may want to program BALANC3R to find its way through a maze or follow a line. Being able to utilise the balancing loop code without the drive control loop / remote control code would be very useful.
A related issue is the requirement to be able to easily tune the balancing loop parameters from a user script.
If it is agreed that these changes would be worthwhile, I'd like to work on them.
Activity
dwalton76 commentedon Nov 14, 2017
Sounds good to me, go for it @gregcowell
dwalton76 commentedon Jan 11, 2018
Thank you @gregcowell for working on this!
gregcowell commentedon Jan 12, 2018
You're welcome! I really like working on this project.