Rover: stop updating sensor status flags
These are updated as required in the gcs library itself.
This commit is contained in:
parent
8ef2046f7b
commit
4fc57b1aa8
@ -283,12 +283,6 @@ void Rover::one_second_loop(void)
|
|||||||
update_home();
|
update_home();
|
||||||
}
|
}
|
||||||
|
|
||||||
// update error mask of sensors and subsystems. The mask uses the
|
|
||||||
// MAV_SYS_STATUS_* values from mavlink. If a bit is set then it
|
|
||||||
// indicates that the sensor or subsystem is present but not
|
|
||||||
// functioning correctly
|
|
||||||
gcs().update_sensor_status_flags();
|
|
||||||
|
|
||||||
// need to set "likely flying" when armed to allow for compass
|
// need to set "likely flying" when armed to allow for compass
|
||||||
// learning to run
|
// learning to run
|
||||||
ahrs.set_likely_flying(hal.util->get_soft_armed());
|
ahrs.set_likely_flying(hal.util->get_soft_armed());
|
||||||
|
Loading…
Reference in New Issue
Block a user