ros2_action_send_goal
Send a goal to a ROS2 action server and wait for the result, enabling remote control and verification of robotics applications.
Instructions
Send a goal to a ROS2 Action server and optionally wait for result.
Args:
action_name: Name of the action (e.g. '/navigate_to_pose')
action_type: Action type identifier (e.g. 'nav2_msgs/action/NavigateToPose')
goal_data: Goal definition as JSON dict
wait_for_result: Whether to block until goal completes or times out
timeout_sec: Maximum timeout to wait for result
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal_data | Yes | ||
| action_name | Yes | ||
| action_type | Yes | ||
| timeout_sec | No | ||
| wait_for_result | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |