Skip to content

Commit

Permalink
🔨 Explicit cast lift.name to string in building_map_server to avoid R…
Browse files Browse the repository at this point in the history
…OS message Assertion Error. (#507)

Signed-off-by: Bey Hao Yun <[email protected]>
  • Loading branch information
cardboardcode authored Sep 17, 2024
1 parent f5d1381 commit be0240e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ def lift_msg(self, lift):
msg = Lift()
# transformation is already done in Lift class
msg.ref_x, msg.ref_y = lift.x, lift.y
msg.name = lift.name
msg.name = str(lift.name)
msg.levels = lift.level_names

msg.ref_yaw = lift.yaw
Expand Down

0 comments on commit be0240e

Please sign in to comment.