How to kill a smach state machine inside an ActionServerWrapper
Hi there!
I can't find a way to kill an action server I have created using smach and its action server wrapper.
Once the action server is started (my_action_server_wrapper.run_server()
), I'm not able to kill it using "ctrl + c".
I tried "try + except" without luck. Currently I'm starting a second instance with the same name, what makes the first one stop. But this is not really a suitable solution.
Thanks for your help!