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

One Action Client to Many Action Servers

asked 2016-09-05 14:34:42 -0500

adrianohrl gravatar image

I would like to know if is it possible to set a single action client to many action servers configuration, such that I can broadcast a specific action type to many servers in the same action namespace.

The number of servers is variable and can grow significantly. So, it is undesired to have one action client for each action server in the client central node.

Each server will accept only related actions via a filter.

So, is there a way to set actionlib to keep controlling actions in such configuration?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2016-09-05 14:44:42 -0500

dornhege gravatar image

Guesstimate answer: Maybe. The major problem will be that action clients manage individual action requests. So, if there are suddenly multiple replies (this includes one accepting an action, but 5 others rejecting), it is probably going to be confused. If you can guarantee that not happening (maybe via a small filter), you can put a broadcast 1:n node in between, where all relevant client topics are relayed to multiple servers. Treat with a lot of care, though!

edit flag offensive delete link more

Comments

I've already tried to do that, however I got this message:

adrianohrl gravatar image adrianohrl  ( 2016-09-06 09:41:12 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2016-09-05 14:34:42 -0500

Seen: 622 times

Last updated: Sep 05 '16