def __init__(self, pocket_name):
GazeboObject.__init__(self, pocket_name)
self._active = None
self._last_time_active = None
self._off_delay = 0.1
rospy.Subscriber("/"+pocket_name+"/contact", Int8, self.update_state)
评论列表
文章目录