Quantcast
Channel: Gazebo: Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 7017

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

$
0
0
I'm trying to do run [this project](https://github.com/erlerobot/gym-gazebo) 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

Viewing all articles
Browse latest Browse all 7017

Trending Articles