ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I find the notion of action server "limited" to one goal rather restrictive... Is it possible to have a process with more than one action server?
There is a difference between limitation to one goal and limitation to one action server.
SimpleActionServer
is limited to one goal; whenever there is a new incoming goal, the currently pending goal is cancelled. This behaviour is a simplification of the actionlib API which catches most use cases.actionlib
API directly (without the SimpleActionServer
). You could have multiple goals executing in parallel, queue goals, and generally do whatever you want.Just a side remark: if you have separate functionalities which you would ordinarily implement as separate ROS nodes, but which have to run in the same process for technical reasons, you could consider implementing them as nodelets.