Copter: update home constantly while disarmed
This commit is contained in:
parent
c3bdb9a13e
commit
b0c777259f
@ -963,6 +963,9 @@ static void fast_loop()
|
||||
|
||||
// run the attitude controllers
|
||||
update_flight_mode();
|
||||
|
||||
// update home from EKF if necessary
|
||||
update_home_from_EKF();
|
||||
}
|
||||
|
||||
// rc_loops - reads user input from transmitter/receiver
|
||||
@ -1176,9 +1179,6 @@ static void update_GPS(void)
|
||||
// set system time if necessary
|
||||
set_system_time_from_GPS();
|
||||
|
||||
// update home from GPS location if necessary
|
||||
update_home_from_EKF();
|
||||
|
||||
// check gps base position (used for RTK only)
|
||||
check_gps_base_pos();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user