Closed dean4ta closed 4 years ago
I believe this is a relevant issue
The default global planner is
base_global_planner (string, default: "navfn/NavfnROS")
But this is not listed in planners.yaml
Either add it to the config file or set the bgp
variable in the move_base_legacy_relay.py
Hi Sebastian,
Firstly thanks for the quick reply yesterday. As you suggested, the solution was to add to the planners.yaml
:
- name: 'navfn/NavfnROS'
type: 'navfn/NavfnROS'
In addition to that I also added to the controllers.yaml
:
- name: 'base_local_planner/TrajectoryPlannerROS'
type: 'base_local_planner/TrajectoryPlannerROS'
However, I found a bug with the move_base_legacy_relay
node with the bgp
, blp
, and parameters. When setting up the dynamic reconfigure server in this line the MoveBaseConfig is used and overwrites all parameters including bgp
, blp
. I made a hack fix by only changing bgp
and blp
when they are set to None
, but the rest of my parameters were still overwritten.
I am willing to make changes and submit a PR, but I want to know your thoughts.
Dean
Hi @dean4ta, not sure if I get the latest problem, but,,, what you said is correct, that is, that line triggers a first call to reconfigure that will use all the parameters that you define under 'move_base' namespace. So if you choose a base_local/global_planner, it will be added there:
Otherwise, the fields will contain the default values:
Background
Hi, I am trying to use move_base_flex to replace move_base so I am using move_base_flex with the
move_base_legacy_relay
node.Problem Statement
When I publish a
/move_base_simple/goal
message I am running into an error:[ERROR] ... The last action goal to "get_path" has been REJECTED
and a warning:[ WARN] ... No plugin loaded with the given name "navfn/NavfnROS"!
Initial Debug Notes
navfn
When I run:rospack find navfn
this returns/opt/ros/melodic/share/navfn
navfn
packageEnvironment
Ubuntu 18 Melodic Robot is Simulated Mapping and Localization with slam_toolbox
Output
Here is the entire output from running the move_base_flex node:
Launch File and config files
I modeled the launch and config files from https://github.com/uos/ceres_robot/tree/master/ceres_navigation
Here is my launch file for mbf:
I have attached my config files if those are helpful planners.yaml.txt controllers.yaml.txt costmap_common_params.yaml.txt local_costmap_params.yaml.txt global_costmap_params.yaml.txt
Any help would be greatly appreciated. Thanks, Dean