Commit Graph

401 Commits

Author SHA1 Message Date
Peter Barker
c0fae0b1fb autotest: disable GyroFFT test; underlying issue being actively worked on 2020-05-15 16:02:41 +10:00
Andy Piper
8f864f02fb autotest: 256 windows don't currently work 2020-05-06 10:14:30 +10:00
Andy Piper
db4a612c13 autotest: test 256 FT windows and fix calculation of log-based FFT
fix quadplane FFT reference calculation
re-enable harmonic test
use median for measuring in-flight FFT average as it's much more reliable
relax quadplane filter restriction
2020-05-06 10:14:30 +10:00
Peter Barker
1c7354c321 autotest: improve mount debug 2020-05-05 20:51:23 +10:00
Andy Piper
dd987c9a19 autotest: new harmonic notch test 2020-04-28 09:32:02 +10:00
Peter Barker
39032459d1 autotest: add explicit test for mavlink rangefinder 2020-04-21 20:44:59 +10:00
Randy Mackay
f78d8b009a Tools: enable visual odometry for fly_vision_position test 2020-04-09 19:41:08 +09:00
Pierre Kancir
24a2bc3b0e Tools: update path for copter test missions files 2020-04-09 09:01:03 +10:00
Peter Barker
cbe1dba781 autotest: loosen slowdown constraint on zigzag test 2020-04-02 09:39:27 +11:00
Peter Barker
f450df18b0 autotest: allow more time to loiter to ne in precision test 2020-04-01 21:51:22 +11:00
Pierre Kancir
aec5ae91fa Tools: adjust zigzag timing to pass test 2020-03-27 22:13:52 +11:00
Pierre Kancir
3f441e61cd Tools: copter : make zigzag more verbose 2020-03-27 22:13:52 +11:00
Pierre Kancir
aba594fe2d Tools: copter: update exception for rangefinder test 2020-03-27 22:13:52 +11:00
Pierre Kancir
1689714a5c Tools: copter: add more verbose on fly_guided_change_submode 2020-03-27 22:13:52 +11:00
Pierre Kancir
e4eebce5a6 Tools: update arducopter.py to use new wait functions 2020-03-27 22:13:52 +11:00
Peter Barker
92d2186b95 autotest: don't use self.mav.motors_disarmed_wait as it blocks forever 2020-03-17 16:31:29 +11:00
Andy Piper
718a6593e6 autotest: disable harmonic FFT test 2020-03-13 21:10:56 +11:00
Andy Piper
7c1757bab4 autotest: separate out harmonic matching test
be more forgiving about harmonic fit detection due to imperfect simulation
use the fft length to determine how accurate the frequency match should be
2020-03-13 21:10:56 +11:00
Andy Piper
de55e4dcc2 autotest: disable harmonic matching test 2020-03-07 20:44:52 +11:00
Andy Piper
eb0923a018 autotest: separate out harmonic matching test 2020-03-07 20:44:52 +11:00
Peter Barker
3fac5ad52c autotest: loosen gyro fft test to avoid spurious CI failures 2020-03-01 20:51:26 +11:00
Peter Barker
cb8d623624 autotest: add test for fixed yaw calibration 2020-02-29 16:25:30 +11:00
Andy Piper
ee18db36fa autotest: be more lenient on frequency with harmonic matching test 2020-02-25 08:35:09 +11:00
Peter Barker
b3bfc0bd32 autotest: add instant-disarm radio failsafe test 2020-02-24 12:25:42 +11:00
Peter Barker
82f53abee2 autotest: restore fly.ArduCopter as running all tests
the test list for ArduCopter is made up of those from tests1 and tests2
2020-02-22 16:51:39 +11:00
Andy Piper
05a0fe615b Tools: split Copter tests into two runs to balance time on travis 2020-02-22 11:15:37 +11:00
Andy Piper
ba67ad39a0 Tools: quadplane test 2020-02-22 11:15:37 +11:00
Andy Piper
88f0c26636 Tools: add CMSIS DSP module to waf for M4 ChibiOS and control inclusion of FFT based on HAL_WITH_DSP and GYROFFT_ENABLED. target appropriate ARM cpus
sophisticated autotest for Gyro FFT
2020-02-22 11:15:37 +11:00
Pierre Kancir
e1d8148cc0 autotest: Python correctness fixes
Tools: common: correct copy shadowing in set_rc_from_map

Tools: common: comment out unused code

Tools: common: remove iteritem usage for py3

Tools: common: remove duplicate key in FRSkySPort id description for GPS

Tools: rover: correct type shadowing

Tools: rover: make expected_distance_epsilon float

Tools: rover: comment out unused code

Tools: rover: correct variable shadowing on my_message_hook

Tools: copter: correct variable shadowing

Tools: common: use Bool for port.setblocking

Tools: common: fix variable shadowing
2020-02-22 10:37:29 +11:00
Peter Barker
fa33719da6 autotest: improve distance-from-home debug 2020-02-14 16:36:12 +11:00
Peter Barker
fd8088f1e5 autotest: add Copter tests for altitude change on arm 2020-02-08 11:06:03 +11:00
Peter Barker
0ea4e150db autotest: add test for gimbal range issue 2020-01-31 14:20:07 +11:00
Peter Barker
a9e288a335 autotest: improve clarity by breaking apart calculations for mount pitch 2020-01-31 14:20:07 +11:00
Peter Barker
346471258b autotest: add test for mot_pwm validation 2020-01-30 14:49:16 +09:00
Peter Barker
0c85200b18 autotest: test diagonals and off-diagonals are set by magcal test 2020-01-25 11:32:27 +11:00
Peter Barker
91b01a3eb2 autotest: fix integer vs float issues for Python3 2020-01-18 12:52:31 +11:00
Peter Barker
61d5a94c45 autotest: add test for autorotation
It actually hits harder with autorotate enabled with this setup...
2020-01-01 22:10:43 +11:00
Andy Piper
0be0e93534 Tools: use pre-filtered values in motor vibration test and use more realistic values for noise 2019-12-31 10:34:02 +11:00
Peter Barker
3ffdfc7302 autotest: correct parachute test 2019-12-24 15:27:39 +11:00
Andrew Tridgell
6d981ce733 autotest: disable MotorVibration test 2019-12-18 21:08:19 +11:00
Randy Mackay
21ea7902cf Tools: copter tests replace TERRAIN_FOLLOW with RTL_ALT_TYPE 2019-12-17 20:02:01 +09:00
Andy Piper
39e948a40a Tools: add motor vibration test and support for post-test fft
perform FFT analysis on vibration output
2019-12-17 10:07:06 +11:00
Peter Barker
5b45931728 autotest: test buttons on Plane and Copter as well as Rover 2019-12-10 09:29:52 +09:00
Peter Barker
fecca9a559 autotest: add tests for serial RangeFinder drivers 2019-12-03 09:07:09 +11:00
Peter Barker
29fda1681b Tools: add test for mount targetting 2019-11-12 07:52:22 +08:00
Peter Barker
48657dd2c9 autotest: replace setHeartbeat(bool) with setHeartbeat(float)
We don't do heartbeats at 1Hz - we do them at the speedup rate.
2019-11-08 19:49:46 +11:00
Peter Barker
ece59f8233 autotest: replace wait_seconds with delay_sim_time
These did exactly the same thing
2019-11-08 19:49:46 +11:00
Peter Barker
2dd47e54e7 autotest: remove default True parameter to setHeartbeat 2019-11-08 19:49:46 +11:00
Peter Barker
74eb6760ea autotest: correct setHeatbeat -> setHeartbeat 2019-11-08 19:49:46 +11:00
Peter Barker
9605639070 autotest: loosen check on follow-mode check 2019-11-05 19:55:45 +11:00