NavigateThroughPoses
Invokes the NavigateThroughPoses ROS 2 action server, which is implemented by the bt_navigator module.
Input Ports
goals
- Type:
nav_msgs::msg::GoalsDefault:N/A -
Goal poses. Takes in a blackboard variable, e.g. "{goals}".
behavior_tree
- Type:
stringDefault:N/A -
Behavior tree absolute path or ID. If none is specified, NavigateThroughPoses action server uses a default behavior tree.
server_name
- Type:
stringDefault:N/A -
Action server name. If not specified,
navigate_through_posesis used.
server_timeout
- Type:
chrono::millisecondsDefault:N/A -
Action server timeout (ms). If not provided, uses the BT Navigator's
default_server_timeoutparameter value (20 ms by default).
Output Ports
error_code_id
- Type:
uint16Default:N/A -
The lowest error code in the list of the
error_code_name_prefixes+_error_codesuffix parameter.
error_msg
- Type:
stringDefault:N/A -
The error message associated with the lowest error code in the list of the
error_code_name_prefixes+_error_codesuffix parameter.
Example
<NavigateThroughPoses goals="{goals}" server_name="NavigateThroughPoses" server_timeout="10"
error_code_id="{navigate_through_poses_error_code}" error_msg="{navigate_through_poses_error_msg}"
behavior_tree="<some-path>/behavior_trees/navigate_through_poses_w_replanning_and_recovery.xml"/>