Closed juangallostra closed 6 years ago
A possible approach would be to place the rangefinder looking upwards. This way obstacles do not affect the measurements. Think about it.
Clever idea -- but how about going through doorways? ;^)
I am switching to another approach in order to perform altitude estimation. So far it looks more promising: https://github.com/juangallostra/Range-Baro-AltitudeEstimation.
Closing the issue since I don't think I will work anymore on this.
A possible approach: Start by simply substituting the rangefinder for the baro, then see whether all three (rangefinder, baro, accel) could be incorporated. One thing worth looking into is the AGL (Above Ground Level) versus ASL (Above Sea Level) issue. An optimal solution would probably compute ASL, and would have some conditional like "If rangefinder reading changes suddenly (faster than some threshold) while baro remains constant (or gradual), vehicle is above a ground obstacle, and ASL is unchanged"