ANYbotics / elevation_mapping

Robot-centric elevation mapping for rough terrain navigation
BSD 3-Clause "New" or "Revised" License
1.25k stars 436 forks source link

Leveraging grid map history displayed in Rviz #200

Closed sarahnator closed 2 years ago

sarahnator commented 2 years ago

I noticed that Rviz displays a cache of grid maps, does elevation_mapping make it possible to access this historical grid map through the code interface? It seems that the topics publish just the instantaneous elevation map and the services make it possible to only access a submap portion unless I am mistaken.

Magnusgaertner commented 2 years ago

Hi @sarahnator,

The cache happens on the client side (the rviz plugin for grid_map). Here, the cache allows displaying the n most recent messages for a given grid_map topic.

elevation_mapping does not store an explicit history of grid_maps, but uses an online filtering approach (Kalman filter) to update an estimate of the current state.

If you wish to have such functionality, I suggest to either

Best, Magnus