Example #1
0
    def __init__(self):
        smach.State.__init__(self,
                             outcomes=[
                                 'done_segmenting', 'segmentation_failed',
                                 'restart_segmentation', 'no_objects'
                             ],
                             output_keys=['object_points', 'object_name'])

        self.sensors = SensorHandler()
        self.scene = SceneHandler()
Example #2
0
    def __init__(self):
        smach.State.__init__(self,
                             outcomes=[
                                 'done_segmenting', 'segmentation_failed',
                                 'restart_segmentation', 'no_objects'
                             ],
                             output_keys=['object_points', 'object_name'])

        #self.sensors = SensorHandler()
        self.scene = SceneHandler()
        self.orkClient = actionlib.SimpleActionClient('ork_tabletop',
                                                      TabletopAction)
        self.point_pub = rospy.Publisher('object_points', PointCloud2)
Example #3
0
 def __init__(self):
     smach.State.__init__(self,
                          outcomes=['drop_done'],
                          input_keys=['object_name'])
     self.drop = DropHandler()
     self.scene = SceneHandler()