mujoco-py icon indicating copy to clipboard operation
mujoco-py copied to clipboard

Fix joint of mujoco xml file to certain angle

Open andreasbinder opened this issue 5 years ago • 2 comments

I have a model of a snake-like robot and wanted to train it under suboptimality. To do so, I wanted to fix one joint that connects the body parts to a certain angle. I was wondering which way is the best or recommended one. This might work be setting the action space for the one joint to zero but I am not sure where to perform that. I am grateful to get some ideas! Currently, I am using the baselines implementation of baselines to get trajectories.

andreasbinder avatar Jun 03 '20 09:06 andreasbinder

Did you find the solution of this? I found there is no "fixed" option in the joint type in xml.

wukongwong avatar Jul 16 '24 08:07 wukongwong

Hi, I actually did not continue looking into it :( I think restricting angles etc should be possible. Good luck!

andreasbinder avatar Jul 16 '24 18:07 andreasbinder