From 1f8453d435f65ecbf8203a8824b0399a21c4ea7f Mon Sep 17 00:00:00 2001 From: Pradheep-office Date: Thu, 24 Mar 2022 11:11:48 +0100 Subject: [PATCH 1/3] add the missing ports and description --- .../compute_path_through_poses_action.hpp | 2 +- .../action/compute_path_to_pose_action.hpp | 2 +- nav2_behavior_tree/nav2_tree_nodes.xml | 27 +++++++++++++++++-- 3 files changed, 27 insertions(+), 4 deletions(-) diff --git a/nav2_behavior_tree/include/nav2_behavior_tree/plugins/action/compute_path_through_poses_action.hpp b/nav2_behavior_tree/include/nav2_behavior_tree/plugins/action/compute_path_through_poses_action.hpp index 811ee005a2..588d54ae4b 100644 --- a/nav2_behavior_tree/include/nav2_behavior_tree/plugins/action/compute_path_through_poses_action.hpp +++ b/nav2_behavior_tree/include/nav2_behavior_tree/plugins/action/compute_path_through_poses_action.hpp @@ -68,7 +68,7 @@ class ComputePathThroughPosesAction "Destinations to plan through"), BT::InputPort( "start", "Start pose of the path if overriding current robot pose"), - BT::InputPort("planner_id", ""), + BT::InputPort("planner_id", "Mapped name to the planner plugin type to use"), }); } }; diff --git a/nav2_behavior_tree/include/nav2_behavior_tree/plugins/action/compute_path_to_pose_action.hpp b/nav2_behavior_tree/include/nav2_behavior_tree/plugins/action/compute_path_to_pose_action.hpp index 2528a5ce20..65c07f6b05 100644 --- a/nav2_behavior_tree/include/nav2_behavior_tree/plugins/action/compute_path_to_pose_action.hpp +++ b/nav2_behavior_tree/include/nav2_behavior_tree/plugins/action/compute_path_to_pose_action.hpp @@ -63,7 +63,7 @@ class ComputePathToPoseAction : public BtActionNode("goal", "Destination to plan to"), BT::InputPort( "start", "Start pose of the path if overriding current robot pose"), - BT::InputPort("planner_id", ""), + BT::InputPort("planner_id", "Mapped name to the planner plugin type to use"), }); } }; diff --git a/nav2_behavior_tree/nav2_tree_nodes.xml b/nav2_behavior_tree/nav2_tree_nodes.xml index 8a5e81a830..92052398a4 100644 --- a/nav2_behavior_tree/nav2_tree_nodes.xml +++ b/nav2_behavior_tree/nav2_tree_nodes.xml @@ -11,6 +11,8 @@ Distance to backup Speed at which to backup Allowed time for reversing + Service name + Server timeout @@ -35,25 +37,32 @@ Service name + Server timeout Destination to plan to Start pose of the path if overriding current robot pose + Mapped name to the planner plugin type to use + Service name + Server timeout Path created by ComputePathToPose node - Destinations to plan through Start pose of the path if overriding current robot pose + Service name + Server timeout + Mapped name to the planner plugin type to use Path created by ComputePathToPose node - Input goals to remove if passed Radius tolerance on a goal to consider it passed + Global frame + Robot base frame Set of goals after removing any passed @@ -71,14 +80,20 @@ Path to follow Goal checker + Service name + Server timeout Goal + Service name + Server timeout Goals + Service name + Server timeout @@ -111,15 +126,21 @@ Spin distance Allowed time for spinning + Service name + Server timeout Wait time + Service name + Server timeout Destination + Reference frame + Robot base frame @@ -173,6 +194,8 @@ Distance + Reference frame + Robot base frame From 8d3a7b8bb028752c9cc0844fb69b91d8aff266a7 Mon Sep 17 00:00:00 2001 From: Pradheep-office Date: Thu, 24 Mar 2022 12:00:34 +0100 Subject: [PATCH 2/3] update --- nav2_behavior_tree/nav2_tree_nodes.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nav2_behavior_tree/nav2_tree_nodes.xml b/nav2_behavior_tree/nav2_tree_nodes.xml index 92052398a4..088dbb5dfb 100644 --- a/nav2_behavior_tree/nav2_tree_nodes.xml +++ b/nav2_behavior_tree/nav2_tree_nodes.xml @@ -97,6 +97,8 @@ + Service name + Server timeout From e9d5bc1570b2123d1f193a0db369ebd143d1fe6f Mon Sep 17 00:00:00 2001 From: Pradheep-office Date: Fri, 25 Mar 2022 14:06:26 +0100 Subject: [PATCH 3/3] update --- .../plugins/action/compute_path_through_poses_action.hpp | 4 +++- .../plugins/action/compute_path_to_pose_action.hpp | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/nav2_behavior_tree/include/nav2_behavior_tree/plugins/action/compute_path_through_poses_action.hpp b/nav2_behavior_tree/include/nav2_behavior_tree/plugins/action/compute_path_through_poses_action.hpp index 588d54ae4b..f9f233c233 100644 --- a/nav2_behavior_tree/include/nav2_behavior_tree/plugins/action/compute_path_through_poses_action.hpp +++ b/nav2_behavior_tree/include/nav2_behavior_tree/plugins/action/compute_path_through_poses_action.hpp @@ -68,7 +68,9 @@ class ComputePathThroughPosesAction "Destinations to plan through"), BT::InputPort( "start", "Start pose of the path if overriding current robot pose"), - BT::InputPort("planner_id", "Mapped name to the planner plugin type to use"), + BT::InputPort( + "planner_id", "", + "Mapped name to the planner plugin type to use"), }); } }; diff --git a/nav2_behavior_tree/include/nav2_behavior_tree/plugins/action/compute_path_to_pose_action.hpp b/nav2_behavior_tree/include/nav2_behavior_tree/plugins/action/compute_path_to_pose_action.hpp index 65c07f6b05..105b52fbf6 100644 --- a/nav2_behavior_tree/include/nav2_behavior_tree/plugins/action/compute_path_to_pose_action.hpp +++ b/nav2_behavior_tree/include/nav2_behavior_tree/plugins/action/compute_path_to_pose_action.hpp @@ -63,7 +63,9 @@ class ComputePathToPoseAction : public BtActionNode("goal", "Destination to plan to"), BT::InputPort( "start", "Start pose of the path if overriding current robot pose"), - BT::InputPort("planner_id", "Mapped name to the planner plugin type to use"), + BT::InputPort( + "planner_id", "", + "Mapped name to the planner plugin type to use"), }); } };