Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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. #1191

Open
leslie-fig opened this issue Aug 2, 2024 · 7 comments

Comments

@leslie-fig
Copy link

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.

@matlabbe
Copy link
Member

matlabbe commented Aug 2, 2024

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.

@leslie-fig
Copy link
Author

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。

@leslie-fig
Copy link
Author

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。

@matlabbe
Copy link
Member

matlabbe commented Aug 3, 2024

Doublecheck if library containing nav_core::BaseGlobalPlanner is installed.

@leslie-fig
Copy link
Author

leslie-fig commented Aug 3, 2024 via email

@leslie-fig
Copy link
Author

leslie-fig commented Aug 4, 2024

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

@matlabbe
Copy link
Member

matlabbe commented Aug 12, 2024

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"/>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants