|
|
@ -82,6 +82,11 @@ VotedSensorsUpdate::VotedSensorsUpdate(const Parameters ¶meters, bool hil_en |
|
|
|
_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); |
|
|
|
_mag.voter.set_equal_value_threshold(1000); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (_hil_enabled) { // HIL has less accurate timing so increase the timeouts a bit
|
|
|
|
|
|
|
|
_gyro.voter.set_timeout(200000); |
|
|
|
|
|
|
|
_accel.voter.set_timeout(200000); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
int VotedSensorsUpdate::init(sensor_combined_s &raw) |
|
|
|
int VotedSensorsUpdate::init(sensor_combined_s &raw) |
|
|
|