Skip to content

Commit 57f33c6

Browse files
Only publish the first drawing
Signed-off-by: Luca Della Vedova <[email protected]>
1 parent 9c0ec49 commit 57f33c6

File tree

1 file changed

+3
-0
lines changed
  • rmf_building_map_tools/building_map_server

1 file changed

+3
-0
lines changed

rmf_building_map_tools/building_map_server/site.py

+3
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,9 @@ def parse_level(map_dir, data):
127127
if "yaw" in props["pose"]["rot"]:
128128
yaw = parse_angle(props["pose"]["rot"]["yaw"])
129129
level_msg.images.append(image)
130+
# TODO(luca) multiple drawings are not compatible with the rest of the pipeline
131+
# Revisit when this is not the case
132+
break
130133
else:
131134
pass
132135
#self.get_logger().error(f'unable to open image: {image_path}')

0 commit comments

Comments
 (0)