Hi, trying to use the px4io/px4-dev-ros-melodic container to simulate a quad-copter with the following input:
make px4_sitl gazebo
I get the following output:
...
empty world, setting empty.world as default
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
X Error of failed request: GLXBadContext
Major opcode of failed request: 151 (GLX)
Minor opcode of failed request: 6 (X_GLXIsDirect)
Serial number of failed request: 38
Current serial number in output stream: 37
I was running the container with the command described in the README
docker run -it --rm
-v <local_src>:/home/user/Firmware:rw
-v /tmp/.X11-unix:/tmp/.X11-unix:ro
-e DISPLAY=${DISPLAY}
-e LOCAL_USER_ID="$(id -u)"
--name=container_name px4io/px4-dev-ros-melodic/bin/bash
I'm using nvdia-driver-440 on my machine. Am i missing something?