日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

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

發布時間:2025/3/19 编程问答 20 豆豆
生活随笔 收集整理的這篇文章主要介紹了 [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的全部內容,希望文章能夠幫你解決所遇到的問題。

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