Pierre Kancir
b45e2ed6ab
Tools: correct log download for copter
6 years ago
Peter Barker
d43bcf4649
Tools: autotest: add simple mode-requires-position test for Copter
6 years ago
Peter Barker
50687c9add
Tools: autotest: ArmFeatures is common to all vehicles; use inheritted tests
6 years ago
Peter Barker
4d0ae8c371
Tools: autotest: add test for MAVLINK_MSG_ID_SET_POSITION_TARGET_LOCAL_NED
6 years ago
Peter Barker
e9fc158c8a
Tools: autotest: eliminate use of recv_match with condition
...
We have functions for achieving this
Also, a lot of these places were missing timeouts, so any failure would
cause the entire suite to stop running
6 years ago
Pierre Kancir
7e12f16be6
Tools: fix lambda test
6 years ago
Peter Barker
c0394e9577
Tools: autotest: tidy handling of SITL start position
6 years ago
Peter Barker
025f007f96
Tools: autotest: simplify mission loading
6 years ago
Peter Barker
a1aefaff27
Tools: autotest: add parachute tests
...
Tools: autotest: add test for triggering parachute via mavlink
Tools: autotest: add Copter mission test for parachute release
Tools: autotest: add Plane test for parachute deployment in auto
6 years ago
Peter Barker
6f1f98dc3c
Tools: autotest: add assumption run_tests is only called once - remove hasInit
6 years ago
Pierre Kancir
8a7555bf56
Tools: autotest: fix up the arming tests
...
Tools: unify arm function failure message
Tools: get autodisarm time from parameter for autodisarm test
Tools: disable autodisarm for arm/disarm tests.
Tools: fix interlock channel for heli
Tools: simplify arming_test sub exclusion
Tools: fix empty string in progress
Tools: add back arming test to plane
Tools: allow single test run on Sub
Tools: remove old comments on autotest common
Tools: add vehicle type getter function
Tools: make get_rudder_channel abstract method
Tools: common make get_disarm_delay abstract method
Tools: make set_autodisarm_delay abstract method
Tools: rename set_throttle_zero to zero_throttle and use it
Tools: common.py remove unnecessary exception
Tools: subclass vehicle type
6 years ago
Peter Barker
fe2f9f1f14
Tools: autotest: improve autotest output
6 years ago
Dmitri Ranfft
4e8f3a7a3a
Autotest: renamed requested RangeFinder parameters to account for the new changes.
6 years ago
Peter Barker
1fcd7fac06
Tools: autotest: add test for flip mode
6 years ago
Peter Barker
e23313e16b
Tools: autotest: ensure RC input is at defaults before each test
6 years ago
Peter Barker
fa37ad344b
Tools: autotest: refactor setting of rc defaults
6 years ago
Peter Barker
2834fd8017
Tools: autotest: add test for channel override cancel
6 years ago
Peter Barker
44ff21479d
Tools: autotest: add a test for RTL speed
6 years ago
Peter Barker
b66f80f452
Tools: autotest: allow heli tests to be run individually
6 years ago
Peter Barker
d0aaf34db5
Tools: autotest: add option to skip tests if they're annoying us in CI
6 years ago
Peter Barker
ecb3cabf72
Tools: add flight test for rangefinder in Copter
6 years ago
Peter Barker
55f751a8f4
Tools: autotest: add some tests for Copter parachute functions
6 years ago
Peter Barker
e93cff6e44
Tools: autotest: add test that rangefinder switch works
6 years ago
Peter Barker
e6bfbe5f07
Tools: autotest: fix initial mode switch position race
...
Solves a race condition where an initial setting of mode via mavlink
could be overwritten by the vehicle polling the RC channels and changing
mode based on the new positions.
This will require each vehicle to specify the mode expected without an
RC inputs present and the expected mode once the RC defaults have been
installed. These two modes will need to be different to eliminate the
race condition.
6 years ago
Peter Barker
69293f46f3
Tools: autotest: convert Heli to new tests framework
6 years ago
Peter Barker
3b57635ec9
Tools: autotest: convert Copter to new tests framework
6 years ago
Peter Barker
a320a54f66
Tools: autotest: new wait_heartbeat raises exception if none received
6 years ago
Peter Barker
ec288cd867
Tools: autotest: make reboot detection more reliable
6 years ago
Peter Barker
f442a0a1b7
Tools: autotest: remove bad calls to progress
6 years ago
Peter Barker
723ad34dfb
Tools: autotest: disable disarm_delay in case of rc getting stuck
6 years ago
Peter Barker
4ae8595da3
Tools: autotest: make fly_avc_test a little more self-contained
6 years ago
Peter Barker
88a003edd9
Tools: autotest: flake8 compliance
6 years ago
Peter Barker
f84370bb04
Tools: autotest: consolidate mission-loading functions
...
Also add sanity checks for mission loading
Tools: autotest: add missing import for arduplane.py
6 years ago
Peter Barker
8b36565b6c
Tools: autotest: disable terrain in optical flow test
...
It is possible this is the cause of the unreliability of this test; the
rangefinder sees step-jumps in its readings.
6 years ago
Peter Barker
a75d678e7f
Tools: autotest: add tests for precision loiter and landing
6 years ago
Peter Barker
1d2f8555c0
Tools: ardupilotwaf: adjust for new location of uploader.py
6 years ago
Andrew Tridgell
6b5088207b
autotest: upload failed CI logs to autotest server
6 years ago
Peter Barker
c0af0cfe70
Tools: autotest: improve debug on optical limits test
6 years ago
Peter Barker
4e82250055
Tools: autotest: add test for Copter loiter-to-alt
6 years ago
Peter Barker
432b1fda3a
Tools: autotest: add tests for AP_Mount
6 years ago
Peter Barker
2157999307
Tools: autotest: add tests for gripper mission items
6 years ago
Peter Barker
a66cc52573
Tools: autotest: provide description of exceptions in constructors
6 years ago
Andrew Tridgell
de39318f6d
autotest: increase GPS AUTO glitch timeout
...
this was timing out in CI
6 years ago
Peter Barker
14d2012f54
Tools: autotest: add test for ekf navigation speed limits
6 years ago
Pierre Kancir
3a29379d9e
Tools: run test_arm_feature for heli
6 years ago
Pierre Kancir
f441ab9f2a
Tools: autotest: validate RTL if disarmed close to home
6 years ago
Pierre Kancir
598b487fef
Tools: autotest: adjust start alt for throttle failsafe
6 years ago
Peter Barker
e4738192dd
Tools: autotest: clear mission before toggling it in with ch7
6 years ago
Peter Barker
38ae0765ff
Tools: autotest: increase throttle in stabilize mode to account for pitching
6 years ago
Peter Barker
a7042e3847
Tools: autotest: tweak output messages, loosen camera trigger timeout
7 years ago