stanfordnmbl / osim-rl

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

init_pose is not working #210

Open guility opened 4 years ago

guility commented 4 years ago

L2M2019Env.reset(init_pose) - doesn't affects state of body, state description or observation

adding self.osim_model.state_desc = self.osim_model.compute_state_desc() before v_target_update puts body according to init_pose setup.

smsong commented 4 years ago

@guility May you check https://github.com/stanfordnmbl/osim-rl/blob/master/examples/sim_L2M2019_controller1.py in using init_pose, then let us know if it doesn't work for you?

guility commented 4 years ago

After updating osim-rl to 3.0.9 – init_pose seems to work pretty fine. Thanks a lot.

От: Seungmoon Songmailto:notifications@github.com Отправлено: 16 октября 2019 г. в 09:50 Кому: stanfordnmbl/osim-rlmailto:osim-rl@noreply.github.com Копия: Andrey Zubkovmailto:zubkov.av@outlook.com; Mentionmailto:mention@noreply.github.com Тема: Re: [stanfordnmbl/osim-rl] init_pose is not working (#210)

@guilityhttps://github.com/guility May you check https://github.com/stanfordnmbl/osim-rl/blob/master/examples/sim_L2M2019_controller1.py in using init_pose, then let us know if it doesn't work for you?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/stanfordnmbl/osim-rl/issues/210?email_source=notifications&email_token=AH3MK3I3JFREVXUBUMUWHI3QOZ6PZA5CNFSM4JAXL4N2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBK3DZI#issuecomment-542487013, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AH3MK3NI7RXAFHJ75ROZK2DQOZ6PZANCNFSM4JAXL4NQ.