Andrew Tridgell
2f7a8769c0
autotest: added --ubsan and --ubsan-abort to sim_vehicle.py and autotest.py
...
allows for undefined behaviour checking in SITL
3 years ago
Peter Barker
2ca68da77a
autotest: correct setting mode by number
3 years ago
Peter Barker
a672c7df97
autotest: add test for changing modes by mode number
...
Useful for when you don't have a mapping entry for the mode number yet
3 years ago
Peter Barker
72734d38de
autotest: add test for AUTO_LAND_TO_BRAKE
...
Having some terrain-based issues with BRAKE mode
3 years ago
Peter Barker
7647e38f3f
autotest: create get_home_tuple_from_mission method
...
Useful if you want to start a mission where a saved waypoint file's home location is
3 years ago
Peter Barker
86096261d0
autotest: add new wait_and_maintain_range method
3 years ago
Peter Barker
e77d0ce1a4
autotest: rewrite speedtofly test using wait_airspeed
3 years ago
Andrew Tridgell
53eb0191b1
Tools: fixed typo
3 years ago
Andrew Tridgell
003fef229c
Tools: disable convertgpx step in autotest
...
this is taking 5 hours to run. It just isn't worth it
3 years ago
Andrew Tridgell
6eb406b2d6
Tools: support triple notch in FilterTool
3 years ago
Andy Piper
8799b3839a
autotest: add triple notch test.
3 years ago
Andy Piper
f2aa6e99c3
autotest: test pre and post filter logging in FFT test
3 years ago
Peter Barker
215842fe82
Tools: add tests for ICE Planes
3 years ago
Ryan Beall
592201d831
CI fix Soaring channel 3 check timeout
3 years ago
Ryan Beall
5a26635aca
CI fix Climb before turn Timeout again 2
3 years ago
Ryan Beall
69ffac890f
CI fix Climb before turn Timeout again
3 years ago
Ryan Beall
2b9d116274
CI fix Climb before turn Timeout
3 years ago
Ryan Beall
ae6295e11c
CI fix RTL Timeout
3 years ago
Peter Barker
043764fbf9
autotest: use set_parameters in rover; fixup tests to use context
3 years ago
Peter Barker
bc12a61c9a
autotest: use slightly faster recv_msg call in drain_mav
...
Cuts out some code in pymavlink's recv_match which we don't need here. We even explicitly don't run the idle hooks which pymavlink supplied when we're running under drain_mav
3 years ago
Peter Barker
208554d402
autotest: correct diagnostic message
3 years ago
Peter Barker
f6816f38dc
autotest: add timeout in drain_mav
...
At large speedups we can create more telemetry than we can consume. Detect that and raise an exception, assuming we should be able to drain anything within 2 minutes
3 years ago
Peter Barker
ef0f5110cb
autotest: set Rover speedup to 30
...
This is closer to what's achieved on modern CPUs.
Running at 100 can lead to very rapid RC inputs which can cause issues.
3 years ago
Peter Barker
b6f7887182
Tools: remove non-functional FRSKY_TELEM_ENABLED define
3 years ago
Andrew Tridgell
a554ac3500
Tools: added log scale option to FilterTool
3 years ago
Andrew Tridgell
7b8da9385d
Tools: load FLTD from RLL_FLTD in FilterTool
3 years ago
Randy Mackay
66f1603aea
Tools: autotest default params for sub use MNT_RC_RATE
3 years ago
Randy Mackay
1a5216aaee
Tools: autotest for mount sets MNT_RC_RATE
3 years ago
Andrew Tridgell
3a6b153d55
Tools: added filter tool to web-firmware
...
makes it easier others to PR changes to improve the tool
3 years ago
Peter Barker
08ae4f050c
autotest: fix race condition in button test
...
The subsequent test could end up arming the vehicle based on this left-over state.
3 years ago
Peter Barker
4a015bd479
autotest: fix race condition in mission-end-behaviour test
3 years ago
Peter Barker
57b0d7f235
autotest: change rover default speedup time to 100
3 years ago
Peter Barker
b150c48b5c
Tools: add --no-run-with-defaults option to test-build-options script
3 years ago
Peter Barker
7120d4f750
autotest: fix race condition in need-ekf-to-arm check
...
At extreme speedups we may not detect the reboot in the Python before the autopilot is ready to arm...
3 years ago
Peter Barker
39a0ecbb4b
autotest: check rate is configured after we do the rate check
...
This is just to make sure that the autopilot isn't losing the configuration somehow.
3 years ago
Peter Barker
6fcdea67c3
autotest: tidy hover_and_check_matched_frequency method
...
- remove pointless elses
- clarify why a test is failing in exception messages
- move variable definitions closer to their use
3 years ago
Peter Barker
0697ce19d2
autotest: tidy wait_disarmed
3 years ago
Peter Barker
b18c597f0b
autotest: fix race condition in arduplane.py fly_mission
...
We can lose the final message when we get_sim_time and wait_heartbeats and similar
3 years ago
Peter Barker
1b22de0dd9
autotest: fix race condition in deepstall tests
3 years ago
Peter Barker
b550949766
autotest: scale SITL RC input according to speedup
...
Too slow when running at 100 times speedup
3 years ago
Peter Barker
abc1b7b644
autotest: factor out extract_median_FTN1_PkAvg_from_current_onboard_log
3 years ago
Peter Barker
d6dc0464dd
autotest: tidy extraction of FTN1 data from dflogs in fft tests
3 years ago
Peter Barker
1a9470d635
autotest: return hover throttle from hover_for_interval
3 years ago
Peter Barker
ef29350a72
autotest: tidy hovering in fft tests
3 years ago
Peter Barker
fc2c3604e8
autotest: change plane default speedup time to 100
3 years ago
Peter Barker
171bdd9e5b
autotest: better diagnostics for mission transfer
3 years ago
Peter Barker
e02d50d0e8
autotest: increase allowed time for mission item download
...
Because we're involving round-trip times to the Python and back, we need to allow more time to pass on the autopilot when downloading very large missions. Add a factor based on speedup
3 years ago
Peter Barker
ad4fc316ec
autotest: increase sample period for HIGH_LATENCY2 test
...
Should be useful at higher speedups
3 years ago
Peter Barker
2e0653ef71
autotest: be more lenient with terrain report fetching
3 years ago
Peter Barker
09ab90b8be
autotest: fix flapping AirspeedDrivers test
3 years ago