Commit Graph

5545 Commits

Author SHA1 Message Date
Randy Mackay
a09bdcdda1 Tools: default param file to ease using copter SITL with vicon 2021-02-04 20:21:00 +09:00
Peter Barker
567e9733b6 autotest: augment bisect-helper.py to help with flapping tests
- option to allow for a string which must be present in the outout
 - option for strings which must not be present in the output
 - repeat option so test must pass many times
 - elaborate diagnostic output
 - option to run under Valgrind (to provoke races)

The output from each test run is poked into a directory in /tmp

The number of runs a test took to fail is poked into a different file in /tmp, helping to tune the --autotest-test-passes parameter
2021-02-04 16:22:28 +11:00
Peter Barker
c2e310d75f autotest: add test for OBSTACLE_DISTANCE_3D message 2021-02-04 15:50:45 +11:00
Peter Barker
393ec5d6f7 autotest: add test for MAVProxy proximity sensor 2021-02-04 12:03:35 +11:00
danlaks
d244f22522 Tools: AP_Bootloader: Add AP_HW_SWBOOMBOARD_PERIPH identifier
SpektreWorks Boom Board AP_Periph device
2021-02-04 08:37:32 +11:00
Andrew Tridgell
699e61da57 Tools: auto-build new matek boards 2021-02-03 19:05:12 +11:00
Andrew Tridgell
4a178d5c44 Tools: added new Matek bootloaders 2021-02-03 19:05:12 +11:00
Andy Piper
553425f994 Scripts: add bi-directional dshot firmware to built binaries 2021-02-03 18:49:06 +11:00
Andy Piper
49f0ba058c Bootloaders: add bi-directional dshot bootloaders 2021-02-03 18:49:06 +11:00
Michel Pastor
7ad6dd858b ChibiOS: update SuccexF4 bootloader 2021-02-03 18:37:46 +11:00
Peter Barker
cdaff74948 autotest: stop trying to arm in QRTL 2021-02-03 18:22:10 +11:00
Peter Barker
f65bee80dc autotest: use BATTERY_STATUS to detect sub reboot
Sub doesn't implement AP_Stats so we have custom reboot detection for
it.

The current look-for-string strategy is flawed - we're missing the
string on reboot
2021-02-03 13:58:17 +11:00
Andrew Tridgell
e86e3333a5 Tools: updated KakuteF7 bl 2021-02-03 13:13:32 +11:00
Pierre Kancir
e13a35abc1 Autotest: check for empty message before trying to use it 2021-02-03 12:56:01 +11:00
yaapu
bb576a49b8 Tools: added autotest for frsky rpm telemetry 2021-02-03 12:49:38 +11:00
Michael du Breuil
15ce4fb034 AP_Periph: Use the ArmingStatus broadcast to set the soft_armed state
This allows things like GPS_RAW_DATA 2 to start to work for SBF GPS's
2021-02-02 10:57:57 +11:00
Samuel Tabor
d1578e5ba2 autotest: Update soaring default params in line with specified SOAR_THML_BANK. 2021-01-29 11:20:09 -08:00
Andrew Tridgell
6bc4e995a4 CI: build CubeOrange-periph
this ensures H7 based peripherals (which are getting more common)
don't break
2021-01-27 18:24:03 +11:00
Pierre Kancir
c02dfd1214 Autotest: add EndMissionBehavior Test for rover 2021-01-27 08:23:52 +09:00
Andrew Tridgell
bb278a1cc7 Tools: allow tempcal_IMU.py to run without existing tcal params
this makes it possible to run the tcal script on a log from a board
that doesn't have any existing temperature calibration params
2021-01-27 09:49:35 +11:00
Pierre Kancir
2b71bf8e99 Autotest: fix subtests completion 2021-01-27 08:27:54 +11:00
Andrew Tridgell
49e2a0caed Tools: fixed valgrind errors with AP_Param::ParamToken 2021-01-26 10:43:09 +11:00
Andrew Tridgell
d47afb2406 autotest: added AHRSTrim test and add trim to accel cal test
this ensures the handling of AHRS trim is correct
2021-01-25 16:24:50 +11:00
Andrew Tridgell
3c825bdffc waf: make AP_NavEKF3_core.h a vehicle dependent include 2021-01-24 11:56:52 +11:00
Peter Barker
ad2ab333f9 Tools: autotest: allow autotest to connect directly to SITL 2021-01-24 09:25:45 +11:00
Peter Barker
8c7d63433c autotest: clear mission ourselves rather than with MAVProxy at end of test 2021-01-24 09:25:45 +11:00
Peter Barker
30836535d0 autotest: retry dynamic notch test up to 3 times 2021-01-22 11:17:42 +11:00
Pierre Kancir
805493c854 ardupilotwaf: use dynamic generation for ap_periph board name 2021-01-22 05:42:12 +11:00
Siddharth Purohit
c54a597571 AP_Periph: pull out supported targets from wscript into a separate file 2021-01-22 05:42:12 +11:00
Peter Barker
2e2e34d784 autotest: correct run_one_test case (vehicle.testname case) 2021-01-21 22:59:34 +11:00
Peter Barker
1fec88af21 autotest: make arming test a little more verbose 2021-01-21 22:15:16 +11:00
Peter Barker
281296832a autotest: retry GyroFFTHarmonic test on failure 2021-01-21 16:45:34 +11:00
Peter Barker
3279400e2e autotest: disarm_with_rc_input shortcuts if it sees rudder-disarm-disabled 2021-01-21 14:25:47 +11:00
Peter Barker
f452c6bb51 autotest: break out a statustext_in_collections method from wait_statustext 2021-01-21 14:25:47 +11:00
Andrew Tridgell
3add045924 autotest: fixed accel/gyro threshold consistency for tempcal 2021-01-21 13:09:21 +11:00
Andrew Tridgell
fe7d933976 autotest: use delay_sim_time() in tempcal test 2021-01-21 13:09:21 +11:00
Andrew Tridgell
af18e0c755 Tools: review fixes 2021-01-21 13:09:21 +11:00
Andrew Tridgell
58b9cd2c6e autotest: added assert_reach_imu_temperature() abstraction 2021-01-21 13:09:21 +11:00
Andrew Tridgell
5a5ba26468 autotest: expanded accelcal test to check values
this checks the resulting accelcal is correct within 1%
2021-01-21 13:09:21 +11:00
Andrew Tridgell
3e640eed80 autotest: changes for per-IMU biases and scaling 2021-01-21 13:09:21 +11:00
Andrew Tridgell
c96e61c0e1 Tools: review fix 2021-01-21 13:09:21 +11:00
Andrew Tridgell
4c315b57ca autotest: run gyro/accel cal at non-reference temperature 2021-01-21 13:09:21 +11:00
Andrew Tridgell
5a180fa7a8 Tools: cope with offset from cal temp to reference temp 2021-01-21 13:09:21 +11:00
Andrew Tridgell
2359a5a1ea Tools: fixed stopping of capture on enable change in tempcal 2021-01-21 13:09:21 +11:00
Andrew Tridgell
2cf7e7945c autotest: make tempcal debug output clearer 2021-01-21 13:09:21 +11:00
Andrew Tridgell
6254787c26 Tools: fixed tempcal for when we have gyro cal but no accel cal 2021-01-21 13:09:21 +11:00
Andrew Tridgell
e87dbacee7 Tools: switch to fixed reference temperature of 35C 2021-01-21 13:09:21 +11:00
Andrew Tridgell
a96b6336b8 Tools: changes from review feedback 2021-01-21 13:09:21 +11:00
Andrew Tridgell
84dda13b42 autotest: use new learn param setup 2021-01-21 13:09:21 +11:00
Andrew Tridgell
e8ab8ed29e Tools: improve tempcal script
- allow display of log corrections
 - added online estimator
 - allow learning using TCLR records
2021-01-21 13:09:21 +11:00