30 float update(
float currentASL_m);
49 bool launched =
false;
50 float estimatedGroundLevel_m = 0.0F;
51 uint32_t sampleCount = 0;
GroundLevelEstimator()
Constructs a GroundLevelEstimator.
void launchDetected()
Signals that launch has been detected.
float getEGL() const
Gets the estimated ground level.
float update(float currentASL_m)
Updates the ground level estimate or converts ASL to AGL.