[rospy, smach] CBState to class callback? [closed]
Hi folks,
I'm trying to call a callback through a smach.CBState
that is a member of a class. The first parameter that is given to the callback is not self
like I would expect, but userdata
instead. So I cannot use class members inside the callback as they don't exist in the given userdata
.
Any idea on how I can do that?
Thanks a lo!
Cheers, Hendrik
Hi, I am facing the same issue, could you please point towards where this could be resolved ?
Cheers, Amar