mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-02 03:49:12 +08:00
Mag voter: Be more forgiving on load changes
This commit is contained in:
@@ -593,7 +593,7 @@ Sensors::Sensors() :
|
|||||||
_vibration_warning_timestamp(0),
|
_vibration_warning_timestamp(0),
|
||||||
_vibration_warning(false)
|
_vibration_warning(false)
|
||||||
{
|
{
|
||||||
_mag.voter.set_timeout(200000);
|
_mag.voter.set_timeout(300000);
|
||||||
|
|
||||||
memset(&_rc, 0, sizeof(_rc));
|
memset(&_rc, 0, sizeof(_rc));
|
||||||
memset(&_diff_pres, 0, sizeof(_diff_pres));
|
memset(&_diff_pres, 0, sizeof(_diff_pres));
|
||||||
|
|||||||
Reference in New Issue
Block a user