Exemplo n.º 1
0
 def max_placeable_height_on_deck(self, placeable):
     """
     :param placeable:
     :return: Calibrated height of container in mm from
     deck as the reference point
     """
     offset = placeable.top()[1]
     placeable_coordinate = add(
         pose_tracker.absolute(self.poses, placeable), offset.coordinates)
     placeable_tallest_point = pose_tracker.max_z(self.poses, placeable)
     return placeable_coordinate[2] + placeable_tallest_point
Exemplo n.º 2
0
def test_max_z(state):
    assert max_z(state, '1') == 23.0
Exemplo n.º 3
0
 def max_deck_height(self):
     return pose_tracker.max_z(self.poses, self._deck)