Closed nakai-omer closed 1 year ago
Hi,
Distances to ground are stored as uints:
std::vector<unsigned> dist_to_ground_;
This causes the distances to always be rounded down, and thus provide wrong results. If for example, the distance is 0.9 meters, the stored value will be 0, causing false positives.
Hi,
Distances to ground are stored as uints:
This causes the distances to always be rounded down, and thus provide wrong results. If for example, the distance is 0.9 meters, the stored value will be 0, causing false positives.