def __init__(self): smach.State.__init__(self, outcomes=['default', 'hello', 'turn_away']) self._humans = Humans() # init subscriber rospy.Subscriber('/quori/PMA/Camera_info', Humans, self.cb_sub_humans)
def __init__(self): smach.State.__init__(self, outcomes=['default', 'many', 'noone', 'many_shy']) self._humans = Humans() # init subscriber rospy.Subscriber('/quori/PMA/Camera_info', Humans, self.cb_sub_humans)
def __init__(self): smach.State.__init__(self, outcomes=['default', 'walking_close', 'walking_close_fast', 'walking_away']) # init subscriber rospy.Subscriber('/quori/PMA/Camera_info', Humans, self.cb_sub_humans) self._humans = Humans() self._depthHistory = []
def __init__(self): smach.State.__init__(self, outcomes=['default', 'straight']) # init subscriber self._humans = Humans() self._depthHistory = [] self._squareDet = False # init subscriber rospy.Subscriber('/quori/PMA/Camera_info', Humans, self.cb_sub_humans)
def __init__(self): smach.State.__init__(self, outcomes=['default', 'close', 'far']) # init param self.closeDeterm = 20000 self.farDeterm = 25000 self.depth = -1.0 self._humans = Humans() # init subscriber rospy.Subscriber('/quori/PMA/Camera_info', Humans, self.cb_sub_humans)