Commit Graph

5688 Commits

Author SHA1 Message Date
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
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
Peter Barker 4d19ff6b26 autotest: prompt ArduPilot for SYSTEM_TIME message during reboot
This helps us actually execute the timeouts appropriately and thus
re-fetch the STAT_BOOTCNT parameter we use for detecting the reboot

Eliminates annoying pauses during testing.
2021-01-09 16:20:12 +11:00
Peter Barker 8e6d144d72 autotest: re-raise KeyboardInterrupt after closing pexpects
this gives a stack trace, which is handy if the tests get caught
indefinitely somewhere
2021-01-09 15:16:50 +11:00
Peter Barker 5120ebf2f6 autotest: add a set_parameters method 2021-01-08 23:51:33 +11:00
Jacob Walser c5ec0cfdee Frame_params: (BlueRov2/Sub-3.5.1) revert to 19086e34
this file is targeted specifically at 3.5.1 firmware
the subsequent contributions reflecting changes to master should
not have been applied
2021-01-07 07:39:59 -08:00
Jacob Walser 4c13a5ae4f Frame_params: (BlueRov2 Heavy/Sub-3.5.2) revert to 9897ff60
this file is targeted specifically at 3.5.2 firmware
the subsequent contributions reflecting changes to master should
not have been applied
2021-01-07 07:39:59 -08:00
Jacob Walser 567c6d4991 Frame_params: (BlueRov2/Sub-3.5.2) revert to 83bb1e7f
this file is targeted specifically at 3.5.2 firmware
the subsequent contributions reflecting changes to master should
not have been applied
2021-01-07 07:39:59 -08:00
Jacob Walser 367e7b35de Frame_params: add defaults for bluerov2 on Sub 3.5.4 firmware 2021-01-07 07:39:59 -08:00
Jacob Walser 3ce9d9eb44 Frame_params: add defaults for bluerov2 on Sub 4.0.2 firmware 2021-01-07 07:39:59 -08:00
Andrew Tridgell ad29be14c6 autotest: added ARACE_hand location 2021-01-07 18:42:33 +11:00
Peter Barker 4fb4beab67 Tools: adjust decode_watchdog.py for new message format 2021-01-07 17:06:09 +11:00
Peter Barker 7474948971 autotest: add test for mavlink rangefinder out-of-range-low 2021-01-06 15:33:41 +11:00
Peter Barker fdd0297f12 autotest: add more tests for MAVLink rangefinder
Allows for finer-grain control over what messages we're sending.
2021-01-06 15:33:41 +11:00
Andrew Tridgell ae6569ab67 AP_Periph: updated release notes for 1.2.0 2021-01-06 07:59:33 +11:00
Andrew Tridgell 7672f0a2ce autotest: added NDRCC field 2021-01-05 21:13:12 +11:00
Andrew Tridgell b5476c6e5c autotest: added ExternalAHRS test 2021-01-05 21:13:12 +11:00
Andrew Tridgell 53e56d2933 Tools: added SERIAL for decode_devid 2021-01-05 21:13:12 +11:00
Andrew Tridgell 5840d24ed9 Tools: build AP_ExternalAHRS 2021-01-05 21:13:12 +11:00
Peter Barker 487f36146d Tools: add support for simulated TSYS01 temperature sensor 2021-01-05 12:01:51 +11:00
Peter Barker 6433647d9e autotest: add trivial autotest for TSYS01 temperature 2021-01-05 12:01:51 +11:00
Randy Mackay 66b2b988c4 Tools: update gps-vicon switching test params 2021-01-05 10:58:06 +11:00
Andrew Tridgell 90b8893b4a Tools: removed dependency on genromfs and cmake
we don't need these any more
thanks to James for noticing
2021-01-05 10:18:35 +11:00
Peter Barker 2240a60e20 autotest: add trivial test for set-position-target-local-ned 2021-01-05 08:13:02 +09:00
Peter Barker 53336595e1 autotest: add simple test for Rover set_attitude_target handling 2021-01-05 08:13:02 +09:00
auturgy 1c4873cece Tools: build_autotest.sh update email address
drones_discuss is well obsolete.  I've used ardupilot.devel@google.com for now although we could do better, or simply choose not to emit spam.
2021-01-04 14:41:43 +11:00
Tom Pittenger ee573a0275 AP_Periph: add NTF (Notify) full library and it's params 2021-01-03 16:24:12 -08:00
Pierre Kancir 61d1f747ba Tools: completion: bash better completion for binaries 2021-01-03 12:33:25 +11:00
Pierre Kancir d52c69af81 Tools: completion: bash better completions for sim_vehicle.py 2021-01-03 12:33:25 +11:00
Pierre Kancir bee767a9aa Tools: completion: better completion for waf 2021-01-03 12:33:25 +11:00
Pierre Kancir 60f2e119a5 Tools: completion: bash complete subtest on autotest.py 2021-01-03 12:33:25 +11:00
Pierre Kancir 5f033a551a Tools: completion: add --target completion 2021-01-03 12:33:25 +11:00
hendjosh 7f999ef64a Tools: Change Cygwin default install location to Cygwin64 2021-01-03 09:49:05 +11:00
Peter Barker f1067eee81 Tools: build_ci.sh: re-add KakuteF7Mini for bidir d-shot testing 2021-01-02 22:40:40 +11:00
Andy Piper f702288ad2 autotest: correct number of logs 2021-01-02 22:30:08 +11:00
Andrew Tridgell 529bc6b77c autotest: fixed compatibility with python on wiki server 2021-01-02 16:34:29 +11:00
Hwurzburg f0954f35a7 Tools: change KakuteF7Mini build to KakuteF7 to get biggest flash 2021-01-02 15:55:25 +11:00
auturgy 3b7207a5e4 Tools: Update board_types.txt
Cross-alignment with PX4, plus whitespace fixes
2021-01-01 17:31:44 +11:00
Andrew Tridgell eaf7e7354a Tools: added locations.txt to ROMFS for SITL 2021-01-01 17:30:32 +11:00
Andrew Tridgell 19e597ec3f AP_Periph: check for null uart in msp 2021-01-01 15:40:13 +11:00
Andrew Tridgell 37506c2f3a AP_Periph: added MSP_PORT parameter
allows MSP to be enabled/disabled
2021-01-01 15:40:13 +11:00
David B. Bitton 8b2e69162d AP_Periph: add support for Toshiba LED 2020-12-31 11:02:10 -08:00
Peter Barker 65cffdad5a autotest: print stack traces when exceptions caught 2020-12-31 17:43:23 +11:00
Peter Barker 38ea62c5d7 autotest: send mode change messages directly rather than via MAVProxy 2020-12-31 17:43:06 +11:00
Peter Barker d31f676c33 autotest: don't use MAVProxy for uploading using fencepoint protocol 2020-12-31 17:42:50 +11:00
Peter Barker 2b06ae9aa0 autotest: create and use a wait_sensor_state method 2020-12-31 17:42:33 +11:00
Peter Barker 7c7fb67829 autotest: fixes for AFS test 2020-12-31 17:42:20 +11:00
Peter Barker 7f79ddf3ff autotest: CRSF: remove pointless wait-ready-to-arm 2020-12-31 17:42:06 +11:00
Peter Barker 6c48a38497 autotest: avoid zero-byte-read on log download 2020-12-31 17:39:53 +11:00
Peter Barker 6908a776fa autotest.py: timeout after 5400 seconds 2020-12-31 14:55:32 +11:00
Peter Barker 8abf9a82f3 autotest: reliability improvements for EKF failover tests 2020-12-31 14:49:25 +11:00
Andrew Tridgell 939d8509b2 autotest: added ARACE flight locations 2020-12-30 12:33:58 -08:00
Andy Piper b5688c023c Tools: add KakuteFMini to CI f7 build to test bi-directional dshot 2020-12-30 19:14:16 +11:00
Pierre Kancir 69fab70582 Tools: use lxml for xml generation
fix caracters
fix indentation
validate xml
2020-12-30 18:19:43 +11:00
Andy Piper efb2e9f81a Tools: bootloader for iFlight Beast H7 AIO 2020-12-30 18:13:03 +11:00
Tom Pittenger 6bb2bec4f3 AP_Bootloader: add boardIDs for CubeORange/Black-periph, pixracer-periph 2020-12-29 07:52:39 -07:00
ukmook 44ce2b225c Tools/bootloaders: add Pixracer-periph bootloader image 2020-12-29 07:52:39 -07:00
Peter Barker 12505c4c28 autotest: add tests for new higher-channel override semantics 2020-12-29 15:03:34 +11:00
Peter Barker b53b30ea51 autotest: split out a get_rc_channel_value() 2020-12-29 15:03:34 +11:00
Tom Pittenger 71859c9893 AP_Periph: rename AP_PERIPH_<feature>_DEFAULT to HAL_PERIPH_<feature>_DEFAULT 2020-12-28 09:16:02 +11:00
Andrew Tridgell 80b3c2491f Tools: rebuild IO firmware 2020-12-28 08:27:23 +11:00
Tom Pittenger 7af731fbda AP_Periph: change GPS and Rangefinder to use port stored in param 2020-12-25 16:24:50 -07:00
Tom Pittenger 4c484c8577 AP_Periph: compile-error fix for for hwdef with HAL_NO_ROMFS_SUPPORT 2020-12-25 16:24:50 -07:00
Peter Barker b02f0ee51f autotest: make Sub's setting of FS_GCS_ENABLE persist across wipes 2020-12-25 12:18:01 +11:00
Peter Barker 26bbedd777 autotest: remove un-needed parameter wipe after soaring test 2020-12-25 12:18:01 +11:00
Peter Barker 0a5eedb05a autotest: wipe and reinitialise parameters when resetting SITL commandline
Should fix this scenario:
 - Plane soaring test uses different defaults file
 - soaring test sets a parameter away from default value
 - context pop sets it back to the value in the defaults file
 - it is now in permanent storage with the default found in the
different defaults file used by the soaring test
 - we finish running the soaring test an reset the SITL command line
back to default, with the old defaults file
 - we go on to running the next test.  At this point the value for that
parameter is the default in the defaults file used by the soaring test.

Something similar applies in the Callisto test.
2020-12-25 12:18:01 +11:00
Peter Barker 0788b46374 autotest: add trivial test for Callisto 2020-12-25 12:18:01 +11:00
Peter Barker 5d23dc2314 autotest: avoid replicating enumeration value names from pymavlink 2020-12-24 00:22:52 +11:00
Pierre Kancir 06d6526ba6 Autotest: correct wait_distance_to_home comment 2020-12-24 00:22:52 +11:00
Pierre Kancir 824b9c1dc9 Autotest: add setpoint_target test for copter 2020-12-24 00:22:52 +11:00
Pierre Kancir 67533c3284 Autotest: add setpoint_target tests on rover 2020-12-24 00:22:52 +11:00
Pierre Kancir 6565309325 Autotest: add test_set_velocity_global_int tests 2020-12-24 00:22:52 +11:00
Pierre Kancir 10673122c0 Autotest: add test_set_position_global_int tests 2020-12-24 00:22:52 +11:00
Pierre Kancir 62a1fa1052 Autotest: add wait_speed_vector and wait yaw_speed functions 2020-12-24 00:22:52 +11:00
Pierre Kancir 0ca8e817d5 Autotest: wait_and_maintain add support of Vector3 2020-12-24 00:22:52 +11:00
Pierre Kancir dbaeb668f1 Autotest: add MAV_FRAME dictionary 2020-12-24 00:22:52 +11:00
Pierre Kancir 0bf7bd7f68 Autotest: add set_position mask to common.py 2020-12-24 00:22:52 +11:00
Pierre Kancir 60c6666941 Tools: ardupilotwaf: fix scripting inclusion on build_binaries.py 2020-12-23 22:52:52 +11:00
Peter Barker 662814d6bd autotest: reboot after running Copter vibe tests
The EKF type (at the very least) requires a reboot to revert to its
original value.
2020-12-22 23:51:54 +11:00
Peter Barker 69ef0937f4 autotest: add trivial test just to cover the Airspeed_DLVR code 2020-12-22 23:07:24 +11:00
Tom Pittenger eb3da385dd AP_Periph: gracefully handle PWM and Params during reboot and bot up as PWM safety on 2020-12-21 18:27:07 -08:00
Siddharth Purohit 4d91071e7e AP_Periph: ignore unused-function error for helper fix_float16() 2020-12-21 18:27:07 -08:00
Tom Pittenger 07aeab5c44 AP_Periph: add Servo OUT support 2020-12-21 18:27:07 -08:00
Iampete1 6f92e6298a Tools: add Kg/m.m to param units 2020-12-22 11:00:59 +11:00
giacomo892 c8d874676f AP_Periph: MSP fix last baro ms 2020-12-22 10:08:34 +11:00
Randy Mackay d964fa2307 Tools: fixup EKF source pre-arm test
although setting COMPASS_USE/2/3 to zero disables the pre-arm for EK3_SRCx_YAW = 1 (Compass) the pre-arm still triggers if EK3_SRCx_YAW = 3 (External Compass Fallback)
2020-12-21 16:56:38 +09:00
Andrew Tridgell ba78fecaaa autotest: added Kris location
helps with testing missions from Kris in China
2020-12-21 12:05:50 +11:00
Andrew Tridgell 0bf0fbe687 AP_Periph: prepare for 1.2beta2 2020-12-19 11:46:56 +11:00
Tom Pittenger 2a4fef73dd AP_Periph: change ADSB to use param ADSB_PORT instead of define 2020-12-17 23:24:04 -08:00
Tom Pittenger 84e578b3df AP_Bootloader: respect HAL_BOOTLOADER_TIMEOUT when CAN and SERIAL/USB is enabled 2020-12-18 16:35:57 +11:00
Tom Pittenger 5238f85091 AP_Periph: add BRD_SERIAL_NUM and append CAN_APP_NODE_NAME 2020-12-17 21:28:10 -08:00
Peter Barker 4efcf16005 autotest: correct number of bytes we expect to download
We request a fixed number of bytes, which could be more or  less than the
log file size.
2020-12-18 13:35:15 +11:00
Peter Barker 8e71e2505a autotest: correct lookup for most recent log file 2020-12-18 13:35:15 +11:00
Randy Mackay 50f9eee54c Tools: relax fly_guided_stop climb rate tolerance to 1cm/s 2020-12-18 08:32:21 +09:00
hendjosh 8567b829a6 Tools: add name to GIT_Test.txt 2020-12-18 09:04:32 +11:00
Mike R 81745b0e64 Tools: Add Goretovka (RF, Moscow region) location 2020-12-18 08:04:41 +11:00
Peter Barker 76b0b0429f autotest: add another example on bisect helper 2020-12-18 07:48:34 +11:00
Tom Pittenger a285a741df AP_Periph: implement HAL_PERIPH_ALLOW_MAVLINK_UART_OR_USB_REBOOT_CMD 2020-12-18 06:59:09 +11:00
Mouna 2763ce027e Tools: adding my name to GIT_Success 2020-12-16 20:28:09 +09:00
Pierre Kancir 7a2a60e65c Tools: rover: correct test_setting_modes_via_mavproxy_switch for RTL and AUTO 2020-12-16 17:27:07 +09:00
Pierre Kancir 871b9fc12d Tools: plane : initial_mode_switch_mode 2020-12-16 17:27:07 +09:00
Pierre Kancir e4707c20ea Tools: rover: add initial_mode_switch_mode 2020-12-16 17:27:07 +09:00
Pierre Kancir 9550721ae4 Tools: add initial_mode testing 2020-12-16 17:27:07 +09:00
Sebastian Witt fe8ccca9a9 Tools: Add Diatone MambaF405 MK2 2020-12-16 19:07:07 +11:00
Andrew Tridgell f10f7d971d Tools: added --vehicle-binary to sim_vehicle.py
this is useful for using a pre-built binary
2020-12-16 08:45:11 +11:00
Pierre Kancir 7d88d104b8 Tools: put Rover SlewRate test on disable list for now 2020-12-16 08:25:52 +11:00
Andrew Tridgell 087eb8eeea Tools: rebuild CAN bootloaders for AP_Periph 2020-12-15 12:26:14 -08:00
Andrew Tridgell e0e4198358 AP_Bootloader: fixed can bootloader with old UAVCAN GUI tool
the part that was failing was the write of the leading words. That
part is not actually needed in this bootloader as we use a CRC before
running, so remove it, which fixes the old windows GUI tool.

This also saves some memory and flash
2020-12-15 12:26:14 -08:00
Dr.-Ing. Amilcar do Carmo Lucas fb8e1f4b9d Tools: Added support for 1/s and kg/m/m parameter units 2020-12-15 18:22:36 +11:00
Andrew Tridgell 23a9a14d64 Tools: convert to using hal.serial() instead of hal.uartX 2020-12-15 10:32:46 +11:00
Andrew Tridgell bab1bff2b9 Tools: added f303-M10070 bootloader 2020-12-14 16:31:03 +11:00
Andrew Tridgell 3cf71d11a9 AP_Periph: mark version as 1.3dev 2020-12-13 10:32:30 +11:00
Andrew Tridgell 52f66f3654 AP_Periph: updated release notes for 1.2.0beta1 2020-12-13 10:31:35 +11:00
Tom Pittenger 4b47ddf556 AP_Periph: add battery monitor to AP_Periph README 2020-12-13 09:35:28 +11:00
Phillip Kocmoud ce87b62dcc AP_Periph: Add alternate ordering of NCP5623 LED colors 2020-12-12 14:57:35 +11:00
Paul Riseborough 4cf78c34e7 Tools: Add autotest for copter wind estimation and baro correction 2020-12-11 15:21:41 +11:00
Paul Riseborough a3b5901218 autotest: Fix failing copter fly_square test
This test should be flown in ALT_HOLD, not  STABILIZE as that is better mode to test the record waypoint function becasue it removes the need to fine tune the RC3 value to match thrust/weight variation as the hover thrust is not learned fast enough at the start of the test.
2020-12-11 15:21:41 +11:00
Paul Riseborough e835da41fa Tools: Define momentum drag 2020-12-11 15:21:41 +11:00
Andrew Tridgell 5fc68a1ce5 autotest: adjust for new baro SITL param names 2020-12-11 15:21:41 +11:00
Peter Barker 813723d0b7 autotest: add test for needing AHRS to be healthy to arm 2020-12-11 09:55:40 +11:00
Peter Barker 9ad2961664 autotest: allow regex for matching wait_statustext 2020-12-11 07:35:02 +11:00
Peter Barker 50957fff89 Tools: autotest: bisect-helper.py can run autotest by name 2020-12-11 07:35:02 +11:00
Tom Pittenger 0c5cc16d7b AP_Periph: populate more fields in batteryinfo 2020-12-09 07:52:15 -08:00
Randy Mackay 9803a70d3f Tools: copter autotest spelling and format fixes 2020-12-09 19:30:48 +09:00
Randy Mackay 665e6ccdcb Tools: copter GCS fs tests explicitly set FS_GCS_ENABLE and FS_OPTIONS 2020-12-09 19:30:48 +09:00
Peter Barker 0406b28abd autotest: print exception if caught in test_alt_estimate_prearm 2020-12-09 18:06:18 +11:00
Peter Barker cecdc798ca autotest: present strings for unexpected results in run_cmd_get_ack 2020-12-09 14:09:44 +11:00
Andrew Tridgell 39c21e662d AP_Periph: check compass and baro health before using 2020-12-08 20:41:12 +11:00
Andrew Tridgell 74813e7761 AP_Periph: stop sending airspeed when unhealthy 2020-12-08 20:41:12 +11:00
giacomo892 75333dcd2f AP_Periph: support output of MSP airspeed sensor 2020-12-08 20:41:12 +11:00
Tom Pittenger f62a27ca8a Tools/AP_Bootloader: differentiate FAIL_REASON_BAD_LENGTH errors 2020-12-08 14:23:11 +11:00
Andrew Tridgell d0c1fd701f AP_Periph: prevent loop stuck internal error in AP_Periph bootloader flash 2020-12-08 13:22:36 +11:00
Andrew Tridgell c6548cc1b9 autotest: fixed use of GND prefix 2020-12-08 13:22:17 +11:00
Andrew Tridgell 3f6fd49507 Replay: rename baro params to BARO* 2020-12-08 13:22:17 +11:00
Andrew Tridgell dde940380f Tools: update param files to not reference GND parameters 2020-12-08 13:22:17 +11:00
Andrew Tridgell cd2f2f96eb rename barometer parameters to BARO prefix 2020-12-08 13:22:17 +11:00
murata 59445674e7 scripts: Support for decacopters 2020-12-08 11:59:10 +11:00
murata 690d64d664 LogAnalyzer: Support for decacopters 2020-12-08 11:59:10 +11:00
murata 2d55c2c42f pysim: Support for decacopters 2020-12-08 11:59:10 +11:00
murata a46333eff5 Tools: Support for decacopters 2020-12-08 11:59:10 +11:00
Peter Barker 768e3e7931 autotest: adjust Vicon test for new PREARM-checking code
The new check that the prearms-passing bit from the autopilot
indicated prearms have passed was failing here because the yaw isn't
alighed until we frob channel 7.

The intent of the prearm seems ot have been to ensure we can get a
global position - that can be accomplished by polling the home position.
2020-12-07 11:21:30 +11:00
Peter Barker 9207bd8a8a autotest: remove armability check from compass calibration test
The new prearm-checking code has shown that we're not actually armable
after all!

Even the new prearm bit won't tell you if you can arm - you have to arm
to test that!
2020-12-07 11:21:30 +11:00
Peter Barker 087300749c autotest: ensure we have position without being armable for compass cal check 2020-12-07 11:21:30 +11:00
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
Andrew Tridgell 97cbf17d01 Tools: added HitecMosaic to autobuild 2020-12-06 16:48:08 +11:00
Andrew Tridgell cb34025fef Tools: added HitecMosaic bootloader 2020-12-06 16:48:08 +11:00
Andrew Tridgell 9fa60be1ba AP_Periph: break out node status send 2020-12-06 16:48:08 +11:00
Andrew Tridgell 6ce9207394 AP_Periph: set HitecMosaic as AP_Periph target 2020-12-06 16:48:08 +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 d0236ceac9 Replay: check_replay_branch.py: inspect all logs for replayability 2020-12-03 17:28:26 +11:00
Randy Mackay 28e769a79e Tools: link AP_WheelEncoder for all vehicles 2020-12-01 14:01:17 +09:00
Andrew Tridgell 0c2770a8d4 AP_Periph: added DEBUG parameter for displaying stack usage 2020-12-01 11:14:50 +11:00
Andrew Tridgell d586a2d853 AP_Periph: added magic FLASH_BOOTLOADER=42/43 values
when FLASH_BOOTLOADER=42 we will enter into a lockup loop, which will
trigger a watchdog. This is useful for testing watchdog support
2020-12-01 11:14:50 +11:00
Peter Barker ba0367fa9f Replay: add check_replay_branch.py to check for EKF output changes
Create a replay log using master branch.
Check out a specified branch, compile and run Replay against replay log
Run check_replay.py over the produced log
2020-12-01 10:40:09 +11:00
Peter Barker 8d756d8758 Replay: check_replay.py: default to print for progress function 2020-12-01 10:40:09 +11:00
Andrew Tridgell 4e4a044d5d Tools: removed inhibitGps and inhibitGpsVertVel options
these were unused
2020-12-01 10:33:50 +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
Andrew Tridgell 895b9a34f9 Tools: support uartI, allowing a total of 9 uarts
this allows for OTG2 on the MatekH743 board, which makes SLCAN much
easier
2020-11-30 14:09:31 +11:00
Mehmet Recep Aşkar 31ebcdff75 Tools: added name to GIT_Success.txt 2020-11-30 08:28:54 +09:00
Pierre Kancir cd98129022 Autotest: fix css loading for autotest.ardupilot.org 2020-11-28 19:14:16 +11:00
Phillip Kocmoud 602388224b AP_Bootloader: Repurpose unused mRo board ID 2020-11-28 17:16:55 +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 ab95a1f8fd Tools: create a heading function to remove duplication 2020-11-25 18:51:43 +11:00
Peter Barker 8be13ac5db Tools: update instrall-prereqs-ubuntu for groovy 2020-11-25 18:51:43 +11:00
Peter Barker 9e20f4a68d autotest: add a test for compass yaw sources 2020-11-25 15:19:00 +11:00
Tom Pittenger cf2b3d9bc6 AP_Periph: add AP_BattMonitor support 2020-11-25 14:20:53 +11:00
Pierre Kancir 2e5a5cd43f Tools: correct comment on SITLtest-can 2020-11-25 10:10:03 +11:00
Andrew Tridgell 3366ee9496 Tools: fixed replay CI build 2020-11-24 20:46:37 +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
Pierre Kancir 6534557832 Tools: fix replay build on build_ci.sh 2020-11-24 10:10:33 +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
Phillip Kocmoud ef80935173 Bootloader: Add bootloader for Pixracer Pro and Control Zero OEM H7 2020-11-18 18:28:24 +11:00
Phillip Kocmoud 701ab83f01 HAL_ChibiOS: Added support for mRo ControlZero OEM H7 flight controller 2020-11-18 18:28:24 +11:00
Andrew Tridgell ce95b7e81a waf: added --enable-memory-guard option 2020-11-18 17:14:43 +11:00
Andrew Tridgell 70a8853e6a Replay: adjust lost message threshold
this needs to be a bit higher to cope with truncated logs (if SITL
ends in the middle of an EKF log write then we end up with a mismatch
in log msg counts)
2020-11-18 14:56:19 +11:00
Andrew Tridgell 32bead6013 Replay: use common events and structures
allows for --force-ekf2 and --force-ekf3 to run the other EKFs events
when needed
2020-11-17 13:45:07 +11:00
Andrew Tridgell 1250f62c88 Replay: fix for WriteV usage and cleanup unused code 2020-11-16 10:28:43 +11:00
Andrew Tridgell e143257f8a Replay: added GSF msgs to check_replay.py 2020-11-16 10:28:43 +11:00
Andrew Tridgell e122d8ae8e Replay: allow build with "./waf replay"
a bit easier to remember
2020-11-16 10:28:43 +11:00
Tom Pittenger 3b6513b932 Tools: add CubeBlack to list of AP_Periph supported boards 2020-11-14 02:26:59 -08:00
Michael du Breuil 960437d446 Tools: Add the SFML configuration flags as needed for joysticks 2020-11-13 15:38:22 +11:00