Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Scaling problem with Occupancy Grid and (Google) Maps #761

Open
Mario2407 opened this issue Aug 4, 2022 · 0 comments
Open

Scaling problem with Occupancy Grid and (Google) Maps #761

Mario2407 opened this issue Aug 4, 2022 · 0 comments

Comments

@Mario2407
Copy link

Hi,
I want to visualize an occupancy grid and also the Google Maps map. I use https://github.com/danielsnider/MapViz-Tile-Map-Google-Maps-Satellite for getting the maps data and I use some sort of SLAM with RTK (GPS) and building the map via Octomap.
I set the map frame origin with the first RTK message I receive.

The problem is, that I set the transform from /wgs84 to the map with the exact same coordinates and the origin of the occupancy grid (0,0) exactly matches with the coordinates of google maps (lat/lon 45,.../12,...).

For some reason when i go +1m in the map with my cursor, also the lat is changing +1. So it is out of scale.

Is there any known solution for scaling the map and/or occupancy grid?

Thanks!
Mario

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant