Refactor simulated scenes

This commit is contained in:
Michel Breyer
2021-09-07 22:29:42 +02:00
parent ce804cf273
commit fa4b0f07ad
6 changed files with 104 additions and 58 deletions

View File

@@ -7,8 +7,8 @@ from robot_helpers.ros.conversions import to_point_msg, from_point_msg
class AABBox:
def __init__(self, bbox_min, bbox_max):
self.min = bbox_min
self.max = bbox_max
self.min = np.asarray(bbox_min)
self.max = np.asarray(bbox_max)
@property
def corners(self):