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

Question about mini-cheetah initial state #75

Open
ganlumomo opened this issue Sep 13, 2021 · 2 comments
Open

Question about mini-cheetah initial state #75

ganlumomo opened this issue Sep 13, 2021 · 2 comments

Comments

@ganlumomo
Copy link

Hi, I am working on mini-cheetah's way point following in a height map built by realsense. I want to initialize the robot at a specific location in the height map. The init robot pose seems to be hard coded here: https://github.com/ganlumomo/Cheetah-Software/blob/simulation/sim/src/Simulation.cpp#L135, so I have set the value to (x, y, height_map(x, y) + 0.05), (Do I need to consider the height at the location when I set init state?). However, the robot state estimator seems did not get the correct z value. It looks like the following image. Could you give me a hint how to make the robot estimator working properly?

Thank you so much!

image

@ganlumomo ganlumomo changed the title Question about initilz Question about mini-cheetah initial state Sep 13, 2021
@ganlumomo
Copy link
Author

Okay, I am able to make the two aligned by tuning the z value in left_corner_loc of the loaded hightmap. Anyone have suggestions on how this value should be set instead of tuning? Thanks!

@aminghanbarzadeh
Copy link

Hi, i wanted to ask about the simple plane simulator not using the height map. i wonder if you know how to change the initial position of the robot not using any height maps and where exactly the world coordinate axis are defined?

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