ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Riko's profile - activity

2018-05-17 10:15:12 -0500 received badge  Taxonomist
2015-09-30 06:03:33 -0500 received badge  Famous Question (source)
2014-06-30 07:48:12 -0500 received badge  Notable Question (source)
2013-10-16 02:08:31 -0500 received badge  Popular Question (source)
2013-08-30 10:56:25 -0500 received badge  Editor (source)
2013-08-30 10:55:23 -0500 asked a question Can smach userdata be any object?

I'm using smach to structure an hierarchical state machine. The top level fsm (top_fsm) has an object from class Listener which basically has a set of subscribers and data loggers.

Structured that way, the msgs coming in and logged independently of the fsm. However, I'd like all the states and substates in the fsm to have access to the listener, its members and methods. Based on members, the states compute the predefined conditions for transitions.

Can the "userdata" attribute have one of its "input_keys" as that Listener object? Any help is appreciated.

Riko