plugin navigation

asked 2017-05-08 10:09:41 -0500

b-sriram gravatar image

updated 2017-05-08 10:10:12 -0500

Hi,

I'm trying to build my local planner with my own Global planner and that seems to work fine.

I include the TrajectoryPlannerROS class to include the "collison_avoidance" function (like the pose_follower package). This seems to work fine when detecting obstacles, but when the obstacle is moved the costmap is not getting cleared.

In order to clear the cost map I tried to include an object of class ClearCostmapRecovery.

When I launch my file t I get an error message:

 Failed to load a plugin. This should not happen on default recovery behaviors. Error: MultiLibraryClassLoader: Could not create object of class type clear_costmap_recovery::ClearCostmapRecovery as no factory exists for it. Make sure that the library exists and was explicitly loaded through MultiLibraryClassLoader::loadLibrary()

How do I include this plugin, so that I can call the "runBehavior" function in the ClearCostmap class?

Thanks & Regards Sriram

edit retag flag offensive close merge delete