mavsdk_tests: use more conservative speed_factor

This commit is contained in:
Julian Oes 2021-02-12 15:04:09 +01:00 committed by Lorenz Meier
parent 0ebb8c6981
commit c1de27acf7
1 changed files with 2 additions and 2 deletions

View File

@ -199,8 +199,8 @@ private:
// FIXME: Remove this again:
// Sanitize speed factor to avoid test failures.
if (speed_factor.second > 50.0f) {
speed_factor.second = 50.0f;
if (speed_factor.second > 10.0f) {
speed_factor.second = 10.0f;
}
const auto new_duration_us = static_cast<std::chrono::microseconds>(duration_us.count() / static_cast<int>