ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

In ROS 2 actions are now a combination of asynchronous service requests and have the optional status and feedback topics for monitoring progress. This is a better match for the semantics of the way actions are intended to work with a one to one ratio of request to execution. (In ROS 1 if two servers were running on the same namespace you'd have race conditions on execution especially interleaving feedback and multiple potential responses with race conditions.

Currently there is not a way to monitor the request and response outside of the server or client as the service requests are one-to-one.

However there is active work to add service introspection capabilities: https://github.com/ros-infrastructure/rep/pull/360 which should allow this sort of introspection in the future.