Sending an action to change to any SMACH state

asked 2017-06-04 13:55:16 -0500

mr-hudson gravatar image

updated 2017-06-04 13:55:42 -0500

I am using SMACH to create state machines. Suppose I have a state that is currently executing, I would like to find a way to switch from that state to any other state I specify at any time by sending an action. What are the appropriate ways of doing this?

edit retag flag offensive close merge delete

Comments

Not an answer, but: I'm not sure state machines are supposed to work like that. How would you see "switch from that state to any other state" working if there are no transitions between your current and target state?

gvdhoorn gravatar image gvdhoorn  ( 2017-06-07 00:57:16 -0500 )edit