Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Publish wheel effort #166

Draft
wants to merge 4 commits into
base: humble
Choose a base branch
from
Draft

WIP: Publish wheel effort #166

wants to merge 4 commits into from

Conversation

hello-binit
Copy link
Contributor

No description provided.

Given a command, the wheels attempt to achieve it using PID
controllers in the firmware. Ideally, the controller closes
the error between the commanded position and the current one.
But actually, this isn't always possible. For example, if the
goal requires the robot to be within an obstacle, the controller
will push against the obstacle, making no progress, and emitting
a whining noise from the wheel motors. Another example, on carpet,
the controller will find it difficult to achieve the goal exactly,
due to the soft flooring. Unable to close the small error, but
trying all the same, the wheel motors emit a noise. Tuning the
PID parameters is no good because what works well on carpet will
overshoot on hardwood, and vice versa.

In this commit, we relax the controller 0.5 sec after the user
stops sending velocity commands, eliminating the wheel noise.
Note that this commit only address wheel noise in velocity mode
and a future change will be needed to address it in position mode.
Base automatically changed from bugfix/priority_mode_stall to humble September 25, 2024 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant