Pierre Kancir
bd53796ed4
Tools: copter: add compass calibration testing
5 years ago
Peter Barker
6c67ddacf4
autotest: rename set_heartbeat_interval to set_heartbeat_rate
5 years ago
Christian Clauss
b07fb05dde
autotest: Use ==/!= to compare constant literals (str, bytes, int, float, tuple)
...
Avoid SyntaxWarnings on Python >= 3.8
% `python3.8`
```
>>> "second" is "second"
<stdin>:1: SyntaxWarning: "is" with a literal. Did you mean "=="?
```
`flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics`
```
./Tools/autotest/arducopter.py:3899:20: F632 use ==/!= to compare constant literals (str, bytes, int, float, tuple)
if loop is not "second":
^
./Tools/autotest/arducopter.py:4047:20: F632 use ==/!= to compare constant literals (str, bytes, int, float, tuple)
if loop is not "second":
^
2 F632 use ==/!= to compare constant literals (str, bytes, int, float, tuple)
2
```
5 years ago
Peter Barker
adeb37581f
autotest: fix heli for setpoint change
5 years ago
Peter Barker
aaef44858f
autotest: add test for Heli stabilize-mode takeoff
5 years ago
Peter Barker
b0916231b2
autotest: add tests for log download
5 years ago
Andy Piper
1358e39ffd
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
harmonic switching test
tighten frequency check and loop twice to avoid heisenbugs
5 years ago
Peter Barker
c0fae0b1fb
autotest: disable GyroFFT test; underlying issue being actively worked on
5 years ago
Andy Piper
8f864f02fb
autotest: 256 windows don't currently work
5 years ago
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
5 years ago
Peter Barker
1c7354c321
autotest: improve mount debug
5 years ago
Andy Piper
dd987c9a19
autotest: new harmonic notch test
5 years ago
Peter Barker
39032459d1
autotest: add explicit test for mavlink rangefinder
5 years ago
Randy Mackay
f78d8b009a
Tools: enable visual odometry for fly_vision_position test
5 years ago
Pierre Kancir
24a2bc3b0e
Tools: update path for copter test missions files
5 years ago
Peter Barker
cbe1dba781
autotest: loosen slowdown constraint on zigzag test
5 years ago
Peter Barker
f450df18b0
autotest: allow more time to loiter to ne in precision test
5 years ago
Pierre Kancir
aec5ae91fa
Tools: adjust zigzag timing to pass test
5 years ago
Pierre Kancir
3f441e61cd
Tools: copter : make zigzag more verbose
5 years ago
Pierre Kancir
aba594fe2d
Tools: copter: update exception for rangefinder test
5 years ago
Pierre Kancir
1689714a5c
Tools: copter: add more verbose on fly_guided_change_submode
5 years ago
Pierre Kancir
e4eebce5a6
Tools: update arducopter.py to use new wait functions
5 years ago
Peter Barker
92d2186b95
autotest: don't use self.mav.motors_disarmed_wait as it blocks forever
5 years ago
Andy Piper
718a6593e6
autotest: disable harmonic FFT test
5 years ago
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
5 years ago
Andy Piper
de55e4dcc2
autotest: disable harmonic matching test
5 years ago
Andy Piper
eb0923a018
autotest: separate out harmonic matching test
5 years ago
Peter Barker
3fac5ad52c
autotest: loosen gyro fft test to avoid spurious CI failures
5 years ago
Peter Barker
cb8d623624
autotest: add test for fixed yaw calibration
5 years ago
Andy Piper
ee18db36fa
autotest: be more lenient on frequency with harmonic matching test
5 years ago
Peter Barker
b3bfc0bd32
autotest: add instant-disarm radio failsafe test
5 years ago
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
5 years ago
Andy Piper
05a0fe615b
Tools: split Copter tests into two runs to balance time on travis
5 years ago
Andy Piper
ba67ad39a0
Tools: quadplane test
5 years ago
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
5 years ago
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
5 years ago
Peter Barker
fa33719da6
autotest: improve distance-from-home debug
5 years ago
Peter Barker
fd8088f1e5
autotest: add Copter tests for altitude change on arm
5 years ago
Peter Barker
0ea4e150db
autotest: add test for gimbal range issue
5 years ago
Peter Barker
a9e288a335
autotest: improve clarity by breaking apart calculations for mount pitch
5 years ago
Peter Barker
346471258b
autotest: add test for mot_pwm validation
5 years ago
Peter Barker
0c85200b18
autotest: test diagonals and off-diagonals are set by magcal test
5 years ago
Peter Barker
91b01a3eb2
autotest: fix integer vs float issues for Python3
5 years ago
Peter Barker
61d5a94c45
autotest: add test for autorotation
...
It actually hits harder with autorotate enabled with this setup...
5 years ago
Andy Piper
0be0e93534
Tools: use pre-filtered values in motor vibration test and use more realistic values for noise
5 years ago
Peter Barker
3ffdfc7302
autotest: correct parachute test
5 years ago
Andrew Tridgell
6d981ce733
autotest: disable MotorVibration test
5 years ago
Randy Mackay
21ea7902cf
Tools: copter tests replace TERRAIN_FOLLOW with RTL_ALT_TYPE
5 years ago
Andy Piper
39e948a40a
Tools: add motor vibration test and support for post-test fft
...
perform FFT analysis on vibration output
5 years ago
Peter Barker
5b45931728
autotest: test buttons on Plane and Copter as well as Rover
5 years ago