Skip to content

gergondet/mc_mujoco

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

[WIP] Mujoco interface for mc-rtc

Add this to your mc-rtc configuration yaml:

MUJOCO:
  xmlModelPath: "<path_to_your_xml_model>"
  pdGainsPath: "<path_to_your_pdgains>"

Usage:

Assuming that you have mujoco installed under ${HOME}/.mujoco/mujoco200,

$ git clone git@github.com:rohanpsingh/mc_mujoco.git
$ cd mc_mujoco
$ mkdir build && cd build
$ cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo -DMUJOCO_ROOT_DIR=$HOME/.mujoco/mujoco200
$ make

Then, to run the interface:

$ cd mc_mujoco/build/
$ ./src/mc_mujoco

By default, we assume your mujoco key is at ${MUJOCO_ROOT_DIR}/bin/mjkey.txt if that is not the case you can set the environment variabe MUJOCO_KEY_PATH to the path where your mjkey.txt is.

About

mc-rtc interface with MuJoCo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 94.1%
  • CMake 5.9%