Commit Graph

5366 Commits

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