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

Add example to visualize floating base velocity #2143

Merged

Conversation

fabinsch
Copy link
Contributor

After several questions/discussions (e.g. #1657, #1357, #1137, #1122) about the conventions used for the velocity vector for different joints that can serve as a floating base, I started a small script to verify.

This script builds a simple robot that is just a box with dimensions x=0.8, y=0.4, z=0.2. The floating base can be set to either JointModelFreeFlyer, JointModelSphericalZYX or JointModelSpherical. It prints several properties of the mode, increments each velocity component by 1, calculates the resulting a, v_next, q_next via pin.aba and visualizes the integrated configuration q_next via MeshCat.
This could be useful for people who want to try it out for themselves. Also, we could add more joints in the future to test them as well.

@fabinsch fabinsch requested a review from jorisv January 31, 2024 14:46
@fabinsch fabinsch force-pushed the example-floating-base-velocity branch from 9d51a0b to 7ed869f Compare January 31, 2024 15:06
CHANGELOG.md Outdated Show resolved Hide resolved
examples/floating-base-velocity-viewer.py Outdated Show resolved Hide resolved
examples/floating-base-velocity-viewer.py Outdated Show resolved Hide resolved
fabinsch and others added 2 commits February 2, 2024 10:59
Co-authored-by: Joris Vaillant <joris.vaillant@gmail.com>
Co-authored-by: Joris Vaillant <joris.vaillant@gmail.com>
@fabinsch fabinsch force-pushed the example-floating-base-velocity branch from 1807fb2 to 9ae7e2b Compare February 2, 2024 10:45
@jorisv jorisv merged commit 654563f into stack-of-tasks:devel Feb 2, 2024
19 of 20 checks passed
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.

None yet

2 participants