MyoHub / myo_sim

Musculoskeletal Models in MuJoCo
https://sites.google.com/view/myosuite
Apache License 2.0
76 stars 23 forks source link

Request: adding the suspended myoleg model from myosuite demo #17

Closed Leonardo-Corsi closed 8 months ago

Leonardo-Corsi commented 9 months ago

In the myosuite demo a variant of the myoleg model, called "myoleg (suspended)" can be selected and interacted with. It would be great to have this suspended version as well as the classic myoleg as a mujoco xml file here. I realize that obtaining it should be possible with few changes to the original xml, though the original suspended myoleg implementation could be safer and would be more guaranteed to function as desired.

Leonardo-Corsi commented 9 months ago

Quick puntualization: the mujoco binary model can be found in the myosuite_demo repo but since this repo contains all the xml models I supposed that the "issue" fits better here Thanks!

Vittorio-Caggiano commented 9 months ago

Hi Leonardo, we will be releasing soon the xml file of the myoleg. We could add a 'suspended' version of the task as well

cc: @vikashplus @P-Schumacher

P-Schumacher commented 8 months ago

I've added the suspended model as PR #19

@Leonardo-Corsi give it a try while we work on merging it into the main branch

Leonardo-Corsi commented 8 months ago

Thanks a lot for the quick reply and the xml model. It is consistent with my attempt to create it and seems to work smoothly.

For anyone who might need it, I'm also reporting a qpos vector (a possible key_qpos of interest) below, representing the equilibrium condition with no actuation:

0.078594 -0.033019 -0.578070 0.001713 0.000952 0.278114 0.018932 0.090195 -0.280089 0.117834 -0.335726 -0.023425 0.045889 -0.069853 0.037624 -0.016412 -0.601932 -0.000696 0.000212 0.104985 0.007920 -0.036938 -0.349822 0.157337 -0.524402 -0.015842 0.050482 -0.000592

Thanks again!