ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Why is my turtlebot not able to be sent missions from RVIZ?

asked 2022-02-08 10:00:49 -0600

Granty100 gravatar image

updated 2022-02-11 11:18:52 -0600

lucasw gravatar image

I am able to do everything correctly on my turtlebot except that I can not send it to a certain location. I am able to create a map, save it, load it back up, and localize my robot. When launching the RVIZ, I get this error. I have made sure that DWAPlannerROS is installed by doing this command "sudo apt-get install ros-melodic-teb-local-planner" but my problem still persists.

[FATAL] [1644336371.394594454]: 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 teb_local_planner/TebLocalPlannerROS
[move_base-4] process has died [pid 7538, exit code 1, cmd /opt/ros/melodic/lib/move_base/move_base cmd_vel:=/cmd_vel odom:=odom __name:=move_base __log:=/home/robot/.ros/log/a94689b6-88ea-11ec-82f0-0c7a15c89c09/move_base-4.log].
log file: /home/robot/.ros/log/a94689b6-88ea-11ec-82f0-0c7a15c89c09/move_base-4*.log
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-02-08 16:19:18 -0600

miura gravatar image

Try sudo apt-get install ros-melodic-dwa-local-planner.

ref: https://answers.ros.org/question/2664...

edit flag offensive delete link more

Comments

"E: Unable to locate package ros-melodic-dwa-local-planner" is the response I get from the terminal. When I do "sudo apt-get install ros-melodic-teb-local-planner" I get that the package is installed and at the newest version. I build the workspace and the problem still persists.

Granty100 gravatar image Granty100  ( 2022-02-09 08:14:16 -0600 )edit

Thank you for trying. It seems strange that ros-melodic-dwa-local-planner is not found. Is it important to eliminate the error and can I use a planner other than DWAPlannerROS? If so, configuring it to use TebLocalPlannerROS as shown below will solve the problem.

<node pkg="move_base" type="move_base" name="move_base">
    ...
    <param name="base_local_planner" value="teb_local_planner/TebLocalPlannerROS" />
    ...
</node>
miura gravatar image miura  ( 2022-02-09 17:28:06 -0600 )edit

Question Tools

Stats

Asked: 2022-02-08 10:00:49 -0600

Seen: 113 times

Last updated: Feb 08 '22