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

gait frequency faster than mocap data #25

Open
BruceXing24 opened this issue Aug 12, 2024 · 6 comments
Open

gait frequency faster than mocap data #25

BruceXing24 opened this issue Aug 12, 2024 · 6 comments

Comments

@BruceXing24
Copy link

BruceXing24 commented Aug 12, 2024

hi, everyone. I use this framework to train my robot. I got a nice policy in running and verity in mujoco then validate in real robot. For walking works in issac and mujoco but perform terrible in real robot

But I found some questions.

  1. I try walk, run and jump, they all works in mojuco, buy their gait frequency are much faster than the mocap data I give, maybe double or triple.

  2. even though the lin_vel and angular reward are much bigger than others, but I can just control the speed a little or just doesn't work at all, same for the direction.

You can go through my video, it shows the robot executable its skill in a very fast frequency

walk.mp4
20240812-143314.mp4
20240812-143318.mp4
@apirrone
Copy link

apirrone commented Aug 12, 2024

Hi @BruceXing24, maybe it's just a matter of dt ? Do they match between IsaacGym and Mujoco (model.opt.timestep) ?

Also, can you share your repo ? I would love to take a look at your config. Thanks !

@BruceXing24
Copy link
Author

Hi @BruceXing24, maybe it's just a matter of dt ? Do they match between IsaacGym and Mujoco (model.opt.timestep) ?

Also, can you share your repo ? I would love to take a look at your config. Thanks !

Hello @apirrone, thanks for your response. What I set in mujoco is model.opt.timestep = cfg.sim_config.dt it has same cfg as in issac. So I think dt is same as issac.

@kaydx1
Copy link

kaydx1 commented Aug 12, 2024

@apirrone @BruceXing24 check your decimation matching as well between mujoco and isaac. Because in isaac it could be env.dt=sim.dt*decimation(it's basically frequency on which you querying policy). Regarding different velocity control, it depends on your data if it covers the whole range of velocities and motions. If not, it struggles to extrapolate to unseen velocities.

@apirrone
Copy link

@kaydx1 I generated motion reference for walking forward and turning left and right so it covers the velocity control I set in my tests.

@BruceXing24
Copy link
Author

@apirrone @BruceXing24 check your decimation matching as well between mujoco and isaac. Because in isaac it could be env.dt=sim.dt*decimation(it's basically frequency on which you querying policy). Regarding different velocity control, it depends on your data if it covers the whole range of velocities and motions. If not, it struggles to extrapolate to unseen velocities.

yes, I found my ref didn't cover full velocity range

@mahanxin
Copy link

@apirrone @BruceXing24 Hello, I have the same problem that faster gait frequency. I am sure there is no problem with dt. Have you solved it?

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

4 participants