GoalReached
Checks the distance to the goal, if the distance to goal is less than the pre-defined threshold, the tree returns SUCCESS, otherwise it returns FAILURE.
Parameter
transform_tolerance
Defined and declared in Behavior-Tree Navigator.
goal_reached_tol
- Type:
doubleDefault:0.25 -
Tolerance of accepting pose as the goal (m).
Example
bt_navigator:
ros__parameters:
# other bt_navigator parameters
transform_tolerance: 0.1
goal_reached_tol: 0.25
Input Ports
goal
- Type:
geometry_msgs::msg::PoseStampedDefault:N/A -
Destination to check. Takes in a blackboard variable, e.g. "{goal}". The global reference frame is taken from the goal's header
frame_idfield.
robot_base_frame
- Type:
stringDefault:N/A -
Robot base frame. If not provided, uses the BT Navigator's
robot_base_frameparameter value (base_linkby default).
Example
<GoalReached goal="{goal}" robot_base_frame="base_link"/>