send_ros2_action_goal
Sends a goal to a ROS 2 action server, specifying the action name, type, and goal message to trigger a task.
Instructions
Sends a goal to a ROS 2 action.
Args:
action_name: Name of the action
action_type: Action type (e.g., example_interfaces/action/Fibonacci)
goal: Goal message (e.g., "{order: 5}")
Example:
action_name: "/fibonacci"
action_type: "example_interfaces/action/Fibonacci"
goal: "{order: 5}"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | Yes | ||
| action_name | Yes | ||
| action_type | Yes |