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/desktop/install/ubuntu/
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 -v
Docker version 20.10.23, build 7155243
$ docker compose version
Docker Compose version v2.15.1
1. If you want to use a package simulator from Unreal Engine, download it here 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
3.3. Apply for a free academic license for Gurobi, see Gurobi Academic Web License Service for more information
Note: Your computer must be connected to a recognized academic institution network when the request is made. Your WLS license will be valid for 90 days and is renewable for as long as you maintain eligibility.
source .env # This step is to make sure the ROS_DISTRO is noetic
docker compose build
docker compose up mujoco-ws-service
sh Waterfront.sh
./run_rviz.bash
The result should look like this:
export ROS_MASTER_URI=http://192.168.75.2:11311
export ROS_IP=$(hostname -I | awk '{print $1}') #your IP
docker compose down