ethz-asl / grid_map_geo

Geolocalization for grid map using GDAL.
BSD 3-Clause "New" or "Revised" License
141 stars 19 forks source link

Install resource folder and use correct topic for rviz elevation map #40

Closed Ryanf55 closed 9 months ago

Ryanf55 commented 9 months ago

I added a symlink to the terrain-models, and this gets it installed from the source tree. The resource folder needs to be installed and will be empty for people who don't have sargans.tif. In order for it to be tracked by git and not fail the build in case its empty, I added a placeholder .gitkeep folder.

RVIZ was subscribed to the wrong topic, so I fixed that too.

With the above changes, the XML launch file works:

ros2 launch grid_map_geo load_tif_launch.xml

image

Ryanf55 commented 9 months ago

Edit: It's actually just not using the namespace on the XML launch files, but is using the namespace on the python launch files. A better fix for RVIZ not subscribing to the correct topic would be to make them all consistent. I'll implement that then bring it back out of draft.