You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm reading the documents of the generic State class and trying to use it with ROS system. I'm just curious when does the execute function of the State class get called?
classFoo(smach.State):
def__init__(self, outcomes=['outcome1', 'outcome2']):
# Your state initialization goes here# When does this function get called? <---------------defexecute(self, userdata):
# Your state execution goes hereifxxxx:
return'outcome1'else:
return'outcome2'
The text was updated successfully, but these errors were encountered:
I'm reading the documents of the generic State class and trying to use it with ROS system. I'm just curious when does the
execute
function of the State class get called?The text was updated successfully, but these errors were encountered: