Gazebo is not running simulation after running a python script in Docker
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
I feel this is either a Gazebo-specific question (and should thus be asked at
answers.gazebosim.org
), or it is too specific toerlerobot/gym-gazebo
(and should thus be asked onerlerobot/gym-gazebo
's issue tracker).