mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
[Tests] [CI] fix flaky altitude SITL test (#26106)
* 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. * test: increase altitude tolerance further to 0.3m * ci: re-add branch trigger for SITL tests * Revert "ci: re-add branch trigger for SITL tests" This reverts commit e5e4c9637b70a9d29247b82a52e11f1f2d0dcc59.
This commit is contained in:
parent
5fe82aa485
commit
14186cf74f
@ -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.2f;
|
||||
const int delay_seconds = 60.f;
|
||||
|
||||
AutopilotTester tester;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user