forked from Archive/PX4-Autopilot
commit
ae48bb5d18
|
@ -1052,10 +1052,6 @@ int position_estimator_inav_thread_main(int argc, char *argv[])
|
||||||
landed = false;
|
landed = false;
|
||||||
landed_time = 0;
|
landed_time = 0;
|
||||||
}
|
}
|
||||||
/* reset xy velocity estimates when landed */
|
|
||||||
x_est[1] = 0.0f;
|
|
||||||
y_est[1] = 0.0f;
|
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
if (alt_disp2 < land_disp2 && thrust < params.land_thr) {
|
if (alt_disp2 < land_disp2 && thrust < params.land_thr) {
|
||||||
if (landed_time == 0) {
|
if (landed_time == 0) {
|
||||||
|
|
Loading…
Reference in New Issue