Peter Barker
6433647d9e
autotest: add trivial autotest for TSYS01 temperature
4 years ago
Peter Barker
65cffdad5a
autotest: print stack traces when exceptions caught
4 years ago
Peter Barker
b02f0ee51f
autotest: make Sub's setting of FS_GCS_ENABLE persist across wipes
4 years ago
Randy Mackay
bce3c551e7
Tools: sub set-position-target-global-int sends target once
4 years ago
Randy Mackay
d63fe1eb6c
Tools: sub set-position-target uses negative altitude
4 years ago
Peter Barker
ba91cbb270
autotest: correct sub parameter name PSC_VELZ_P, fix test to match
5 years ago
Willian Galvani
0f992ac6a3
Autotest: add test for Sub position hold
5 years ago
Peter Barker
6c9d756f11
autotest: validate context nesting
5 years ago
Peter Barker
b0916231b2
autotest: add tests for log download
5 years ago
Pierre Kancir
81274018c3
Tools: update path for sub test missions files
5 years ago
Peter Barker
5881692e4f
autotest: sub: fix altitude-hold for being below target altitude
5 years ago
Pierre Kancir
f24f97e51b
Tools: sub: update to new wait functions
...
Signed-off-by: Pierre Kancir <pierre.kancir.emn@gmail.com>
5 years ago
Patrick José Pereira
98adeafad9
Tools: autotest: Add sub test for MOT_THST_HOVER parameter
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
5 years ago
Peter Barker
c4ce6fa385
autotest: Sub: give vehicle 1 second to achieve alt-hold altitude
5 years ago
Peter Barker
6c8975eae3
autotest: make sub altitude test more reliable
...
momentum + stopping point could both explain unreliability
5 years ago
Peter Barker
54521fbbcb
autotest: correct sub output on test failure
5 years ago
Mark Whitehorn
6b9c997a97
Tools: rename SensorConfigErrorLoop test to ConfigErrorLoop
5 years ago
Patrick José Pereira
722e512226
autotest: Sub: Add ALT_HOLD test
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
5 years ago
Peter Barker
642935fd43
Tools: random Python cleanups based on lgtm analysis
5 years ago
Pierre Kancir
daaf769055
Tools: add arm/disarm testing on all modes
6 years ago
Peter Barker
899db3d3ac
Tools: autotest: add test for sensor config error loop
...
Tools: autotest: exempt failing vehicles from SensorConfigError test
6 years ago
Peter Barker
3ab9fa48dc
Tools: autotest: fix sub reboot detection
...
the string we were looking for actually gets emitted just before reboot
- sometimes!
6 years ago
Patrick José Pereira
2959d38e0e
autotest: Remove magic numbers in ardusub
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
6 years ago
Peter Barker
d53f787a14
Tools: factor init up into parent class
...
Tools: autotest: use speedup 8 for all suites
for reliability
6 years ago
Peter Barker
d48eab893a
Tools: autotest: stop swallowing critical messages with get_sim_time()
6 years ago
Peter Barker
19f51813f2
Tools: autotest: include mavproxy output in all vehicle test log files
6 years ago
Peter Barker
50687c9add
Tools: autotest: ArmFeatures is common to all vehicles; use inheritted tests
6 years ago
Pierre Kancir
7e12f16be6
Tools: fix lambda test
6 years ago
Peter Barker
9b73c5f1d9
Tools: autotest: correct log download name for Sub
6 years ago
Peter Barker
c0394e9577
Tools: autotest: tidy handling of SITL start position
6 years ago
Peter Barker
6d914f8af3
Tools: autotest: add test for moving sub in guided mode
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
36ad5d44bd
Tools: autotest: convert ArduSub over 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
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
Andrew Tridgell
6b5088207b
autotest: upload failed CI logs to autotest server
6 years ago
Peter Barker
2157999307
Tools: autotest: add tests for gripper mission items
6 years ago
Pierre Kancir
f6cc934678
Tools: pep8 corrections + correct variable shadowing
7 years ago
Pierre Kancir
cc8aca1619
Tools: various fixes for Copter tests
...
Tools: correct altitude check
Tools: correct tests syntax
Tools: add autotest syntax check on common
Tools: search for syntax mistake on autotest lambda
Tools: put copter in hover trottle to prevent crash
Tools: reboot after baterry failsafe test
Tools: copter takeoff wait_ready_to_arm before arming
Tools: arm copter after land on RTL
Tools: reset copter battery voltage after battery failsafe
7 years ago
Pierre Kancir
2f9f793ccf
Tools: add arm and disarm tests
7 years ago
Pierre Kancir
579d471e98
Tools: use set_parameter instead of mavproxy directly
7 years ago
Peter Barker
af37e10126
Tools: autotest: factor out starting of our our mavlink connection
7 years ago
Pierre Kancir
a930822d9d
Tools: unify exception on os.link
7 years ago
Michael du Breuil
90216f7cb6
Tools: Slow rover test down for CI, remove unneeded variable
7 years ago
Peter Barker
6dd8dbeb40
Tools: autotest: add ability to add breakpoints in autotest
7 years ago
Peter Barker
fa19c3a680
Tools: autotest: fix sub autotest
7 years ago
Peter Barker
975b8c2e5f
Tools: autotest: use reboot to apply parameter changes; avoid sim restart
...
Previously we stopped the simulation to ensure parameter changes are
applied to the simulated vehicle. We can now reboot the simulated
autopilot, so these patches make use of those changes.
One big advantage is that the --gdb option is in play for the applying
of the parameters to the vehicle.
7 years ago