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

Enric Galceran's profile - activity

2021-06-29 08:04:39 -0500 received badge  Student (source)
2020-07-29 01:37:39 -0500 received badge  Taxonomist
2013-06-05 00:06:45 -0500 received badge  Famous Question (source)
2013-06-05 00:06:45 -0500 received badge  Notable Question (source)
2013-01-30 00:40:50 -0500 received badge  Popular Question (source)
2013-01-29 19:52:12 -0500 received badge  Supporter (source)
2013-01-29 19:52:10 -0500 received badge  Scholar (source)
2013-01-22 01:39:06 -0500 asked a question actionlib blocking subscription callbacks

Hi,

I'm using Python, ROS Fuerte and Ubuntu 12.04.

I have an actionlib server as part of a node that subscribes to a certain topic. Subscription callbacks are attended normally, but when an the actionlib server executes its callback to dispatch a goal, no subscription callbacks are called, although data is continuously published on the topics this node is subscribed to.

I tried putting the actionlib server in a separate thread but nothing changes.

Any ideas?

Thank you,

2012-08-28 01:37:11 -0500 received badge  Notable Question (source)
2012-08-28 01:37:11 -0500 received badge  Popular Question (source)
2012-08-28 01:37:11 -0500 received badge  Famous Question (source)
2011-08-29 08:47:23 -0500 marked best answer actionlib - SimpleActionServer - Accept new goal only on certain condition

if you want more advanced goal behavior you should use the actionserver instead of the simpleactionserver see the actionlib documentation: http://www.ros.org/wiki/actionlib

2011-06-16 21:48:57 -0500 asked a question actionlib - SimpleActionServer - Accept new goal only on certain condition

Hi,

I couldn't come up with an easy way to do the following having a look at actionlib's source code and documentation:

If I'm right, SimpleActionServer's default policy is to cancel the active goal upon a new goal arrival. What I try to do is make the server only accept a new goal if the goal parameters meet certain condition.

For instance, supose that my goal have an integer parameter called "priority". I'd like a new goal to be accepted (hence preemping the active goal) by the server if the new arrived goal priority is bigger than the active's.

Is it possible to do this by only using SimpleActionServer's ExecuteCallback?

Thanks,