Skip to content

GyroBalancer: separate drive control loop and tuning from balance loop #429

Closed

Description

@gregcowell

@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

  1. dwalton76 commented on Nov 14, 2017

    @dwalton76
    Collaborator

    Sounds good to me, go for it @gregcowell

  2. dwalton76 commented on Jan 11, 2018

    @dwalton76
    Collaborator

    Thank you @gregcowell for working on this!

  3. gregcowell commented on Jan 12, 2018

    @gregcowell
    MemberAuthor

    Thank you @gregcowell for working on this!

    You're welcome! I really like working on this project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions