Using Smach and SimpleActionState
I have some questions about using SimpleActionState with Smach:
- How does one define/set the action as succeeded, preempted, or aborted? Or is this set in the actionlib server using set_succeeded, etc.?
- If this is set using the actionlib server can I still have a custom outcome? If yes, how?
- Do I still need to define a new class or function to handle the states or do I just have to add the states (using StateMachine.add)?
- Do I need to manually run actionlib servers or is this automatically run by smach?