-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Map image does not move #420
Comments
Thanks for filing the bug report. So that I can reproduce it easily, can you post the Cheers! -Morgan |
Thanks @codebot https://github.com/CLOBOT-Co-Ltd/clober_ros2_sim/tree/foxy-devel/maps/suntech_office |
Thanks for linking the repository. This looks like an interesting map! There are a few reasons for the map behavior you're seeing, and a few ways to move forward. The "Floorplan" image in this type of map is treated as the coordinate system. In other words, the upper-left pixel (0, 0) of the Floorplan image is treated as the origin of traffic-editor when it's running in As an alternative, if you do not have an architectural-drawing floorplan image, and would like to be able to move around several robot-generated maps, you could simply use a blank image (or no image) for the (fixed) floorplan image, and only add robot-generated maps as Layers. Then you could translate/rotate the robot layers as you see fit. As another alternative, if you build traffic-editor from source and create a new map, it now asks if you'd like to create a "geo-referenced" map when you create a new building. In that case, the fixed "floorplan images" are OpenStreetMap tiles, and all of the images you bring into the map, whether they are architectural drawings, robot maps, or anything else, are placed as layers, and all coordinates in that map are stored as latitude/longitude. There are a few caveats with this brand-new workflow, such as the need to specify a map projection, but it may be more flexible if you don't have a fixed architectural drawing to use as a reference image. Another caveat is that at time of writing, our tile server is only loaded with Singapore and Malaysia map data (I'm not sure which region you're in). We are currently bringing up a new tile server with the whole planet's data, but that will take a few more days. Cheers! |
@codebot However, when running the rmf package, there is a problem that the map is not loaded. This is new.building.yaml file
Thank you! |
I am having this same problem i am using ros2 humble |
Hi @Ishansehgal, The |
Bug report
Required information:
Description of the bug
Map image does not move.
How do I move the image to the origin?
Changing the value of "flattened x offset(meters)" doesn't move the image.
Map image does not move to origin even in rviz.
The text was updated successfully, but these errors were encountered: