Gazebo is not running simulation after running a python script in Docker

asked 2018-04-10 02:11:07 -0600

FoonG gravatar image

I'm trying to do run this project and running inside a docker container. After I pull and set up the container.

I run root@3ff0a951ba9e:/usr/local/gym/gym-gazebo/gym_gazebo/envs/installation# bash turtlebot_setup.bash

After that, I try to run the python script root@3ff0a951ba9e:/usr/local/gym/gym-gazebo/examples/scripts_turtlebot# python circuit2_turtlebot_lidar_qlearn.py and the training is working and running.

I'm trying to open it's gazebo interface by open another terminal $ sudo docker exec -it 3ff0a951ba9e bash, it lead me to the same container as my training running. But when I try to run gzclient, It shows up nothing.

user@user:~$ sudo docker exec -it 3ff0a951ba9e bash
root@3ff0a951ba9e:/usr/local/gym# gzclient
root@3ff0a951ba9e:/usr/local/gym#

What do I need to do to visualize the training or what does I missing while setting up all the things?

I'm using ubuntu 16.04

edit retag flag offensive close merge delete