Commit Graph

2917 Commits

Author SHA1 Message Date
Peter Barker b550949766 autotest: scale SITL RC input according to speedup
Too slow when running at 100 times speedup
2022-06-13 21:41:41 +10:00
Peter Barker abc1b7b644 autotest: factor out extract_median_FTN1_PkAvg_from_current_onboard_log 2022-06-13 21:21:30 +10:00
Peter Barker d6dc0464dd autotest: tidy extraction of FTN1 data from dflogs in fft tests 2022-06-13 21:21:30 +10:00
Peter Barker 1a9470d635 autotest: return hover throttle from hover_for_interval 2022-06-13 21:21:30 +10:00
Peter Barker ef29350a72 autotest: tidy hovering in fft tests 2022-06-13 12:01:13 +10:00
Peter Barker fc2c3604e8 autotest: change plane default speedup time to 100 2022-06-12 15:56:53 +10:00
Peter Barker 171bdd9e5b autotest: better diagnostics for mission transfer 2022-06-12 15:56:53 +10:00
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
2022-06-12 15:56:53 +10:00
Peter Barker ad4fc316ec autotest: increase sample period for HIGH_LATENCY2 test
Should be useful at higher speedups
2022-06-12 15:56:53 +10:00
Peter Barker 2e0653ef71 autotest: be more lenient with terrain report fetching 2022-06-12 15:56:53 +10:00
Peter Barker 09ab90b8be autotest: fix flapping AirspeedDrivers test 2022-06-12 15:56:53 +10:00
Peter Barker bb36cedee3 autotest: correct message hook handling
Fun with closures, and not removing hooks soon enough when popping contexts.
2022-06-12 15:56:53 +10:00
Andrew Tridgell 8441f4a130 autotest: fixed FETTec bad mask test
can support up to 15 outputs with FETTec now
2022-06-10 13:46:43 +10:00
Pierre Kancir e2ce9b388c Tools: fix rstemit.py permission 2022-06-08 08:16:42 +09:00
Pierre Kancir 9f1784a264 Tools: remove old iris_ros.py files 2022-06-08 08:16:42 +09:00
Pierre Kancir 4b67ed808f Tools: logger_metadata: remove useless shebang 2022-06-08 08:16:42 +09:00
Pierre Kancir 5bdc77a5b9 Tools: param_metadata: remove useless shebang 2022-06-08 08:16:42 +09:00
Pierre Kancir 4e2e4fa4d4 Tools: autotest: remove useless shebang 2022-06-08 08:16:42 +09:00
Pierre Kancir 5628b8d230 Tools: fix executable permission and trailing whitespace 2022-06-08 08:16:42 +09:00
Andy Piper f244866329 autotest: add test for FFT continuous averaging 2022-06-01 15:49:32 +01:00
Peter Barker 069fdfae60 autotest: test SITL airspeed sensor backend 2022-05-25 17:52:44 +10:00
Peter Barker 973b2d11a2 Tools: add parameters to test_build_options.py script
filtering by define name is the most useful bit
2022-05-22 12:11:45 +10:00
Iampete1 d5e282c5a1 Tools: allow FBWB alt control option in LOITER 2022-05-22 12:09:43 +10:00
Peter Barker 24771ab2a4 autotest: fix DO_CHANGE_SPEED autotest
Recent airspeed fixes means we need to give the vehicle more time to achieve the initial airspeed
2022-05-20 09:56:31 +10:00
Peter Barker d6504bcaa8 autotest: remove hack to get dual-airspeed-autocal passing 2022-05-18 18:06:18 +10:00
Peter Barker 4240ad7ae9 autotest: update test for which entry is last in tasks table 2022-05-18 12:25:26 +09:00
Andrew Tridgell 985e24275a autotest: don't try to arm in RTL mode for quadplanes 2022-05-18 06:43:16 +10:00
Andrew Tridgell 895c57562c autotest: adjust DO_CHANGE_SPEED test for EAS2TAS corrections 2022-05-17 19:34:32 +10:00
Andrew Tridgell 7fb38f8b22 autotest: removed SIM_WIND_DELAY 2022-05-17 19:34:32 +10:00
Peter Barker cebb57266d autotest: calibrate two airspeed sensors in-flight 2022-05-16 09:50:52 +10:00
Peter Barker b8407a4bec autotest: adjust current wp reset 2022-05-15 21:17:50 +10:00
Andrew Tridgell 151f17d563 autotest: reset mission on takeoff for quadplanes 2022-05-15 21:17:50 +10:00
Peter Barker 287573fff7 autotest: add test for large circle radii in NAV_LOITER_TURNS 2022-05-11 17:40:35 +10:00
Peter Barker 336079ddfa autotest: add test for compass error state logging 2022-05-10 19:46:40 +10:00
Peter Barker b659360d64 autotest: test DO_CHANGE_SPEED mission item for Plane 2022-05-05 10:48:35 +10:00
Andy Piper 0fa0a27c77 autotest: add FFT averaging test.
add harmonic test for FFT averaging
reduce configuration for averaged FFT test
enable harmonic notch in-flight
2022-05-04 17:05:51 +10:00
Peter Barker b2d811a444 autotest: add test for sensor health logging 2022-05-03 17:38:09 +10:00
Iampete1 73dfcfb7d9 Tools: autotest: models: Callisto.json: add number of motors 2022-05-03 10:03:07 +10:00
Andy Piper 67aecea4c1 autotest: remove fast_loop tasks test 2022-05-03 08:20:13 +09:00
Rhys Mainwaring 6d7086a8ad Tools: change terminal to current dir if using osascript in run_in_terminal_window.sh
- Ensure the spawned terminal has the same pwd as the calling script to allow SITL to resolve relative paths

Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2022-05-02 11:28:12 +10:00
Mirko Denecke 4c727eca60 Tools: fix auxiliary typo 2022-05-02 10:55:08 +10:00
Peter Barker 876cc77808 autotest: fix Rover syntax for Python2
Apparently ** is Python3-only
2022-04-24 14:21:45 +09:00
Peter Barker 43b5f22c1a autotest: add test for avoidance resume-auto-or-loiter action 2022-04-21 06:59:39 +10:00
Peter Barker 1340132f6f autotest: add rangefinder test 2022-04-19 10:26:10 +10:00
Peter Barker ecd5cb21fc autotest: tidy richenpower test using new methods 2022-04-18 12:41:45 +10:00
Andrew Tridgell db9d796dd4 Tools: update for changed INS_NOTCH parameter name 2022-04-16 08:14:06 +10:00
Peter Barker fe740681af autotest: test_build_options.py: undef variables before setting them 2022-04-15 12:37:26 +10:00
Willian Galvani cb4f5ac578 Autotest: Sub: tweak params 2022-04-13 16:23:55 -03:00
Willian Galvani c63d12b6c9 Autotest: Sub: fix sub tests for new althold implementation
With this implementation (same as copter's) 1450 is within the pilot deadzone,
which breaks the test.
2022-04-13 16:23:55 -03:00
Willian Galvani 81cd49213a Autotest: Sub: tighten default watch_altitude_maintened delta 2022-04-13 16:23:55 -03:00