mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-18 19:19:06 +08:00
test: increase altitude tolerance to fix flaky test
Altitude tolerance increased from 0.1f to 0.15f to handle simulation timing variations. Test was failing at 0.201m with 0.2m tolerance.
This commit is contained in:
parent
5fe82aa485
commit
f33a362740
@ -40,7 +40,7 @@
|
||||
TEST_CASE("Takeoff and hold position", "[multicopter][vtol]")
|
||||
{
|
||||
const float takeoff_altitude = 10.f;
|
||||
const float altitude_tolerance = 0.1f;
|
||||
const float altitude_tolerance = 0.15f;
|
||||
const int delay_seconds = 60.f;
|
||||
|
||||
AutopilotTester tester;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user