[rospy, smach] CBState to class callback? [closed]

asked 2014-06-05 11:12:40 -0500

Hendrik Wiese gravatar image

updated 2014-06-05 11:13:10 -0500

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

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2017-08-15 15:19:43.682543

Comments

Hi, I am facing the same issue, could you please point towards where this could be resolved ?

Cheers, Amar

amarbanerjee23 gravatar image amarbanerjee23  ( 2017-09-01 07:21:47 -0500 )edit