日韩av黄I国产麻豆传媒I国产91av视频在线观看I日韩一区二区三区在线看I美女国产在线I麻豆视频国产在线观看I成人黄色短片

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 >

[move_base-24] process has died [exit code -6, cmd lib/move_base/move_base odom:=mobile_base_control

發布時間:2025/3/19 30 豆豆
生活随笔 收集整理的這篇文章主要介紹了 [move_base-24] process has died [exit code -6, cmd lib/move_base/move_base odom:=mobile_base_control 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

嘗試使用TIAGo機器人進行SLAM時,運行 roslaunch tiago_2dnav_gazebo tiago_mapping.launch public_sim:=true 指令時加載TIAGo機器人失敗,報錯:terminate called after throwing an instance of 'pluginlib::LibraryLoadException' what(): ?According to the loaded plugin descriptions the class range_sensor_layer::RangeSensorLayer with base class type costmap_2d::Layer does not exist. Declared types are ?costmap_2d::InflationLayer costmap_2d::ObstacleLayer costmap_2d::StaticLayer costmap_2d::VoxelLayer
[move_base-24] process has died [pid 25956, exit code -6, cmd /opt/ros/kinetic/lib/move_base/move_base odom:=mobile_base_controller/odom cmd_vel:=nav_vel __name:=move_base __log:=/home/lhj/.ros/log/edbf89e2-6330-11ec-8a0c-907841bf18b9/move_base-24.log].
log file: /home/lhj/.ros/log/edbf89e2-6330-11ec-8a0c-907841bf18b9/move_base-24*.log

原因:一開始看到紅色的報錯,以為是move-base相關的ROS包沒安裝,所以首先運行以下指令,安裝move-base相關的所有ROS包,如下。

sudo apt install ros-kinetic-move-base*

?安裝后仍然報錯,后來才注意到那一段白的提示:terminate called after throwing an instance of 'pluginlib::LibraryLoadException' what(): ?According to the loaded plugin descriptions the class range_sensor_layer::RangeSensorLayer with base class type costmap_2d::Layer does not exist. Declared types are ?costmap_2d::InflationLayer costmap_2d::ObstacleLayer costmap_2d::StaticLayer costmap_2d::VoxelLayer。

解決:既然提示我們range_sensor_layer::RangeSensorLayer和costmap::Layer不存在,經過搜索后,發現range_sensor_layer和costmap_2d是兩個ROS包,運行以下指令安裝兩個包后即可正常加載TIAGo機器人,并進行機器人導航,如下圖。

sudo apt install ros-kinetic-range-sensor-layer sudo apt install ros-kinetic-costmap-2d

總結

以上是生活随笔為你收集整理的[move_base-24] process has died [exit code -6, cmd lib/move_base/move_base odom:=mobile_base_control的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。