lpe: fix incorrect setting of local_position.z_global

This commit is contained in:
Paul Riseborough
2017-12-07 08:20:16 +00:00
committed by Lorenz Meier
parent 8d89e5e40b
commit b5be990109
6 changed files with 7 additions and 1 deletions
@@ -31,6 +31,7 @@ void BlockLocalPositionEstimator::baroInit()
if (!_altOriginInitialized) {
_altOriginInitialized = true;
_altOriginGlobal = false;
_altOrigin = _baroAltOrigin;
}
}