This repository contains the kuka iiwa14 model for mc_mujoco.
The package will install the files in this directory so that mc_mujoco can pick them up automatically.
Please note that only iiwa14 is supported.
Please make sure mc_mujoco is installed.
In order to install from source please run the following commands :
git clone https://github.com/isri-aist/kuka_mj_description
cd kuka_mj_description
mkdir build && cd build
cmake ..
make installYour mc_rtc configuration file (typically ~/.config/mc_rtc/mc_rtc.yaml) should contain the following lines:
# General mc_rtc configuration to run a kuka controller at 1kHz
MainRobot: iiwa14
Enabled: Posture # Edit with your controller
Timestep: 0.001Then run mc_mujoco
mc_mujocoIn order to add your model, you need to :
- Add your mesh files in the
/meshesfolder - Add your xml model to
/xmlfolder - Add a folder to pdgains with the name of your model, create a file
PDgains_sim.datinside of it. - Update models list in
CMakeLists.txt - Then install
make installorninja install