Guide to action client state ID numbers
I'm writing an action server, and I got an unhelpful error message:
/my_action_server set_canceled:120: To transition to a cancelled state, the goal must be in a pending, recalling, active, or preempting state, it is currently in state: 2
The message is unhelpful becasue I don't know what state "2" is. I've found this documentation about action servers, but it doesn't say which state is "2".
I would like to know the indices of the various states so that I can debug my action server.