ros2 action echo [--feedback] [--status] [--result] ACTION_NAME GOAL_UUID
# For example, getting feedback, status, and result messages:
$ ros2 action echo /fibonacci 152790028afb49a3b3c61383e6b97320
Feedback:
sequence: [0, 1, 1]
Feedback:
sequence: [0, 1, 1, 2]
Feedback:
sequence: [0, 1, 1, 2, 3]
Result:
sequence: [0, 1, 1, 2, 3]
Status: SUCCESS
# For example, only echo status and result messages:
$ ros2 action goal echo --status --result /fibonacci 152790028afb49a3b3c61383e6b97320
Result:
sequence: [0, 1, 1, 2]
Status: ABORTED
Feature request
Feature description
Analogous to topics and services, there should be a command line tool for actions:
Here is a list of tool capabilities and proposed signatures:
list action names associated with any running action servers or action clients
list action servers and action clients associated with an action name
display active goals on an action server
display the arguments for an action goal
display the type of an action's goal, feedback, and result
find actions by action type
echo feedback, status, and result for an action goal
send an action goal, display feedback as it is received, display the result when received, and cancel the action (when the tool is terminated):
In addition, the
ros2 node infocommand should also list actions associated with a give node. For example:Design document: ros2/design#193