mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-20 11:23:06 +08:00
mavsdk_tests: use more conservative speed_factor
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user