-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
def append_habitat_infos(self):
for obj in self.scene.objects:
obj_id = int(obj.id.split("_")[1])
if obj_id in self.id2obj_idx:
self.objects[self.id2obj_idx[obj_id]].aabb_center = obj.aabb.center.tolist()
self.objects[self.id2obj_idx[obj_id]].aabb_dims = obj.aabb.sizes.tolist()
self.objects[self.id2obj_idx[obj_id]].obb_center = obj.obb.center.tolist()
self.objects[self.id2obj_idx[obj_id]].obb_dims = obj.obb.sizes.tolist()
self.objects[self.id2obj_idx[obj_id]].obb_rotation = obj.obb.rotation.tolist()
self.objects[self.id2obj_idx[obj_id]].obb_local_to_world = obj.obb.local_to_world.tolist()
self.objects[self.id2obj_idx[obj_id]].obb_world_to_local = obj.obb.world_to_local.tolist()
self.objects[self.id2obj_idx[obj_id]].obb_volume = obj.obb.volume
self.objects[self.id2obj_idx[obj_id]].obb_half_extents = obj.obb.half_extents.tolist()The code here in "create_hm3dsem_walks_gt.py" with habitat-sim=0.3.3 will make the program crash, since variables like "obj.aabb.center" are no longer numpy arrays.
For me, downgrading habitat-sim to 0.3.2 solve the promblem.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels