hmakelin / gisnav

Estimates airborne drone global position by matching video to map retrieved from onboard GIS server.
https://hmakelin.github.io/gisnav
MIT License
47 stars 19 forks source link

Enable use of elevation data for pose estimation #17

Closed hmakelin closed 2 years ago

hmakelin commented 2 years ago

Adds support for passing elevation rasters to pose estimator. For example, the WMS server could serve rasterized OSM Buildings as in the updated px4-sitl Docker image: https://github.com/hmakelin/gisnav-docker/pull/11, or a DEM raster (height relative to ground below drone). Using elevation rasters with height larger than 255 units (current implementation uses uint8 array for storing the elevation) has not been tested but there is a TODO left for it in the code.

Note: The Gazebo world buildings are featureless blocks so in the simulation (almost) all matched keypoints will be on the ground (z=0) plane.

Other: