introlab / rtabmap_ros

RTAB-Map's ROS package.

Home Page:http://wiki.ros.org/rtabmap_ros

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PluginlibFactory: The plugin for class 'rtabmap_ros/MapGraph' failed to load. Error: According to the loaded plugin descriptions the class rtabmap_ros/MapGraph with base class type rviz::Display does not exist.

leslie-fig opened this issue · comments

I ran into this issue after downloading a navigation package and following the Readme file to execute the mapping command。By the way,it didn't work though I had install rtabmap-rviz packages.

Humm, can you do a sudo apt update && sudo apt upgrade ? Also if you built rtabmap_ros from source, clean your catkin or ros2 ws and rebuild everything. There are maybe unsync libraries.

Humm, can you do a sudo apt update && sudo apt upgrade ? Also if you built rtabmap_ros from source, clean your catkin or ros2 ws and rebuild everything. There are maybe unsync libraries.
Ok,I will try the method you offered me later。

Humm, can you do a sudo apt update && sudo apt upgrade ? Also if you built rtabmap_ros from source, clean your catkin or ros2 ws and rebuild everything. There are maybe unsync libraries.

Humm, can you do a sudo apt update && sudo apt upgrade ? Also if you built rtabmap_ros from source, clean your catkin or ros2 ws and rebuild everything. There are maybe unsync libraries.

There is another issue I met that was "Failed to create the global_planner/GlobalPlanner planner, are you sure it is properly registered and that the containing library is built? Exception: According to the loaded plugin descriptions the class global_planner/GlobalPlanner with base class type nav_core::BaseGlobalPlanner does not exist. Declared types are carrot_planner/CarrotPlanner evolutionary_planner/EvolutionaryPlanner graph_planner/GraphPlanner lazy_planner/LazyPlanner navfn/NavfnROS sample_planner/SamplePlanner"。And some of the content above like "evolutionary_planner/EvolutionaryPlanner graph_planner/GraphPlanner lazy_planner/LazyPlanner" is in my other project when I was launching a navigation file。

Doublecheck if library containing nav_core::BaseGlobalPlanner is installed.

Doublecheck if library containing nav_core::BaseGlobalPlanner is installed.

2a4a2ff4-0f19-4ace-bff6-3f1b6191c91f
The picture I show you that's my navigation launch file.And I have installed global-planner using "ros-noetic-global-planner" 。I found the solution that was using the command above to install nav_core::BaseGlobalPlanner.But the bug still remains,And I think why I can't solve this problem because of the error in the later paragraph.Weird
4e5a7f8d-4361-44e1-9d7b-6ede1977950c

ros-noetic-global-planner should have worked (as it declares that plugin here). You could try this planner instead (which seems to be installed in your error msg):

<param name="base_global_planner" value="navfn/NavfnROS"/>