[ros-users] Smach nested state machines

Ruddick Lawrence mrjogo at gmail.com
Tue Sep 28 16:59:13 UTC 2010


Hi,

I recently started using SMACH for a non-ROS project, and so far it is
great. One thing I was wondering is if there is a way to have transitions
from nested state machines without having to wire it up from each of the
substates. I attached a picture to illustrate what I mean: for example if a
reset key is pressed, is there a way to self-transition SUB without having
to have FOO and BAR (and any other substates I might want) all check if the
reset button is pressed. I'm pretty sure I'm just not looking at it the
right way. Thanks!

Ruddick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osuosl.org/pipermail/ros-users/attachments/20100928/162e9c2f/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: state_machine_nested_modified.png
Type: image/png
Size: 28953 bytes
Desc: not available
URL: <http://lists.osuosl.org/pipermail/ros-users/attachments/20100928/162e9c2f/attachment-0004.png>


More information about the ros-users mailing list