rework logic that discards old data
authorSylvain Joyeux <sylvain.joyeux@dfki.de>
Thu, 14 Nov 2013 15:33:29 +0000 (16:33 +0100)
committerSeekurJr <seekurjr@SeekurJr>
Thu, 14 Nov 2013 16:32:02 +0000 (17:32 +0100)
commit800d1d99bc6c50b1f22ac85ac43abc5c38c221e2
tree9c99683bdd1c2d82bb5b992630161b77a6db1da8
parentaaffe5fe5fa37f28f7591a5be037dc12de40f082
rework logic that discards old data

Instead of discarding data based on the number of times the cell
got hit, discard it based on its actual age. This avoid the issue
of keeping forever information on cells that we saw once upon a
time.
src/ElevationGrid.cpp
src/ElevationGrid.h