Commit Graph

5478 Commits

Author SHA1 Message Date
Peter Barker 8f9d3909f1 autotest: model_defaults_filepath always returns a list 2021-01-19 10:34:00 +11:00
André 30eed3103b sim_vehicle fix 2021-01-19 06:30:12 +11:00
Peter Barker 210b0e7c5f autotest: stop emitting port 14550 all the time
this can confuse other things going on on the same machine.  It is still
available by specifying --viewerip if desired
2021-01-18 21:46:43 +11:00
Peter Barker 30929e7f1a autotest: add verbose option to assert_sensor_state 2021-01-18 21:25:58 +11:00
Peter Barker 2c0e3751a9 autotest: reboot after moving from EKF type 10 to EKF type 2
Bad things happen with home set but origin not
2021-01-18 20:48:11 +11:00
Peter Barker 662e86780b autotest: reduce motor vibration for landing 2021-01-18 20:14:08 +11:00
Peter Barker 6becd90df0 autotest: increase timeout on DO_CHANGE_SPEED test 2021-01-18 19:08:46 +11:00
Peter Barker 5848ff7512 autotest: eliminate race condition in plane fence static test 2021-01-18 16:32:21 +11:00
Peter Barker e9c6c08a97 autotest: remove 'make' compatability from sim_vehicle 2021-01-18 16:24:09 +11:00
Peter Barker 6865649b9b autotest: tidy and correct ekf lane switching test 2021-01-18 15:19:39 +11:00
Peter Barker ba1973d343 autotest: parse messages when setting parameters
This breaks some tests which are waiting on statustexts while setting
parameters
2021-01-18 15:19:39 +11:00
Peter Barker 48a38f3ee2 autotest: wait for GPS fix before installing position validation handling 2021-01-18 15:11:19 +11:00
Peter Barker 2d62fb99b1 autotest: force-disarm copter before reboot in GCS failsafe tests 2021-01-18 14:17:32 +11:00
Andrew Tridgell d9de0ef649 autotest: added copter-bfx params 2021-01-17 12:25:47 +11:00
Randy Mackay b18e5966f7 Tools: fixes from peer review as AHRS default changed to EKF3 2021-01-16 08:24:23 +09:00
Randy Mackay 2f51b59de4 Tools: copter test parameter validation waits 10sec before starting
This allows the GPS driver to initialise which avoids an EKF3 source requires GPS failure
2021-01-16 08:24:23 +09:00
Randy Mackay bb926a2976 Tools: autotest fly_gyro_fft disables EKF2 and EKF3
fly_gyro_fft_harmonic also disables EKF2 and EKF3
2021-01-16 08:24:23 +09:00
Randy Mackay f9e7d59756 Tools: Copter.ArmFeatures fixups for EKF3
changed to disable the simulated GPS instead of disabling the driver
expected EKF flags are slightly different
2021-01-16 08:24:23 +09:00
Randy Mackay 9c56b406be Tools: Copter.AltEstimation fixes
disable baro so EKF has no altitude estimate
add check that mode change to ALT_HOLD failed
2021-01-16 08:24:23 +09:00
Randy Mackay 1f8b48e8f7 Tools: common autotest spelling fix
reach should be reached
2021-01-16 08:24:23 +09:00
Randy Mackay f68f26e75d Tools: Copter.VisionPosition config for EKF3 2021-01-16 08:24:23 +09:00
Randy Mackay d2bdc949b2 Tools: Copter.OpticalFlowLimits checks altitude 2021-01-16 08:24:23 +09:00
Randy Mackay 0ba696f761 Tools: Copter.OpticalFlowLimits config for EKF2/3 2021-01-16 08:24:23 +09:00
Randy Mackay d00194c60a Tools: copter test_rangefinder_switchover config for EKF2/3 2021-01-16 08:24:23 +09:00
Randy Mackay bd8b85d1e5 Tools: remove ekf2 enable from copter defaults 2021-01-16 08:24:23 +09:00
Peter Barker cd8a393ac2 autotest: create own RC thread to handle setting of RC overrides
autotest: prevent method-on-undef problem in case of early test failure

autotest: plumb MAVProxy rc input back in for switch test

autotest: close off rc thread in case of timeout
2021-01-15 20:56:30 +11:00
Randy Mackay d02a61a65d Tools: default parameters for hexsoon td860 2021-01-14 13:13:32 +09:00
nkruzan c0e4ef4219 Tools: vagrant: update path to CMAC-circuit.txt 2021-01-14 11:34:10 +11:00
Jacob Walser e235c379bf Frame_params: rename bluerov2 4.0 firmware defaults files
These files apply to 4.0.0...4.0.2, not only 4.0.2
2021-01-13 12:50:28 -05:00
Peter Barker 1dad0ecb46 autotest: disarm vehicle in case vibration test excepts 2021-01-13 19:46:13 +11:00
Peter Barker 47aea5f44c autotest: print stack traces for caught exceptions 2021-01-13 19:46:13 +11:00
Pierre Kancir fc0e2fec6b Tools: add caching for --target= completion that is long 2021-01-13 19:20:57 +11:00
Andy Piper a07cbc8706 Tools: BeastF7 bootloader
add BeastH7/BeastF7 to builds
update BeastF7 bootloader
2021-01-13 18:09:33 +11:00
Peter Barker e85e6d3375 autotest: use new set_parameters in place of many set_parameter calls
autotest: use set_parameters for applying from parameter file

autotest: use set_parameters in place of many set_parameter calls
2021-01-13 15:09:29 +11:00
Peter Barker 2917c75f35 autotest: add option to timeout parameter fetching in system time 2021-01-13 15:09:29 +11:00
Peter Barker 83f2f365c0 autotest: implement a more efficient set_parameters, implement set_parameter in terms of it 2021-01-13 15:09:29 +11:00
Peter Barker f478666700 autotest: correct scripting test for missing message
The message could pass us by
2021-01-13 12:24:17 +11:00
Peter Barker 8497f8fc73 autotest: correct some timeout issues around Copter takeoff 2021-01-13 12:24:17 +11:00
Peter Barker 0a39c49711 autotest: gpstovicon: reboot after setting new EKF type rather than before 2021-01-13 12:24:17 +11:00
Peter Barker 252b166099 autotest: reboot after Copter gyrofft test
Really weird things happen if you switch from EKF2 to EKF10 - like your
home position being set but your origin not!
2021-01-13 12:24:17 +11:00
Peter Barker e7aefc7fe4 autotest: make polling home position quiet by default 2021-01-13 12:24:17 +11:00
Peter Barker 5318538182 autotest: reboot SITL when moving from EKF10 to EKF2 in mag test
Bad things happen when moving from one to the other...
2021-01-13 12:24:17 +11:00
Peter Barker 987466bc3d autotest: increase timeout on avoidance-corners test
Race conditions can mean angles are less than expected
2021-01-13 12:24:17 +11:00
Peter Barker fdb5b5e6d6 autotest: correct dataflash transfer test for long periods
This came in with a 35 second delay, which is rather spectacular given
the 5 second loop it is in.

2021-01-11T11:54:30.3046835Z dataflash_logger status
2021-01-11T11:54:30.3047406Z MANUAL> DFLogger: Active Rate(35s):408.788kB/s Block:65034 Missing:0 Fixed:0 Abandoned:0
2021-01-11T11:54:30.3048195Z Timed out looking for Active Rate\([0-9]s\):([0-9]+[.][0-9]+)
2021-01-11T11:54:30.3048801Z AT-0472.3: Exception caught: 60
2021-01-13 12:24:17 +11:00
Willian Galvani 9020c79677 Tools: Frame_params: Sub: fix parameter types
These files are consumed by QGroundControl. This means integers
should not have a decimal point.
2021-01-12 11:44:25 -08:00
Peter Barker 3a264e0a76 autotest: use LOG_STRUCTURE_FROM as key string (don't need library name) 2021-01-12 17:44:24 +11:00
Pierre Kancir 409177d22a Tools: remove duplicate kg/m.m 2021-01-12 10:21:55 +11:00
Josh Henderson 0052e4d528 Tools: auotest add LOG_STRUCTURE_FROM_AHRS 2021-01-12 10:13:22 +11:00
Mirko Denecke d08487b8ae AP_Periph: fix command to build bootloader 2021-01-11 12:27:44 -08:00
Andrew Tridgell faae0a8609 Tools: added support for v3 Invensense sensors
starting with ICM-40609, ICM-42688 and ICM-42605
2021-01-11 14:43:35 +11:00