Docker turtle example
Hello, I try to dockerise the turtle example. I use that french article on the problem.
On one terminal I run :
docker run --rm -it --name roscore --net ros ros:mykinetictutorial roscore
On other terminal I run :
docker run --rm -it --name turtlesim --net ros -e ROS_MASTER_URI=http://roscore:11311 -e XAUTHORITY=/tmp/xauth -e DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix
ros:mykinetictutorial rosrun turtlesim turtlesim_node
I get that error:
[ INFO] [1549033026.671048407]: Connected to master at [roscore:11311] [ INFO] [1549033026.712054117]: Starting turtlesim with node name /turtlesim [ INFO] [1549033026.729229767]: Spawning turtle [turtle1] at x=[5.544445], y=[5.544445], theta=[0.000000] libGL error: No matching fbConfigs or visuals found libGL error: failed to load driver: swrast Could not initialize OpenGL for RasterGLSurface, reverting to RasterSurface.
It seems to come from a nvidia problem. Here is my config:
uname -a Linux xavier-Inspiron 4.15.0-43-generic #46~16.04.1-Ubuntu SMP Fri Dec 7 13:31:08 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
lspci -v | grep -i VGA 01:00.0 VGA compatible controller: NVIDIA Corporation GF119 [GeForce GT 705] (rev a1) (prog-if 00 [VGA controller])
which article?
I modify my post, sorry.