Commit Graph

2134 Commits

Author SHA1 Message Date
Peter Barker 38e324f141 autotest: do not check prearm bit in dataflash-over-mavlink
We won't be armable - but the other checks we make will ensure we get
the error we are looking for

Also use a more reliable way of draining the data from the autopilot
2020-12-07 11:21:30 +11:00
Peter Barker 5707d8ecc0 autotest: check new MAV_SYS_STATUS_PREARM_CHECK in wait_ready_to_arm 2020-12-07 11:21:30 +11:00
Peter Barker be52e642f7 autotest: adjust Replay gps bit to make final logfile replayable 2020-12-03 17:28:26 +11:00
Peter Barker 17f806cdb9 autotest: add test for execution of button-bound functions 2020-12-01 10:06:57 +11:00
Peter Barker 12f001066b autotest: split out a wait_armed function 2020-12-01 10:06:57 +11:00
Peter Barker 211cd5255d autotest: tweak beacon test to be replay-friendly 2020-11-30 18:50:24 +11:00
Peter Barker 498b0b79a3 autotest: Replay tests OpticalFlow and Beacons
autotest: run Replay on log generated by test.Copter.BeaconPosition

autotest: test OpticalFlow in replay tests
2020-11-30 18:50:24 +11:00
Tom Pittenger 58c7f8279d Tools/autotest: fix CI by updating new ADSB_ENABLE->ADSB_TYPE param name 2020-11-30 16:05:17 +11:00
Tom Pittenger 2218f8292a Tools: remove ADSB param that is already default 2020-11-30 16:05:17 +11:00
Pierre Kancir cd98129022 Autotest: fix css loading for autotest.ardupilot.org 2020-11-28 19:14:16 +11:00
Randy Mackay bce3c551e7 Tools: sub set-position-target-global-int sends target once 2020-11-27 10:52:17 +09:00
Randy Mackay d63fe1eb6c Tools: sub set-position-target uses negative altitude 2020-11-27 10:52:17 +09:00
Pierre Kancir 07ffac429b Tools: rover: add test for slew rate 2020-11-25 17:49:20 +09:00
Peter Barker 9e20f4a68d autotest: add a test for compass yaw sources 2020-11-25 15:19:00 +11:00
Peter Barker 3f6b398a01 autotest: include EK2,EK3 and DAL LogStructures in code-defined messages 2020-11-24 15:33:37 +11:00
Peter Barker b788a172c8 autotest: add simple test for IE24 generator
Tools: Modified richenpower autotest setup

autotest: IE24: Add error code failsafe test
2020-11-24 12:54:52 +11:00
Peter Barker 935d39322c autotest: correct test for mode-change-reason change 2020-11-24 10:09:37 +11:00
Randy Mackay f257dc20d0 Tools: add test.Copter.GPSViconSwitching to CopterTests1d 2020-11-20 16:43:44 +09:00
Randy Mackay b6fe039a9f Tools: autotest for beacon sets EK3_SRC params 2020-11-20 16:43:44 +09:00
Peter Barker 29b913cd41 autotest: avoid using undefined fmt variable 2020-11-12 21:00:04 +11:00
Peter Barker 58bdae1b52 autotest: get Valgrind closer-to-working
This gets us past the reboot problem for the most part, where Valgrind doesn't like you exec'ing
2020-11-11 18:22:58 +11:00
Andrew Tridgell 00cfc1932f autotest: fixed arm delay in replay test
thanks to Peter
2020-11-10 16:15:45 +11:00
Andrew Tridgell 5f669e22ff autotest: adjust optical flow speed test 2020-11-10 16:15:45 +11:00
Andrew Tridgell 1a1ca7cca7 autotest: fly a bit higher in optical flow test
test was occasionally hitting the ground
2020-11-10 16:15:45 +11:00
Andrew Tridgell 025cf8f72b autotest: cleanup load_local_module 2020-11-10 16:15:45 +11:00
Andrew Tridgell 690af580c9 autotest: abstract out load_local_module()
this will be useful for other tests
2020-11-10 16:15:45 +11:00
Andrew Tridgell f674d124d6 autotest: use SITL replay 2020-11-10 16:15:45 +11:00
Andrew Tridgell 7b50780c5e autotest: fixed rmtree error in autotest 2020-11-10 16:15:45 +11:00
Andrew Tridgell a37cae5dae autotest: added test.Copter.Replay test 2020-11-10 16:15:45 +11:00
Andrew Tridgell 3dff0b3d58 autotest: removed dcm yaw test
this should not be part of replay PR
2020-11-10 16:15:45 +11:00
Andrew Tridgell 403275beea autotest: added RBOH message 2020-11-10 16:15:45 +11:00
Andrew Tridgell 4a06641048 autotest: added RWOH message 2020-11-10 16:15:45 +11:00
Andrew Tridgell 7f0113b82d autotest: added REPH and REVH 2020-11-10 16:15:45 +11:00
Andrew Tridgell ef5baaf482 autotest: added ROFH msg 2020-11-10 16:15:45 +11:00
Andrew Tridgell 8ba067608b autotest: cope with LogStructure.h in multiple places
and allow for no docs in replay msgs
2020-11-10 16:15:45 +11:00
Andrew Tridgell 3ae237b652 autotest: started work on replay testing 2020-11-10 16:15:45 +11:00
Andrew Tridgell 161f2a8d2f autotest: improved error msg for missing doc fields
Co-authored-by: Peter Barker <pbarker@barker.dropbear.id.au>
2020-11-10 16:15:45 +11:00
bugobliterator c1dc6465cf Tools: add CANGPSCopterMission mission file 2020-11-04 19:59:40 +11:00
bugobliterator c72c96fa9c Tools: setup CI test for CANBus 2020-11-04 19:59:40 +11:00
Andrew Tridgell 3e3da61396 Tools: fixes from review feedback 2020-10-28 14:20:44 +11:00
Andrew Tridgell 16bede2d74 Tools: allow for -f Callisto as frame type
loads json and params
2020-10-28 14:20:44 +11:00
Andrew Tridgell 31e3fd0771 Tools: added battery capacity to Callisto model 2020-10-28 14:20:44 +11:00
Andrew Tridgell 1286c5f64e Tools: adjust quadplane tuning and QAssist test
fixed roll RTL and land in QAssist test
2020-10-28 14:20:44 +11:00
Andrew Tridgell 47bf3e2249 Tools: use max_err for alt wait in flip test 2020-10-28 14:20:44 +11:00
Andrew Tridgell 7820b402d6 Tools: tweak Qassist test to be more reliable
disabling stall prevention should help with travis
2020-10-28 14:20:44 +11:00
Andrew Tridgell 72d0730194 Tools: fixed flow speed test to be much more robust
takeoff in ALT_HOLD so we don't overshoot as much, and calculate speed
limit based on actual alt
2020-10-28 14:20:44 +11:00
Andrew Tridgell eacebb619a Tools: lower ALT_HOLD_RTL for quadplanes
this speeds up a number of tests that end with an RTL
2020-10-28 14:20:44 +11:00
Andrew Tridgell 1ea0daa95f Tools: adjust quadplane tuning
prevent oscillation
2020-10-28 14:20:44 +11:00
Andrew Tridgell da86dc8814 Tools: fixed FFT test thresholds for new tune 2020-10-28 14:20:44 +11:00
Andrew Tridgell d221756e2d Tools: fixed copter MOT params 2020-10-28 14:20:44 +11:00