Commit Graph

5528 Commits

Author SHA1 Message Date
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
Andrew Tridgell
30385fb8cb autotest: use set_parameters() in IMU temp cal test 2021-01-21 13:09:21 +11:00
Andrew Tridgell
0c3655b01f autotest: fixed epsilon handling in set_parameters 2021-01-21 13:09:21 +11:00
Andrew Tridgell
327db46c15 autotest: added automatic testing of IMU Temperature calibration 2021-01-21 13:09:21 +11:00
Andrew Tridgell
c4664d8e32 Tools: added script to calculate IMU temp compensation parameters
this is run over an onboard log to calculate the INS_TCAL parameters
to enable temperature compensation for gyro and accel
2021-01-21 13:09:21 +11:00
Peter Barker
c7a6047904 autotest: add option to retry tests / create and use Test definition object 2021-01-21 10:23:17 +11:00
Peter Barker
03b2473c61 autotest: correct get_parameter_direct attempts decrement 2021-01-20 20:06:46 +11:00
bugobliterator
9e15b5785b ardupilotwaf: fix spec args as distcc doesn't like it 2021-01-20 19:21:14 +11:00
Andrew Tridgell
7e89c05204 autotest: fixed --tracker option to sim_vehicle.py 2021-01-20 11:11:47 +11:00
Andrew Tridgell
bd9dd7ff4c Tools: added vnav linux target 2021-01-20 10:06:45 +11:00
Andrew Tridgell
c396d15890 Revert "autotest: ensure defaults files don't set already-default-values"
This reverts commit 3d431cd4f1.

It breaks MissionPlanner SITL. We can re-apply once MissionPlanner
copes with external_model.
2021-01-20 08:54:43 +11:00
Peter Barker
04a52835c0 autotest: correct Rover set-position-target-global-int test
The vehicles doesn't send us set messages!
2021-01-19 21:16:39 +11:00
Peter Barker
1cb86303b4 Tools: add test for maxbotixi2cxl 2021-01-19 11:20:47 +11:00
Iampete1
5e00f5ae48 Tools: ardupilotwaf: ap_library: add genrated bindings to whitle list and add support for ends with whitle listing 2021-01-19 11:18:10 +11:00
Iampete1
8d7299d052 Tools: ardupilotwaf: ap_library.py: allow vehicle in build/ 2021-01-19 11:18:10 +11:00
Peter Barker
8eb670d685 autotest: trim default values from rover defaults files 2021-01-19 10:34:00 +11:00
Peter Barker
3d431cd4f1 autotest: ensure defaults files don't set already-default-values
autotest: mark some vehicles as having external physics models

autotest: add default_params_filename to some vehicle info
2021-01-19 10:34:00 +11:00
Peter Barker
7d86cc08ad autotest: correct SITL commandline for no default parameter file 2021-01-19 10:34:00 +11:00