Warning status action server

Hello,

I wonder why the action server always return with a status of WARNING (3), independent if i use the node wait_for_result_test.py or no_wait_for_result_test.py. So i dont know how to get the state DONE

Also i looked into the documentation from the library and i get more states and i couldnt figure it out :sweat_smile:

Thanks for your help

Hi @acevedos.alejandro,

You will know how to set an action server as succeeded if you look at the sample code. You should have something like (not necessarily exactly) the following block at the end of your action server code:

self._result = Empty()
self._as.set_succeeded(self._result)