目的
ROS kineticでmove base使用時にDWAPlannerROS planner周りのエラーが出た時の対策メモです
エラー内容と対策
[FATAL] [1581261211.770393174, 364.342000000]: Failed to create the dwa_local_planner/DWAPlannerROS planner, are you sure it is properly registered and that the containing library is built? Exception: According to the loaded plugin descriptions the class dwa_local_planner/DWAPlannerROS with base class type nav_core::BaseLocalPlanner does not exist. Declared types are base_local_planner/TrajectoryPlannerROS
[move_base-4] process has died [pid 15078, exit code 1, cmd /opt/ros/kinetic/lib/move_base/move_base cmd_vel:=cmd_vel odom:=odom __name:=move_base __log:=/home/seigot/.ros/log/79e9957e-4b4c-11ea-9eba-3df50c86ca42/move_base-4.log].
log file: /home/seigot/.ros/log/79e9957e-4b4c-11ea-9eba-3df50c86ca42/move_base-4*.log
DWAPlannerROSライブラリがないので、以下の通りインストールすればよい。(kineticの場合)
sudo apt-get install ros-kinetic-dwa-local-planner