open-rmf/rmf-web

The waypoints of the multi-floor world displays the dislocation on the map

liugehaizaixue opened this issue · 2 comments

Bug report

Required information:

  • Operating system and version:
    • Ubuntu 20.04
  • OpenRMF installation type:
    • From source
  • ROS distribution and version:
    • galactic

Description of the bug

In the web page, the waypoints of the multi-floor world displays the dislocation on the map.
I created a multi-floor world. However, after I correctly drew the path in 'traffic editor', I opened 'rmf-web' and made the following error: Except for the first floor, the point positions of other floors are misplaced. As shown in the figure below.

Expected behavior

Waypoints should be in the correct position

Actual behavior

Except for the first floor, the location of waypoints is chaotic

Screenshots

image
image

Hello! This is due to the limitations of using react-leaflet, we are in the midst of migrating away from it. However it is not our current priority.

As a workaround, you can modify the map floor plans to have the exact same number of pixels, with the correct components layered on top of each other, example

Note that the floor plans are layered directly over each other, lifts are in the same pixel locations as well.