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

robot cannot meet desired height #435

Open
zhxiaoyu218 opened this issue Jan 9, 2025 · 2 comments
Open

robot cannot meet desired height #435

zhxiaoyu218 opened this issue Jan 9, 2025 · 2 comments

Comments

@zhxiaoyu218
Copy link

We are conducting some experiments, and, however in the global planner, the desired height for Spirit is set to 0.27. However, the results show that the actual height consistently below the 0.27 and remains around 0.25 in gazebo. is there any parameter I can change?

@ologandavid
Copy link
Collaborator

What branch are you currently working on? On my system, 0.27 m should be the nominal stand body height in gazebo. It was set this way to accurately reflect the body height in real life on hardware. The issue might stem from any modifications you made in the global body planner. See image attached below.
capture

@zhxiaoyu218
Copy link
Author

Hi, david, thank you so much for your reply. I am using devel branch which is noetic.

here is the modification I have made:
in local_planner.yaml the desired height currently is 0.27m.
in spirit.yaml, I just modified h_nom from 0.3 to 0.27.

in stand mode, without any walking, it is indeed around 0.27, but around 0.25 while walking.

another question is about hip_offset in matlab for spirit.
parameter.physics.hip_offset=[0.2263; 0.098; 0]; in matlab code
but it seems it should be [0.2263; 0.07; 0] from spirit.sdf?

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

2 participants