Skip to content

Commit

Permalink
populate floorplan name to msg
Browse files Browse the repository at this point in the history
Non-critical change. This helps in debugging in here: osrf/rmf_schedule_visualizer#78
  • Loading branch information
youliangtan committed Sep 16, 2020
1 parent 72eedd9 commit 2079c4b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ def level_msg(self, level):
if level.drawing_name:
image = AffineImage()
image_filename = level.drawing_name
image.name = image_filename.split('.')[0]
image.encoding = image_filename.split('.')[-1]
image.scale = level.transform.scale
image.x_offset = level.transform.translation[0]
Expand Down

0 comments on commit 2079c4b

Please sign in to comment.