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

Reduce mid-walk jittering, and ensure first step happens #52

Open
wants to merge 3 commits into
base: rolling
Choose a base branch
from

Conversation

ijnek
Copy link
Owner

@ijnek ijnek commented Jan 7, 2025

I've tested the walk in webots after observing the jittery behavior at 0:25 and 0:36 in the youtube short that @josh posted.

I think there are two issues causing the jitter there.

  1. Rapid phase switching - nothing is filtering the noise coming in from phase switching (reported from the feet pressure sensors). It is possible that rapid switching between phases can happen, and the old runswift walk prevented this by ignoring rapid phase switching. I added the same logic to the walk, and I don't see rapid phase switching. The diagram below shows the height of right foot sole, where you can see short spikes, where this rapid switching happens.

image

  1. Incorrect interpolation of the next step. Interpolation for a new step did not consider where the last step finished. If the step did not finish, it still interpolated from the "ideal" finishing position of the previous step. The diagram below shows how large jumps were happening in the feet trajectory. I've added some changes to fix this.

image


In addition, upon the first target message reeived, force a new step to be calculated such that the walk is initiated. Otherwise, a gentle "push" of the robot is required to trigger a phase change currently.

ijnek added 3 commits January 7, 2025 05:25
…t, not the ideal last foot trajectory point

Signed-off-by: ijnek <[email protected]>
…ad of waiting for a phase change that won't happen

Signed-off-by: ijnek <[email protected]>
@ijnek ijnek changed the title Reduce mid-walk jittering Reduce mid-walk jittering, and ensure first step happens Jan 8, 2025
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