GetCurrentPose
Obtains the current pose from TF and places it on the blackboard for other nodes to use.
Input Ports
robot_base_frame
- Type:
stringDefault:N/A -
Robot base frame to transform poses to if not given in the same frame. If not provided, uses the BT Navigator's
base_frameparameter value (base_linkby default).
global_frame
- Type:
stringDefault:N/A -
Global frame to transform poses to if not given in the same frame. If not provided, uses the BT Navigator's
global_frameparameter value (mapby default).
Output Ports
current_pose
- Type:
geometry_msgs::msg::PoseStampedDefault:N/A -
The current pose in the global frame.
Example
<GetCurrentPose current_pose="{current_pose}"/>