Skip to content

Commit

Permalink
Only publish the first drawing
Browse files Browse the repository at this point in the history
Signed-off-by: Luca Della Vedova <[email protected]>
  • Loading branch information
luca-della-vedova committed Apr 5, 2024
1 parent 9c0ec49 commit 57f33c6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rmf_building_map_tools/building_map_server/site.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,9 @@ def parse_level(map_dir, data):
if "yaw" in props["pose"]["rot"]:
yaw = parse_angle(props["pose"]["rot"]["yaw"])
level_msg.images.append(image)
# TODO(luca) multiple drawings are not compatible with the rest of the pipeline
# Revisit when this is not the case
break
else:
pass
#self.get_logger().error(f'unable to open image: {image_path}')
Expand Down

0 comments on commit 57f33c6

Please sign in to comment.