Closed ML-S closed 3 years ago
INVALID_PLUGIN
means that you specify a wrong plugin in the action goal message or if that argument is empty, you did not specify any planners to load at all at program start.
You need to specify which plugins to load: For exmaple in another yaml config file which needs to be loaded into the namespace of mbf_costmap_nav.
planners:
- name: 'global_planner'
type: 'global_planner/GlobalPlanner'
Next you can and should specify the planner in the action goal message planner="global_planner"
. This allows you to call different loaded planners at runtime. MBF lists the loaded plugins at program start.
Note that the name can be arbitrary, but it must be same in the action goal message and the config yaml.
That solved it, thank you!
I'm trying to call the get_path-Action inside a SMACH. When calling the action, it returns the error code 59, which is according to the get_path-Actionserver the code for 'INVALID_PLUGIN'. My mbf-launchfile looks as follows:
The costmap_commmon_params.yaml looks as follows:
The global_costmap_params.yaml looks as follows:
And the base_global_planner_params.yaml looks as follows:
All plugins worked with regular move_base. All plugins were loaded successfully without error when calling the mbf-launchfile. Has somebody any idea what could be the issue?