Commit Graph

5478 Commits

Author SHA1 Message Date
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