Adding slope to ground in MuJoCo

Discussion in 'Modeling' started by Guillermo Castillo, Aug 2, 2018.

  1. Hi all,

    I want to simulate a terrain with different slopes. First I would like to try a terrain with just one defined slope and later try an uneven terrain with different slopes or irregularities. I am sure this can be done in MuJoCo as I have seen it working in some simulations, but I have not been able to make it work. Any advice would be helpful. Thanks in advance.
     
  2. Emo Todorov

    Emo Todorov Administrator Staff Member

    You can use a height field. Or, if all you need is a tilted plane, just change the orientation of the plane. This is done in the <geom> element in the XML.
     
  3. Thanks Prof. Emo for your help.
     
  4. Is there a example xml file for adding terrain in mujoco envs.