bluerobotics / ping-firmware

Repository for binary files associated with ping devices
5 stars 8 forks source link

Don't report distance if there is no confidence #20

Open patrickelectric opened 3 years ago

patrickelectric commented 3 years ago

Right now the sensor tries to fix in any possible distance/measure, this should be avoided, the sensor should only report distance when it has the confidence that there is a real tracking point.

We may want to report distance 0 if it's invalid.

For more information: https://discuss.bluerobotics.com/t/ping-sonar-operating-out-of-range/7903