Skip to content

Commit

Permalink
Add more default error_code_name_prefixes (ros-navigation#4341)
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Wake <[email protected]>
  • Loading branch information
ewak committed Feb 11, 2025
1 parent 75c3cb3 commit d84b5b7
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,17 @@ BtActionServer<ActionT>::BtActionServer(
}

std::vector<std::string> error_code_name_prefixes = {
"follow_path",
"assisted_teleop",
"backup",
"compute_path",
"dock_robot",
"drive_on_heading",
"follow_path",
"nav_thru_poses",
"nav_to_pose",
"spin",
"undock_robot",
"wait",
};

if (node->has_parameter("error_code_names")) {
Expand Down
9 changes: 9 additions & 0 deletions nav2_bringup/params/nav2_params.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,17 @@ bt_navigator:
# plugin_lib_names: []

error_code_name_prefixes:
- assisted_teleop
- backup
- compute_path
- dock_robot
- drive_on_heading
- follow_path
- nav_thru_poses
- nav_to_pose
- spin
- undock_robot
- wait

controller_server:
ros__parameters:
Expand Down

0 comments on commit d84b5b7

Please sign in to comment.