Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 904 Bytes

README.md

File metadata and controls

25 lines (20 loc) · 904 Bytes

gym-gazebo2 Docker container usage

Pull container from docker hub

docker rm gg2 || true && docker run -it --name=gg2 -h gym-gazebo2 -v `pwd`:/tmp/gym-gazebo2 acutronicrobotics/gym-gazebo2
cp -r /root/ros2_mara_ws /tmp/gym-gazebo2 #Inside the docker container, used to load visual models

Run the example

# inside the docker container
cd ~/gym-gazebo2/examples/MARA
python3 gg_random.py

Launch gzclient (GUI)

Make sure you have gazebo already installed in your main Ubuntu system and you are in the same path from which you executed the docker run command. If you are already running the simulation in the default port, you can access the visual interface the following way opening a new terminal:

# Do not use -g --gzclient flag
cd ~ && git clone -b dashing https://github.com/AcutronicRobotics/gym-gazebo2
cd ~/gym-gazebo2/docker
sh gzclient.sh