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

actions and services cons and pron

asked 2012-03-26 02:58:50 -0500

navidnabavi gravatar image

I want to know what differences that actions and services have in work and use? when to use actions and when to use services in ros nodes? And what cons and pron have been defined for them?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-03-26 03:47:10 -0500

michikarg gravatar image

ROS actions are intended for robot-actions that are expected to take a "longer" time. They provide a status where you can past the current expected status of the action (e.g. percentage or similar). For services, you will only get a result but no periodic status feedback. Furthermore, ROS actions offer the possibility to cancel the current action.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2012-03-26 02:58:50 -0500

Seen: 606 times

Last updated: Mar 26 '12