mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-21 23:43:34 +08:00
Refactor position resets (#822)
This commit is contained in:
+1
-1
@@ -184,7 +184,7 @@ void Ekf::runVelPosReset()
|
||||
{
|
||||
if (_velpos_reset_request) {
|
||||
resetVelocity();
|
||||
resetPosition();
|
||||
resetHorizontalPosition();
|
||||
_velpos_reset_request = false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user