Commit cfd0b3f
committed
autotest: fix Clamp test altitude bounds for datum reset
The Clamp test checks that a clamped vehicle stays near ground level.
With the height datum reset on arming, altitude is zeroed and baro
noise can put it slightly negative (-0.01m). Change the lower bound
from 0 to -1 to accommodate this.1 parent 4e4caa0 commit cfd0b3f
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14408 | 14408 | | |
14409 | 14409 | | |
14410 | 14410 | | |
14411 | | - | |
| 14411 | + | |
14412 | 14412 | | |
14413 | 14413 | | |
14414 | 14414 | | |
| |||
14424 | 14424 | | |
14425 | 14425 | | |
14426 | 14426 | | |
14427 | | - | |
| 14427 | + | |
14428 | 14428 | | |
14429 | 14429 | | |
14430 | 14430 | | |
| |||
0 commit comments