This repository contains docker images for deploying ROS packages for MuJoCo with https://github.com/K4R-IAI/K4R_Development
0. Prerequisites: https://docs.docker.com/compose/install
No ROS required, No Unreal Engine required, just a PC with a good NVIDIA Graphic Card :)
Check your docker-compose and docker-py versions:
$ docker-compose -v
docker-compose version 1.29.2, build 5becea4c
$ pip3 freeze | grep docker
docker==5.0.0
1. If you want to use a package simulator from Unreal Engine, download it at https://seafile.zfn.uni-bremen.de/f/a8ac0f55af3c4620bc56/ and unzip it
cd mujoco_sim_docker
sudo apt install ros-${ROS_DISTRO}-mk # This step is to make sure the mk from rospack is there
./setup_ros_packages.bash
./setup_rviz.bash
source .env # This step is to make sure the ROS_DISTRO is noetic
docker-compose build
docker-compose up mujoco-ws
sh Waterfront.sh
./run_rviz.bash
The result should look like this:
docker-compose down