stanfordnmbl / osim-rl

Reinforcement learning environments with musculoskeletal models
http://osim-rl.stanford.edu/
MIT License
877 stars 248 forks source link

Loco_reflex_song2019 controller doesn't work in 3D mode #232

Closed FelixDucret closed 3 years ago

FelixDucret commented 3 years ago

Hi,

I have tried to use the loco_reflex_song2019 controller defined in the osim-rl/envs/control/loco_reflex_song2019.py file by running the simL2M2019_controller1.py file in both 2D and 3D mode. It seems to be working fine in 2D mode, but the model can't make a step in 3D mode. Is this a bug or are the parameters indicated in osim-rl/osim/control/params_3D_init.txt not viable for three-dimensional locomotion?

Thank you!

smsong commented 3 years ago

This is because params_3D_init.txt is not viable to produce successful walking in 3D. params_3D_init.txt is a copy of params_2D.txt with some placeholders (the last 9 parameters with the value of 1.00) for the additional parameters for the 3D controller. We did not have enough time to find successful parameters for 3D back when we uploaded the controller and did not work on it since then.

FelixDucret commented 3 years ago

All right, thank you for your answer!