很长时间没用仿真了,以前用的好好的,最近突然打不开打开以前的案例了
报错如下:
rviz的
Got keys from plugin meta data ("xcb")
loaded library "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so"
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
[rviz-2] process has died [pid 39282, exit code -6, cmd /opt/ros/noetic/lib/rviz/rviz -d /home/xzk/demo05_ws/src/urdf01_rviz/config/show_mycar.rviz __name:=rviz __log:=/home/xzk/.ros/log/8be6cf38-8819-11ec-ae80-91d8f05102de/rviz-2.log].
log file: /home/xzk/.ros/log/8be6cf38-8819-11ec-ae80-91d8f05102de/rviz-2*.lo
gazebo的
process[gazebo_gui-3]: started with pid [40780]
process[model-4]: started with pid [40784]
[ INFO] [1644240650.479948627]: Finished loading Gazebo ROS API Plugin.
[ INFO] [1644240650.496169118]: waitForService: Service [/gazebo/set_physics_properties] has not been advertised, waiting...
[ INFO] [1644240650.622187021]: Finished loading Gazebo ROS API Plugin.
[ INFO] [1644240650.623285983]: waitForService: Service [/gazebo_gui/set_physics_properties] has not been advertised, waiting...
Aborted (core dumped)
[gazebo_gui-3] process has died [pid 40780, exit code 134, cmd /opt/ros/noetic/lib/gazebo_ros/gzclient __name:=gazebo_gui __log:=/home/xzk/.ros/log/237706c4-881a-11ec-ae80-91d8f05102de/gazebo_gui-3.log].
log file: /home/xzk/.ros/log/237706c4-881a-11ec-ae80-91d8f05102de/gazebo_gui-3*.log
急!
你好,我是有问必答小助手,非常抱歉,本次您提出的有问必答问题,技术专家团超时未为您做出解答
本次提问扣除的有问必答次数,将会以问答VIP体验卡(1次有问必答机会、商城购买实体图书享受95折优惠)的形式为您补发到账户。
因为有问必答VIP体验卡有效期仅有1天,您在需要使用的时候【私信】联系我,我会为您补发。