roboterax / humanoid-gym

Humanoid-Gym: Reinforcement Learning for Humanoid Robot with Zero-Shot Sim2Real Transfer https://arxiv.org/abs/2404.05695
https://sites.google.com/view/humanoid-gym/
541 stars 88 forks source link

Control a little 10-dof robot #20

Open lightbrighten opened 1 week ago

lightbrighten commented 1 week ago

Dear Author Appreciating for your good job!Does this can be used to trainning a method to control a small 10-dof robot,which is 0.45m tall and 10 kgs weight and with "rotate-ankle" joint missing? I have tried this, and the "train" and "play" is stable, but "sim2sim" is unstable, which params I need to adjust in "humanoid_cfg.py"?

zzzzzzxm commented 1 week ago

Hi, I meet same problem. During sim2sim period, the policy trained and performed well can't perform as in play period. I trained a policy to control a robot with more joint, I think maybe I miss somethings to change in mjcf file. Have you solved the problem?

lightbrighten commented 1 week ago

still confused yet, not solved

zzzzzzxm commented 1 week ago

Keep trying. Once I solved it, I will describe the method here. :)

zzzzzzxm commented 1 week ago

I haven't solved the problem yet. I would like to share my situation here and see if we have encountered the same problem. After adding other joints and completing training in humanoid Gym, the robot joints in the stage of sim2sim will swing and the robot will slowly fly. I directly added joint and other information to the. ml file in MJCF without modifying the original content, including gravity. I suspect that inertia caused the robot to fly. Do you have any suggestions? Screenshot from 2024-07-07 10-47-56 (This model is converted by mujoco2.3.6, not which I mentioned above, but the problem is same)