[ WARN] [1660029596.753866465]: OGRE EXCEPTION(3:RenderingAPIException): Unable to create a suitable GLXContext in GLXContext::GLXContext at /build/ogre-1.9-B6QkmW/ogre-1.9-1.9.0+dfsg1/RenderSystems/GL/src/GLX/OgreGLXContext.cpp (line 61)
rviz::RenderSystem: error creating render window: OGRE EXCEPTION(3:RenderingAPIException): Unable to create a suitable GLXContext in GLXContext::GLXContext at /build/ogre-1.9-B6QkmW/ogre-1.9-1.9.0+dfsg1/RenderSystems/GL/src/GLX/OgreGLXContext.cpp (line 61)
[ERROR] [1660029596.753947047]: Unable to create the rendering window after 100 tries.
[ INFO] [1660029596.753970682]: Stereo is NOT SUPPORTED
terminate called after throwing an instance of 'std::logic_error'
what(): basic_string::_M_construct null not valid
[rviz-2] process has died [pid 28639, exit code -6, cmd /opt/ros/melodic/lib/rviz/rviz -d /home/lab/krrt_with_ro_ws/src/kino_sampling_with_regional_opti-main/decision/state_machine/launch/traj.rviz __name:=rviz __log:=/home/lab/.ros/log/a9db4eae-17b3-11ed-9c69-8851fb5b67b4/rviz-2.log].
log file: /home/lab/.ros/log/a9db4eae-17b3-11ed-9c69-8851fb5b67b4/rviz-2*.log
^C[odom_visualization-5] killing on exit
[so3_control-4] killing on exit
[quadrotor_simulator_so3-3] killing on exit
[rosout-1] killing on exit
[master] killing on exit
shutting down processing monitor...
... shutting down processing monitor complete
done
解决方法:
- sudo add-apt-repository ppa:ubuntu-x-swat/updates
- sudo apt-get update
- sudo apt-get dist-upgrade