Skip to content

Use cubic splines in walking#632

Closed
val-ba wants to merge 8 commits intomainfrom
feature/use_cubic_splines_in_walking
Closed

Use cubic splines in walking#632
val-ba wants to merge 8 commits intomainfrom
feature/use_cubic_splines_in_walking

Conversation

@val-ba
Copy link
Copy Markdown
Contributor

@val-ba val-ba commented Dec 6, 2024

Summary

Switch from quintic to cubic. We do not set the acceleration anymore and just need 4 coefficients to set the spline.
Also a lot of the time the acceleration is not even set

Proposed changes

Cubic splines look like this for walking:
Screenshot from 2024-12-13 11-30-24
Screenshot from 2024-12-13 11-31-22

Fairly similar to the quintic splines:
Screenshot from 2024-12-13 11-52-22
Screenshot from 2024-12-13 11-52-59

Related issues

#598

Checklist

  • Run colcon build
  • Write documentation
  • Test on your machine
  • Test on the robot
  • Create issues for future work
  • Triage this PR and label it

@val-ba val-ba requested review from Flova and jaagut December 13, 2024 10:55
@val-ba val-ba marked this pull request as ready for review December 13, 2024 10:55
@val-ba
Copy link
Copy Markdown
Contributor Author

val-ba commented Jan 20, 2025

image
This is cubic splines right ankle and knee, we see some jumps when the robot starts to walk in the motor goals. This is the same for quintic splines aswell:
image

@val-ba
Copy link
Copy Markdown
Contributor Author

val-ba commented Apr 14, 2025

As this does not seem to either improve or worsen performance, we leave it as is and do not merge it. But for now we keep the branch.

@val-ba val-ba closed this Apr 14, 2025
@github-project-automation github-project-automation Bot moved this from 👀 In review to ✅ Done in Software Apr 14, 2025
@jaagut
Copy link
Copy Markdown
Member

jaagut commented Apr 15, 2025

We can also just restore the branch from this PR. I am deleting it now to reduce clutter.

@jaagut jaagut deleted the feature/use_cubic_splines_in_walking branch April 15, 2025 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

4 participants