SimpleActionState behaviour if action server crashes
I am using SMACH with SimpleActionState, and I would like to be able to tell if the action server crashes during the execution. For the moment, if the server crashes, the SimpleActionState waits for the result for infinite time.
I thought about using exec_timeout when constructing the SimpleActionState, but didn't succeeded because if the server crashed, it will never manage the preempt request sent after the exec timeout.
Is there an alternative to handle these issues with the action server ?