SimpleActionState doesn't abort on timeout
Hi, I am trying to use SMACH with a SimpleActionState for a Fibonacci action (presented in this tutorial. Everything worked fine until I tried to set the server_wait_timeout, to abort the action if the server is not running :
action_state = SimpleActionState('fibonacci', FibonacciAction, goal=FibonacciGoal(order=10), server_wait_timeout=rospy.Duration(10.0))
If the server is not running, the state doesn't abort and keeps waiting :
[WARN] 1305722502.537441: Still waiting for action server 'fibonacci' to start... is it running?
Edit: I have a similar problem when trying to use the exec and preempt timeouts :
action_state = SimpleActionState('fibonacci', FibonacciAction, goal=FibonacciGoal(order=10), exec_timeout=rospy.Duration(10.0), preempt_timeout=rospy.Duration(10.0))
If the action has not finished after 10s I have the following output :
[WARN] 1306926844.598188: Action fibonacci timed out after 10 seconds.
A preempt request should have been send, but if no result is received the action doesn't abort as expected, and the same output keeps printed.
Once again, am I missing something or is there a problem with the SimpleActionState implementation ?