mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 21:43:33 +08:00
lpe: fix incorrect setting of local_position.z_global
This commit is contained in:
committed by
Lorenz Meier
parent
8d89e5e40b
commit
b5be990109
@@ -31,6 +31,7 @@ void BlockLocalPositionEstimator::baroInit()
|
||||
|
||||
if (!_altOriginInitialized) {
|
||||
_altOriginInitialized = true;
|
||||
_altOriginGlobal = false;
|
||||
_altOrigin = _baroAltOrigin;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user