我目前正在尝试使用 Xming 在 Ubuntu 的 WSL 上运行 Gazebo,但它甚至没有完全打开就崩溃了。当我通过终端调用它时,我可以看到橙色的加载屏幕roslaunch turtlebot_gazebo turtlebot_world.launch
,但它几乎立即死机。
这真是令人沮丧,因为我已经为这个问题工作了一整天。
以下是我在终端上得到的结果:
[ERROR] [1523362032.530757200, 0.140000000]: Failed to load nodelet
[/depthimage_to_laserscan] of type
[depthimage_to_laserscan/DepthImageToLaserScanNodelet] even after refreshing
the cache: Failed to load library
/opt/ros/kinetic/lib//libDepthImageToLaserScanNodelet.so. Make sure that you
are calling the PLUGINLIB_EXPORT_CLASS macro in the library code, and that
names are consistent between this macro and your XML. Error string: Could
not load library (Poco exception = libopencv_core3.so.3.3: cannot enable
executable stack as shared object requires: Invalid argument)
[ERROR] [1523362032.532002600, 0.140000000]: The error before refreshing the
cache was: Failed to load library
/opt/ros/kinetic/lib//libDepthImageToLaserScanNodelet.so. Make sure that you
are calling the PLUGINLIB_EXPORT_CLASS macro in the library code, and that
names are consistent between this macro and your XML. Error string: Could
not load library (Poco exception = libopencv_core3.so.3.3: cannot enable
executable stack as shared object requires: Invalid argument)
[FATAL] [1523362032.535886600, 0.150000000]: Failed to load nodelet
'/depthimage_to_laserscan` of type
`depthimage_to_laserscan/DepthImageToLaserScanNodelet` to manager
`laserscan_nodelet_manager'
[ INFO] [1523362032.705052600, 0.240000000]: Physics dynamic reconfigure
ready.
[depthimage_to_laserscan-10] process has died [pid 1086, exit code 255, cmd
/opt/ros/kinetic/lib/nodelet/nodelet load
depthimage_to_laserscan/DepthImageToLaserScanNodelet
laserscan_nodelet_manager image:=/camera/depth/image_raw scan:=/scan
__name:=depthimage_to_laserscan __log:=/home/elona/.ros/log/aefadb42-3cb7-
11e8-b57b-54ee75bf6d3f/depthimage_to_laserscan-10.log].
log file: /home/elona/.ros/log/aefadb42-3cb7-11e8-b57b-
54ee75bf6d3f/depthimage_to_laserscan-10*.log
我关注了这里。