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

list action servers

asked 2015-12-17 22:59:43 -0500

Fry gravatar image

How can I get a list of the names of action servers?

Is there also a way to get a list of the actions that a given action server has?

Using either a cmd line or python would be preferable for me. Thanks!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-12-18 01:45:25 -0500

peci1 gravatar image

Each action server publishes 5 topics (my server is named test below):


So you can e.g. use grep to the output of rostopic list to get the list of available actions, e.g.

rostopic list | grep -o -P '^.*(?=/feedback)'
edit flag offensive delete link more



While this works very well for me, I also opened a ticket for a new feature

130s gravatar image 130s  ( 2016-02-01 04:39:48 -0500 )edit

Question Tools



Asked: 2015-12-17 22:59:43 -0500

Seen: 14,628 times

Last updated: Dec 18 '15