ROS services and actions enable users to perform tasks. Services use request-response communication to gather information and trigger callback functions in the ROS network. Actions can be used to trigger tasks or goals and receive feedback during operation of these tasks.
Call Service | Call service in ROS network |
ROS supports two main communication mechanisms: topics and services.
ROS action workflow and communication protocols
Move a Turtlebot Robot Using ROS Actions
This example shows how to use the /turtlebot_move
action with a Turtlebot robot.