From 51c0289529046ed4903c69f486079b253ece1ca2 Mon Sep 17 00:00:00 2001 From: "Michael X. Grey" Date: Mon, 20 Nov 2023 03:20:31 +0000 Subject: [PATCH] Include door information in nav graphs Signed-off-by: Michael X. Grey --- rmf_building_map_tools/building_map/building.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rmf_building_map_tools/building_map/building.py b/rmf_building_map_tools/building_map/building.py index c35157e53..a0ab55db2 100644 --- a/rmf_building_map_tools/building_map/building.py +++ b/rmf_building_map_tools/building_map/building.py @@ -376,7 +376,7 @@ def generate_nav_graphs(self): empty = False for door_edge in level.doors: - door_edge.calc_statistics(self.transformed_vertices) + door_edge.calc_statistics(level.transformed_vertices) g['doors'][door_edge.params['name'].value] = { 'endpoints': [ [door_edge.x1, door_edge.y1],