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

Barkour contact parameters #45

Closed
Nate711 opened this issue Mar 2, 2024 · 3 comments
Closed

Barkour contact parameters #45

Nate711 opened this issue Mar 2, 2024 · 3 comments
Assignees

Comments

@Nate711
Copy link

Nate711 commented Mar 2, 2024

This model might be missing the impratio setting which is important to allow soft foot contact but limit slipping. The other quadrupeds set it to 100. I also noticed the solimp="0.015 1 0.031" line is setting the d_width (compression distance) to 31mm which I think is bigger than Barkour's foot.

<geom type="sphere" size="0.0175" pos="-0.21425 -0.0779806 0" rgba="1 0 0 1" solimp="0.015 1 0.031" friction="0.8 0.02 0.01"/>

Reference:

<option cone="elliptic" impratio="100"/>

@kevinzakka
Copy link
Collaborator

@Nate711 impratio is not currently available in MJX (will be in the upcoming release).

Adding @btaba and @yuvaltassa to chime in about the solimp parameter.

@btaba
Copy link
Contributor

btaba commented Mar 4, 2024

Hi @Nate711 , indeed impratio helps limit slipping and will be available in the next MuJoCo release, hence why it is omitted from the vB XML. The foot diameter for the vB is 35mm, similar to the A1 at 40mm, which uses the same solimp param.

@Nate711
Copy link
Author

Nate711 commented Mar 7, 2024

Thanks for the replies! The regular barkour also doesn't have impratio FYI. https://github.com/google-deepmind/mujoco_menagerie/blob/66080c4bb74969c4508dc6663e0f9f5242ee9e13/google_barkour_vb/barkour_vb.xml

Also I think the 31mm d_width for the A1 was copied from anymal

<geom type="sphere" size="0.03" pos="0 0 0.02325" priority="1" solimp="0.015 1 0.031" condim="6"

@kevinzakka kevinzakka self-assigned this Jun 1, 2024
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

No branches or pull requests

3 participants