Unit 05 · lesson
Inspect Action Clients and Servers
With Turtlesim and teleop running, ask the graph about actions.
List actions
ros2 action list
The official tutorial shows:
/turtle1/rotate_absolute
Show types too:
ros2 action list -t
Ask for the type
ros2 action type /turtle1/rotate_absolute
Expected type:
turtlesim/action/RotateAbsolute
Inspect clients and servers
ros2 action info /turtle1/rotate_absolute
The tutorial identifies teleop as an action client and Turtlesim as the server.
You can cross-check from each node:
ros2 node info /turtlesim
ros2 node info /teleop_turtle
Read the action interface
ros2 interface show turtlesim/action/RotateAbsolute
The three sections correspond to goal, result, and feedback.
Checkpoint
Create an action card:
Action name:
Type:
Client node:
Server node:
Goal field(s):
Result field(s):
Feedback field(s):