Browse Source

sensors HIL increase gyro and accel timeout

- fixes #7050
sbg
Daniel Agar 8 years ago committed by Lorenz Meier
parent
commit
f04f1d6b03
  1. 4
      src/modules/sensors/voted_sensors_update.cpp

4
src/modules/sensors/voted_sensors_update.cpp

@ -84,8 +84,8 @@ VotedSensorsUpdate::VotedSensorsUpdate(const Parameters &parameters, bool hil_en @@ -84,8 +84,8 @@ VotedSensorsUpdate::VotedSensorsUpdate(const Parameters &parameters, bool hil_en
_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);
_gyro.voter.set_timeout(500000);
_accel.voter.set_timeout(500000);
}
}

Loading…
Cancel
Save