From 9977b7fe8b58bfdeb57a01edc9ceb7d0b3052283 Mon Sep 17 00:00:00 2001 From: Pradheep Krishna Date: Fri, 25 Mar 2022 18:50:19 +0100 Subject: [PATCH] add the missing ports and description for the XML nodes (#2866) * add the missing ports and description * update * update --- .../compute_path_through_poses_action.hpp | 4 ++- .../action/compute_path_to_pose_action.hpp | 4 ++- nav2_behavior_tree/nav2_tree_nodes.xml | 29 +++++++++++++++++-- 3 files changed, 33 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..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", ""), + 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..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", ""), + 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..088dbb5dfb 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,17 +80,25 @@ Path to follow Goal checker + Service name + Server timeout Goal + Service name + Server timeout Goals + Service name + Server timeout + Service name + Server timeout @@ -111,15 +128,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 +196,8 @@ Distance + Reference frame + Robot base frame