mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-31 04:51:35 +08:00
Sensors app mag voter: Increase stale value detection threshold to accomodate low-noise mag setups
This commit is contained in:
committed by
Lorenz Meier
parent
077f22ece7
commit
cc7db94edc
@@ -62,6 +62,7 @@ VotedSensorsUpdate::VotedSensorsUpdate(const Parameters ¶meters)
|
|||||||
|
|
||||||
_baro.voter.set_timeout(300000);
|
_baro.voter.set_timeout(300000);
|
||||||
_mag.voter.set_timeout(300000);
|
_mag.voter.set_timeout(300000);
|
||||||
|
_mag.voter.set_equal_value_threshold(1000);
|
||||||
}
|
}
|
||||||
|
|
||||||
int VotedSensorsUpdate::init(sensor_combined_s &raw)
|
int VotedSensorsUpdate::init(sensor_combined_s &raw)
|
||||||
|
|||||||
Reference in New Issue
Block a user