Commit Graph

7099 Commits

Author SHA1 Message Date
bugobliterator
e7ab56674b Tools:libcanard moved to modules/DroneCAN 2021-11-24 18:30:47 +11:00
bugobliterator
f74690af49 AP_Periph:libcanard moved to modules/DroneCAN 2021-11-24 18:30:47 +11:00
bugobliterator
c3be9f9eb3 AP_Bootloader: libcanard moved to modules/DroneCAN 2021-11-24 18:30:47 +11:00
bugobliterator
4e067a68e2 AP_Periph: move to using dronecan instead of uavcan 2021-11-24 18:30:47 +11:00
Peter Barker
a93da420c8 waf: make maybe-uninitialised and duplicated-cond errors 2021-11-24 18:26:17 +11:00
Peter Barker
a2961ede8f waf: add -Wsizeof-pointer-div 2021-11-24 18:26:17 +11:00
Samuel Tabor
7931b10baf autotest: Fix rangefinder in Landing-Drift test. 2021-11-24 18:14:26 +11:00
Peter Barker
a7aa74ab20 autotest: add rangefinder convenience functions, fix wait_alt handling
autotest: add test for rangefinders outside their maxalt
2021-11-23 18:20:58 +11:00
Peter Barker
2904036013 autotest: fetch tasks.txt twice
Collection isn't instantaneous
2021-11-23 18:17:42 +11:00
Shiv Tyagi
7237e346d8 Tools: autotest: add defaults file for broken copter frames
This adds default files for copter frames which were broken because of missing defaults
2021-11-23 15:52:25 +09:00
Peter Barker
c99a49eeb9 autotest: add test that we continue to get simulated vehicles from SIM_ADSB 2021-11-23 11:09:29 +11:00
Andrew Tridgell
b05a3fc950 Tools: support up to 9 UARTs 2021-11-22 22:48:59 +11:00
Randy Mackay
b9099f7b88 Tools: sim_vehicle supports motorboat frame
also add motorboat param file to enable waves and tide
2021-11-20 08:58:12 +09:00
Peter Barker
5025056f4e autotest: fix MSP_DJI test for Py2 2021-11-20 09:37:02 +11:00
Andrew Tridgell
821a041cbe Tools: fixed cygwin build for rover
try to fix singleton depenency in scripting
2021-11-19 20:40:30 +09:00
Peter Barker
492104f9f2 Tools: uploader.py: add Swift-Flyer to usb device strings 2021-11-18 15:22:42 +11:00
Peter Barker
477528bd93 Tools: build_binaries.py: split timing out for configure/build steps 2021-11-18 11:54:37 +11:00
Peter Barker
9a47a85c0d autotest: augment PerfInfo test 2021-11-17 19:00:04 +11:00
Peter Barker
b42432ea3e autotest: add trivial test for MSP 2021-11-17 12:06:07 +11:00
Josh Henderson
bc9ab66348 Tools: size_compare Change elfdiff_output rectory 2021-11-16 17:13:51 +11:00
TunaLobster
f89a7a3c63 Tools: Upate iofirmware_high/lowpolh.bin 2021-11-16 14:12:43 +11:00
TunaLobster
88489ba240 Tools: fix ADC scaling on IOMCU 2021-11-16 14:12:43 +11:00
MallikarjunSE
bca7f519c2 Tools: reserve board id for sierra-F405 2021-11-16 12:53:00 +11:00
Shiv Tyagi
5811a62bc6 Tools: add autotest for DEVO telemetry
This adds an autotest to test if we receive data with devo telemetry correctly.
2021-11-16 11:37:10 +11:00
Peter Barker
8ae1a58eae Tools: move from ENABLE_SCRIPTING to AP_SCRIPTING_ENABLED 2021-11-15 20:27:40 +11:00
Peter Barker
32374d1614 Tools: ensure ENABLE_SCRIPTING is always defined 2021-11-15 20:27:40 +11:00
Peter Barker
b83cf3a431 waf: ensure ENABLE_SCRIPTING is always defined 2021-11-15 20:27:40 +11:00
Peter Barker
873e04195f autotest: add test for QuadPlane transition states 2021-11-15 07:21:27 +11:00
Peter Barker
75b9a3ff77 autotest: add test for PerfInfo tasks.txt info 2021-11-14 20:43:30 +11:00
Peter Barker
ad32f8d6d2 autotest: allow building of blimp in autotest 2021-11-14 18:35:06 +11:00
Shiv Tyagi
0cae113521 autotest: reset RNGFNDx_TYPE in rangefinder driver test
We should reset RNGFNDx_TYPE after we finish testing a set of rangefinder drivers to avoid failing successive tests.
Also, we now fail prearm checks if we receive no data from RF, we need to continuously send DISTANCE_SENSOR messages through mavlink to pass those checks while trying to arm.

Co-Authored-By: Peter Barker <7077857+peterbarker@users.noreply.github.com>
2021-11-13 09:47:39 +09:00
Andy Piper
9da11cd31d autotest: set SMAX during autotune test 2021-11-11 08:13:23 +09:00
Peter Barker
756e45cda2 autotest: add get_stacktrace method 2021-11-11 10:06:47 +11:00
Bill Geyer
4f053bb7d5 Tools: set new parameters for autotest 2021-11-10 16:45:17 -05:00
Peter Barker
69d86e6896 autotest: turn draining_mav off when doing early-exit for being quiet 2021-11-11 07:23:09 +11:00
Andrew Tridgell
78050be6f3 Tools: update CubeOrange bootloader 2021-11-10 18:10:20 +11:00
Peter Barker
548e8aef2a Tools: run BalanceBot and SailBoat tests as part of coverage 2021-11-10 09:34:05 +11:00
Peter Barker
4bea052692 Tools: check tests actually succeeded
Without this we can get a false impression of how much is being covered

It does mean all your tests have to pass...
2021-11-10 09:34:05 +11:00
Andrew Tridgell
be2e75f8db Tools: added AIRLink bootloader 2021-11-10 08:47:21 +11:00
Andrew Tridgell
5b3dc03cf6 Tools: auto-build AIRLink board 2021-11-10 08:47:21 +11:00
andypnz
e929561635 Tools: added my locations to locations.txt 2021-11-10 08:45:18 +11:00
Peter Barker
2dd392ec4b autotest: read pexpects while waiting for sim time
If we do not drain pexpects regularly the ardupilot process can become blocked on terminal IO
2021-11-07 09:59:12 +11:00
Peter Barker
bb973ac913 autotest: print content of sitl /proc/PID/status on death
Mysterious death ofi Copter in CI - add more debug
2021-11-06 17:22:52 +11:00
Peter Barker
f86b2c1051 autotest: add sanity check that sim time is updating 2021-11-06 17:22:52 +11:00
Randy Mackay
3b34087977 Tools: DeSET mapping boat default parameters
This frame will be added as a reference frame to the wiki
2021-11-05 22:42:12 +09:00
Peter Barker
b6293acbce autotest: tweak how we make gps bad in fallback test 2021-11-05 23:18:11 +11:00
Andrew Tridgell
f0a4e6e55b Tools: added Pixhawk5X bootloader 2021-11-05 14:30:43 +11:00
Andrew Tridgell
8a6a47aa3f Tools: autobuild Pixhawk5X 2021-11-05 14:30:43 +11:00
Andrew Tridgell
dfd2686878 Tools: fixed uploader.py for px4 bootloader
by fetching ext flash info before we get IDs the bootloader is left in
a state where it accepts an erase and upload
2021-11-05 14:30:43 +11:00
Andrew Tridgell
350de066a5 Tools: recognise Auterion bootloader string 2021-11-05 14:30:43 +11:00
Peter Barker
8de7261c67 autotest: sim_vehicle.py: add --auto-offset-line
Simplifies spawning multiple instances.
2021-11-04 17:01:09 -07:00
Peter Barker
e7b30a0085 sim_vehicle.py: correct setting of udpclient ports 2021-11-04 17:01:09 -07:00
Peter Barker
856fe6a1fb autotest: sim_vehicle: neaten sanity check for sysid 2021-11-04 17:01:09 -07:00
Peter Barker
4d5411b42f autotest: sim_vehicle: correct AP commandline for multicast/udpclient 2021-11-04 17:01:09 -07:00
Michael Day
93e6c1a920 Tools: sysid cannot be run together with auto-sysid
Added per @peterbarker suggestion
Co-authored-by: Peter Barker <pb-gh@barker.dropbear.id.au>
2021-11-04 17:01:09 -07:00
Arash Negahdar
d065515b2a Tools: Use a single MAVProxy instance in sim_vehicle
With the implementation of the 'alllinks' command in MAVProxy, and the
exposure of the SYSID parameter this becomes feasible

        Tools: Fix mcast handling
2021-11-04 17:01:09 -07:00
Arash Negahdar
49af90a70e Tools: Set SYSID based on instance number in sim_vehicle.py 2021-11-04 17:01:09 -07:00
Peter Barker
56dda4c07f autotest: fix race condition in Rover gcs mission test 2021-11-05 09:07:19 +11:00
Josh Henderson
32e628f267 Tools: size_compare_branches.py add -vehicle option 2021-11-04 19:57:27 +11:00
Buzz
854266dc78 ESP32: drop submodule and add script to get it as a clone and/or submodule
works with either a submodule setup or a 'clone' for either type of dev
2021-11-03 06:06:15 +11:00
Peter Barker
d0872abdf9 autotest: FETtec tests: give vehicle a chance to realise ESCs are dead
Should remove the race condition where we disable an ESC but the vehicle
doesn't realise and lets the vehicle arm.

Also, waiting this long causes the ESCs to just go missing, not give a
telemetry failure
2021-11-02 09:39:17 +11:00
Buzz
228fafeffe Tools: add esp32 support
see libraries/AP_HAL_ESP32/README.md for more.

Author: Charles Villard <charlesvillard10@gmail.com>
Author: Buzz <davidbuzz@gmail.com>
2021-11-01 17:40:31 +11:00
bugobliterator
c6cacee960 Tools: update readme to include Hardfault debugging steps 2021-10-30 20:30:14 +11:00
bugobliterator
1a996aa6f9 Tools: fix crash logging using gdb dump 2021-10-30 19:24:57 +11:00
bugobliterator
6adfcd4957 waf: disable building CrashCatcher for non 2M boards 2021-10-30 19:24:57 +11:00
bugobliterator
94cb546ff0 Tools: add support for parsing crash dumps directly 2021-10-30 19:24:57 +11:00
bugobliterator
eee7e6cadf waf: add defines for use in CrashCatcher Flash dump 2021-10-30 19:24:57 +11:00
bugobliterator
06725ed68a Tools: add crash_debugger script to fetch and parse HardFault crashes 2021-10-30 19:24:57 +11:00
bugobliterator
c5dd02fb2b waf: compile in crash catcher library 2021-10-30 19:24:57 +11:00
Andy Piper
7daa276769 waf: stricter lua bindings build processing 2021-10-28 07:19:16 +11:00
Andrew Tridgell
8f591a853b Tools: run submodule fix 3 times 2021-10-27 06:24:41 +11:00
Andrew Tridgell
e94fdac91f Tools: rename uLanding simulation to USD1 2021-10-26 15:31:12 +11:00
Peter Barker
76859c8386 Tools: add option to configure-all to write all hw configs out 2021-10-26 15:28:19 +11:00
Andy Piper
6672577f6e waf: make sure APM_BUILD_DIRECTORY is defined for APM_BUILD_COPTER_OR_HELI and lua 2021-10-26 11:42:12 +11:00
Iampete1
bc7c5c24da Tools: autotest: quadplane: reboot for tailsitters and allow longer time for disarm 2021-10-26 10:03:00 +11:00
IamPete1
1e09e79617 Tools: autotest: add copter tailsitter and params 2021-10-26 10:03:00 +11:00
Peter Barker
7f125312f3 autotest: disable flapping GroundEffectCompensation_takeOffExpected test
This test is flapping.  More often now.
2021-10-25 14:09:22 +11:00
Andrew Tridgell
8f90d6f83f git: added a easy script for fixing submodule issues
this fixes the DSDL DroneCAN issue. Run
Tools/gittools/submodule-sync.sh
2021-10-23 21:32:48 +11:00
Andrew Tridgell
a50120cec3 CAN: switched to DroneCAN DSDL and libuavcan 2021-10-23 21:13:07 +11:00
Peter Barker
754192ff26 autotest: improve gps-for-yaw test
There are flag values in the mavlink definitions for this message, so
make sure we get something approaching the right number.
2021-10-21 12:09:21 +11:00
Peter Barker
5cf62e8fb3 autotest: tweak soaring test SOAR_VSPEED
This is right on the edge on master
2021-10-21 12:09:21 +11:00
Peter Barker
b9a4902aa6 autotest: let system settle before annoying
Also fly in circles to avoid long flight home
2021-10-21 12:09:21 +11:00
Peter Barker
fda0d16475 autotest: correct loiter-requires-position test for new SIM_GPS simulation
sitl_gps was sending out ubx packets even if the device was supposed to
be absent, allowing the EKF to get a lag and thus allocate its buffers.

The new sim doesn't do that, so we do need to direct the EKF to not use
the GPS.
2021-10-21 12:09:21 +11:00
Peter Barker
99126d3cc7 autotest: add autotest for getting yaw from moving-baseline GPS setup 2021-10-21 08:34:36 +11:00
Peter Barker
2f90abd7ea autotest: raise an exception in the case we don't load a parameters file 2021-10-21 08:34:36 +11:00
Andrew Tridgell
bebb722d02 waf: improve error messages for lack of dsdlc and empy 2021-10-20 19:05:01 +11:00
Shiv Tyagi
20ce9ade07 Tools: scripts : parse blimp parameters 2021-10-20 14:22:48 +11:00
Randy Mackay
37dbbc7ed3 Tools: add AP_Torqeedo to ardupilotwaf.py 2021-10-19 01:30:51 -04:00
Andrew Tridgell
712df2eb03 Tools: auto-build QiotekZelotH743 2021-10-19 08:17:43 +11:00
QioTek
2fb3ceebb7 Tools: added QioTekZealotH743 bootloader 2021-10-19 08:17:43 +11:00
Peter Barker
7cea90df98 Tools: fix --accuracy option to check_replay.py
args is not in-scope when check_replay is being used as a library rather
than as a script
2021-10-19 08:15:15 +11:00
Stephen Dade
40fea51f07 Tools: Add intelhex to Cygwin install scripts 2021-10-17 23:35:40 -07:00
Andrew Tridgell
f07ba3164b Tools: autobuild Sierra-L431 2021-10-17 20:30:20 +11:00
Andrew Tridgell
11c04e62a7 Tools: ensure we build L431 and L476 MCUs 2021-10-17 20:30:20 +11:00
Andrew Tridgell
aa5da9d20b Tools: added NucleoL476 board type 2021-10-17 20:30:20 +11:00
Andrew Tridgell
122154827c Tools: added Sierra-L431 bootloader 2021-10-17 20:30:20 +11:00
Andrew Tridgell
eb87de2d63 Tools: added Sierra-L431 board type 2021-10-17 20:30:20 +11:00
Peter Barker
0e6b0cbf35 autotest: add trivial test for MegaSquirt EFI system 2021-10-17 10:00:08 +11:00
Davis Schenkenberger
3e748d77c9 Tools: autotest: add test for LORD EAHRS 2021-10-17 08:55:03 +11:00
Josh Henderson
a06a192255 Autotest: Rover add test for multiple depth finders 2021-10-15 13:08:17 +11:00
bugobliterator
2223698c47 waf: don't build libuavcan library for AP_Periph builds 2021-10-14 20:13:06 +11:00
bugobliterator
f178174df1 Tools: install empy while configuring for ci 2021-10-14 20:13:06 +11:00
bugobliterator
99b53055ce Tools: include install empy as prerequisite 2021-10-14 20:13:06 +11:00
bugobliterator
f74550bce5 AP_Periph: update notify state decode to use current dsdlc code 2021-10-14 20:13:06 +11:00
bugobliterator
6b44bc3e4c AP_Periph: use methods from new canard dsdl generator 2021-10-14 20:13:06 +11:00
Josh Henderson
f67a4ec025 Tools: High_Latency2 Test Fix Location Distance Test 2021-10-13 19:40:45 +11:00
Josh Henderson
941cd6ebc2 Tools: arduplane.py add HIGH_LATENCY2 tests and Check Air_Temperature 2021-10-13 19:40:45 +11:00
Peter Barker
5125874681 autotest: add some tests for running multiple GPSs 2021-10-13 18:02:16 +11:00
Peter Barker
265616b582 autotest: tidy use of dump_message_verbose 2021-10-13 18:02:16 +11:00
Peter Barker
7446a28c45 autotest: augment simulated GPS tests 2021-10-13 18:02:16 +11:00
Peter Barker
87df943f99 autotest: add option to use simulated FRAM for storage 2021-10-12 20:01:49 +11:00
Peter Barker
00c6308b25 autotest: add test for FRAMStorage 2021-10-12 20:01:49 +11:00
Peter Barker
376e7d2a21 Tools: add simulated RAMTRON device 2021-10-12 20:01:49 +11:00
Andrew Tridgell
8e729841e8 Tools: added modalai_fc-v1 bootloader 2021-10-12 15:47:51 +11:00
Andrew Tridgell
4b4eaabe55 Tools: setup for building modalai_fc-v1 2021-10-12 15:47:51 +11:00
Andrew Tridgell
28c34bdce4 Tools: recognise more USB devices for uploader 2021-10-12 15:47:51 +11:00
Andrew Tridgell
00491275e0 waf: added image_maxsize to apj files
this allows the px4_uploader.py script to load apj files
2021-10-12 15:47:51 +11:00
Andrew Tridgell
130f26c49a Tools: added --no-extf option to uploader.py
needed for PX4 bootloader
2021-10-12 15:47:51 +11:00
Andrew Tridgell
e0d23c6495 AP_Bootloader: sync with PX4 board types 2021-10-12 15:47:51 +11:00
Iampete1
67abf23077 Tool: autotest: defaults: remove MOT_PWM_MIN and _MAX 2021-10-11 22:19:17 -04:00
Iampete1
59b40a3845 Tools: autotest: copter: remove check for PWM min/max zero 2021-10-11 22:19:17 -04:00
Iampete1
a69f40b7fb Tools: autotest: update quadplane throttle min param name 2021-10-11 22:19:17 -04:00
Andrew Tridgell
a43ea35098 Tools: rebuild IO firmware with PULLDOWN for RCIN 2021-10-12 11:52:36 +11:00
Peter Barker
5f32fb82e8 autotest: add basic test that Plane autotune completes 2021-10-10 18:18:44 +11:00
Peter Barker
0c94e013ca Tools: add script to compare elf binaries from different branches 2021-10-07 16:06:22 +11:00
Nicholas Kruzan
42c27533c6 Tools: add debian11 (bullseye) on install script 2021-10-07 10:05:04 +11:00
Pierre Kancir
8f04490a12 Tools: fix Arch environment installation 2021-10-07 10:05:04 +11:00
Pierre Kancir
6168bc3e63 Tools: used fixed version pip package for python2 2021-10-07 10:05:04 +11:00
Andrew Tridgell
d4d78720ca Tools: added AK09918 devid 2021-10-06 18:16:00 +11:00
Andrew Tridgell
1e4946cf76 Tools: added Swan-K1 bootloader 2021-10-05 11:32:13 -07:00
Peter Barker
dd49d79798 autotest: add test for Plane flying with a very slow GPS 2021-10-05 21:40:45 +11:00
Nicholas Weaver
1377c1b78f Tools: board_types.txt: reserve ID for ICSI_Kestrel
Developing a CM4-based carrier board, reserving a board ID.
2021-10-05 11:23:16 +11:00
Peter Barker
abd5daccbb autotest: augment HIGH_LATENCY2 test with location test 2021-10-05 10:20:44 +11:00
Peter Barker
b2a7841672 Tools: allow for selection of Storage backend type at runtime 2021-10-05 10:16:54 +11:00
Andrew Tridgell
41534d816c CPUInfo: added timing of micros16() 2021-10-02 18:26:39 +10:00
Tom Pittenger
a7686de92b AP_Periph: fix GCS/mavlink for additional serialports 2021-09-30 14:55:01 +10:00
nkruzan
dbe673e81c Tools:install-prereqs-ubuntu.sh use $APT_GET for pkg-config
While writing a script to automate dev env install locally I notice this is not abiding by the $ASSUME_YES like the other apt-get install commands.
2021-09-30 14:49:09 +10:00
Peter Barker
d7f037e548 autotest: add test for setting streamrates from files 2021-09-30 10:31:03 +10:00
bugobliterator
8a4b9c2b36 AP_Periph: add support for handling Notify State message 2021-09-30 08:52:27 +10:00
Peter Barker
a55bd3955a autotest: ensure camera feedback messages at correct altitude 2021-09-30 08:50:47 +10:00
Pierre Kancir
040a5dffb9 Tools: fix missing warning on Clang 2021-09-30 08:22:40 +10:00
Gone4Dirt
7fab70b8f1 Waf: Modify build directory define if heli build command is given 2021-09-29 19:55:48 +10:00
Andrew Tridgell
1adec017a2 Tools: added KakuteH7 to build list 2021-09-29 18:11:04 +10:00
Andrew Tridgell
dc9924539b Tools: added KakuteH7 bootloader 2021-09-29 18:11:04 +10:00
Andrew Tridgell
0a2ba2e28f Tools: added KakuteH7 board type 2021-09-29 18:11:04 +10:00
Andrew Tridgell
d46f4ba974 Tools: added mav-firmware-version-str to manifest
this allows beta version to be displayed
2021-09-29 17:54:51 +10:00
Peter Barker
b52b381673 Tools: remove mtk GPSs
These are ancient and of very poor quality.
2021-09-29 17:28:59 +10:00
Pierre Kancir
6e9ea663e5 AP_Periph: temp fix for -Wcast-align until we fix the generator 2021-09-29 17:27:29 +10:00
Pierre Kancir
768c7770e5 Tools: use correct #pragma GCC diagnostic pop 2021-09-29 17:27:29 +10:00
Peter Barker
c372189a9d autotest: add test for EKF losing then refinding a GPS 2021-09-29 15:51:50 +10:00
Peter Barker
89c884e8f1 autotest: add test for HIGH_LATENCY2 2021-09-29 15:51:30 +10:00
Peter Barker
40a463f60c autotest: simplify camera mission item test
Rename for the modern style of keeping method name same as test name.

Remove pointless try/except block as it wasn't doing anything useful.
2021-09-29 11:38:18 +10:00
Peter Barker
5ec82851d0 autotest: add test for Sub entering circle twice 2021-09-28 19:11:43 +10:00
Peter Barker
dd36908ba4 autotest: include SBP file in those that contain log messages 2021-09-28 10:45:51 +10:00
Peter Barker
e906cdf1e4 Tools: move SBP logging structures into AP_GPS 2021-09-28 10:45:51 +10:00
Iampete1
6792e8e618 Tools: rebuild IO Firmware 2021-09-28 09:40:25 +10:00
Josh Henderson
27bb200644 Tools: add sitl_32bit board type for sim_vehicle & autotests 2021-09-28 09:15:11 +10:00
Josh Henderson
b42a95eb20 Tools: autotest.py enable unit testing for SITL 2021-09-28 09:11:48 +10:00
Randy Mackay
f606fe727a Tools: conditional-yaw test timeout increased
the request is to rotate 360deg at 10deg/sec but the timeout is only 30sec.  We need at least 36
2021-09-28 00:17:25 +09:00
Peter Barker
93e6cfef35 autotest: move helicopter tests to own file 2021-09-27 11:58:39 +10:00
Peter Barker
bc664d77b7 autotest: add trivial test for MAVFTP using MAVProxy 2021-09-27 11:42:47 +10:00
Andrew Tridgell
a749c32974 Tools: build disco static
needed for libc version
2021-09-26 19:39:37 +10:00
Peter Barker
b82b6f1e50 autotest: add test which force-switches to DCM and watches plane land 2021-09-26 17:35:46 +10:00
Peter Barker
ba5e94ad9a autotest: add load_generic_mission 2021-09-26 17:35:46 +10:00
Peter Barker
6ae280a5d7 autotest: test GPS input using different simulated GPSs 2021-09-25 20:48:41 +10:00
Andrew Tridgell
5b0f1b170a Tools: build Nucleo-L496
we want at least one fw for each MCU supported
2021-09-24 18:08:00 +10:00
Andrew Tridgell
90bb0d6310 AP_Bootloader: support L496 MCUs 2021-09-24 18:08:00 +10:00
Paul Riseborough
74a7e3b64a Tools: Rework copter vibration failsafe autotest
Allow more time for descent when vibration affected.
2021-09-23 18:55:28 +10:00
Peter Barker
6dbefd63d3 Replay: define HAL_GCS_ENABLED to 0 2021-09-22 21:37:00 +10:00
Peter Barker
76e2db952b Tools: move from HAL_NO_GCS to HAL_GCS_ENABLED 2021-09-22 21:37:00 +10:00
Pierre Kancir
41788d7b2e Tools: add more compilation warning flags 2021-09-22 18:06:48 +10:00
bugobliterator
b8749b776a waf: configure compileCommands json based on the configured board 2021-09-22 17:35:31 +10:00
Andrew Tridgell
7ad1c625fe Tools: added Hitec-Airspeed to build list 2021-09-21 13:51:40 +10:00
Andrew Tridgell
3f7d28a608 Tools: added Hitec-Airspeed 2021-09-21 13:51:40 +10:00
Andrew Tridgell
3d6e2e84f3 AP_Bootloader: added Hitec-Airspeed board type 2021-09-21 13:51:40 +10:00
Iampete1
52a805e978 Tools: autotest: update arming swich option number 2021-09-21 09:36:24 +10:00
Andrew Tridgell
d5aa3ac27e Tools: fixed uploader for apj files without a extf image 2021-09-21 08:01:50 +10:00
Peter Barker
1e1e8010e3 autotest: remove APM references 2021-09-18 10:45:39 -05:00
Michelle Rossouw
9eb3a063d8 autotest: Add usable default parameters for Blimp's position and velocity PIDs 2021-09-18 08:26:23 +10:00
Andrew Tridgell
aa643e5637 autotest: Fixed blimp default params 2021-09-18 08:26:23 +10:00
Peter Barker
0c84c50d70 autotest: exempt HAL_QUADPLANE_ENABLED line in log metadata gen 2021-09-14 13:55:01 +10:00
Iampete1
09b26e4d67 Tools: rebuild IO_Firmware 2021-09-14 09:23:02 +10:00
arikrupnik
64ed31abc9 Add Santa Clara County Model Aircraft Skypark--a real field and a photo field in RF 2021-09-14 07:54:24 +10:00
Iampete1
b2a871acb3 Tools: autotest: defualts: remove AUTO_FBW_STEER 2021-09-12 22:12:32 -05:00
Randy Mackay
fe9d655cc2 Tools: improved tune for sitl copter y6 2021-09-13 07:51:56 +09:00
Mohammad Hefny
705acb26c6 Tools: define obal board 2021-09-10 08:17:37 +10:00
Iampete1
b617f19e6d Tools: autotest: defualt_params: remove ALT_CTRL_ALG 2021-09-09 11:07:07 +01:00
Peter Barker
d7a5e460cc autotest: add tests for changing WPNAV_SPEED_{UP,DN}
and slight augment for WPNAV_SPEED
2021-09-08 21:29:38 +10:00
Samuel Tabor
a44b81f97d Tools: autotest: Add KHA locations. 2021-09-08 19:37:49 +09:00
Willian Galvani
901164a317 AP_Periph: update to use capacity_remaining_pct() as a bool 2021-09-08 17:17:41 +10:00
Andy Piper
f60b5beed2 Tools: add Pixhawk4-bdshot bootloader 2021-09-08 17:09:49 +10:00
Andy Piper
5dc8524556 Tools: add CUAVv5-bdshot, CUAVv5Nano-bdshot and Pixhawk4-bdshot to build 2021-09-08 17:09:49 +10:00
Andy Piper
b1b3e9c8b6 Tools: add CUAVv5-bdshot bootloader 2021-09-08 17:09:49 +10:00
Andy Piper
39d054d097 Tools: add CUAVv5Nano-bdshot bootloader 2021-09-08 17:09:49 +10:00
Peter Barker
d1d03319ac Tools: make heli-blade simulation work 2021-09-08 14:33:19 +10:00
Bill Geyer
a2932e8f36 Tools: add blade 360 helicopter default params 2021-09-08 14:33:19 +10:00
Pierre Kancir
aade77db9a Tools: build_ci.sh don't unset CXX and CC by default. That was for TravisCI 2021-09-07 15:45:38 +10:00
Josh Henderson
484be2c48e Tools: windows install scripts include arm-gcc install 2021-09-07 11:07:10 +10:00
Peter Barker
d94191b8d8 autotest: ensure WPNAV_SPEED changes speed in flight 2021-09-07 10:04:07 +09:00
bugobliterator
948a0012c5 waf: fix build issue on cygwin after changes for external flash 2021-09-06 18:04:48 +10:00
Andy Piper
36283daf0e Tools: openocd config for h7 2021-09-06 11:01:16 +10:00
Josh Henderson
9d32e481c2 Tools: locations.txt move Grand Canyon to better defined terrain data 2021-09-04 17:00:10 +10:00
Pierre Kancir
575c608688 Tools: allow to use sim_vehicle.py without pymavlink installed 2021-09-04 07:49:42 +10:00
Pierre Kancir
2e71c6fc98 Tools: don't install MAVProxy submodule Cesium on CI 2021-09-03 13:18:22 +10:00
Peter Barker
e5c35d399c autotest: re-enable Heli spline waypoint test
position controller has been completely rewritten, so the bug should be
gone now....
2021-09-03 12:46:33 +10:00
Andrew Tridgell
6e33910c25 AP_Periph: use a longer loop delay on non-H7
the short delay broke the F412 based CUAV_GPS
2021-09-02 21:56:03 +10:00
Peter Barker
b9d62e7ff2 autotest: add test for setting multiple messages to same rate 2021-09-02 09:24:11 +10:00
Peter Barker
42c2f8d9f3 Revert "Tools: comment out the FETtecESC_safety_switch() function for now because it is failing"
This reverts commit d53299ecb0.
2021-09-01 18:25:51 +10:00
bugobliterator
5940cfac8a waf: move SRCROOT env variable setting to common Board class 2021-09-01 17:10:53 +10:00
Siddharth Purohit
47a3298236 CPUInfo: print time upto 4 decimal points 2021-09-01 17:10:53 +10:00
Siddharth Purohit
2dc51d9bae Tools: handle unsupported ext flashsize 2021-09-01 17:10:53 +10:00
Siddharth Purohit
7cf9db4cc9 AP_Bootloader: fix bootloader build issues 2021-09-01 17:10:53 +10:00
Siddharth Purohit
1afbf666ad AP_Bootloader: remove dependency on Semaphores in QSPIDevice 2021-09-01 17:10:53 +10:00
Siddharth Purohit
fc4be3695f AP_Bootloader: add support for running from external flash 2021-09-01 17:10:53 +10:00
Siddharth Purohit
35df1b1bd3 Tools: add support for uploading firmware to boards with external flash 2021-09-01 17:10:53 +10:00
Siddharth Purohit
f15f5e9334 waf: create separate image sections for internal and external flash 2021-09-01 17:10:53 +10:00
Siddharth Purohit
75bcc76189 AP_Bootloader: add support for flashing erasing and verifying ext flash 2021-09-01 17:10:53 +10:00
Siddharth Purohit
3317b0aff8 Tools: add support to erase external flash in bootloader 2021-09-01 17:10:53 +10:00
Siddharth Purohit
a1499f9593 AP_Bootloader: add support for erasing external flash 2021-09-01 17:10:53 +10:00
Siddharth Purohit
edb590e055 AP_Bootloader: fix variable name for External flash support 2021-09-01 17:10:53 +10:00
Siddharth Purohit
8dff6dd27b AP_Bootloader: build FlashIface for bl with external flash support 2021-09-01 17:10:53 +10:00
TunaLobster
1df66731c8 Tools: Add rstlatexpdf emitter 2021-08-31 09:28:03 +10:00
Iampete1
dd031dd43e Tools: autotest: default_params: tri: set MOT_YAW_SV_ANGLE to 60 2021-08-28 10:32:59 +09:00
Peter Barker
3d1ed896c8 Tools: make_intel_hex.py: show required size in error message 2021-08-27 17:26:28 +10:00
Marcelo Rodrigues
92b179e0f3 AP_Bootloader: add SKYSTARSF405DJI 2021-08-27 08:54:37 +10:00
Patrick José Pereira
24713326a2 Tools: scripts: Improve help text to make it clear which format is accepted
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2021-08-27 07:35:32 +10:00
Patrick José Pereira
47d2021780 Tools: scripts: Add PIE support in firmware_version_decoder
Calculate pointer offset for PIE (Position Independent Executables) binaries.

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2021-08-27 07:35:32 +10:00
Andrew Tridgell
70764bfaeb Tools: added BirdCANdy bootloader 2021-08-26 09:43:39 +10:00
Andrew Tridgell
d3c367d0fe Tools: added BirdCANdy to build list 2021-08-26 09:43:39 +10:00
Marek S. Łukasiewicz
47f2e13024 HAL_ChibiOS: Add hwdef for BirdCANdy 2021-08-26 09:43:39 +10:00
Iampete1
2fa24fa7da Tools: autotest: enable tailsitter for tailsitter test 2021-08-25 14:34:50 +01:00
yaapu
17cdb07bd5 Tools:autotest: added test for FRSky PassThrough WIND frame 0x500C 2021-08-25 17:13:16 +10:00
Peter Barker
784d1ddf7c waf: check for AP_PERIPH define in hwdef includes 2021-08-25 10:09:23 +10:00
bugobliterator
2970c865c8 AP_Bootloader: add HereID to board types 2021-08-25 10:09:23 +10:00
Gone4Dirt
b4346ba5a3 Autotest: Update RPM in default params 2021-08-25 09:36:58 +10:00
Gone4Dirt
fba15f3035 Autotest: Update RPM param. 2021-08-25 09:36:58 +10:00
Andrew Tridgell
4169656176 Tools: added MCU_STATUS message 2021-08-25 07:11:31 +10:00
Josh Henderson
695ad5b4f6 Autotest: BaroDrivers tighten leeway for pressure and temp deltas 2021-08-24 09:55:01 +10:00
TunaLobster
7d92ab1fb0 Tools: Fix emit.py regex 2021-08-23 14:44:27 +10:00
bugobliterator
f790a66781 .github: set specific version of pyenv so pyenv upstream doesn't break our CI 2021-08-20 17:53:53 +10:00
TunaLobster
6381297215 Tools: Move reboot required from table to note 2021-08-20 11:23:21 +10:00
Peter Barker
c443a93b15 autotest: add grand-canyon location 2021-08-20 10:51:03 +10:00
Samuel Tabor
9f77d5ac9d autotest: fly_mission should respect mission_timeout when waiting for wps. 2021-08-19 17:59:33 +10:00
Samuel Tabor
3a185e7533 autotest: Add plane test for landing with barometer drift. 2021-08-19 17:59:33 +10:00
bugobliterator
90c9fb7804 AP_Periph: manage separate transfer ids for different transfer desc 2021-08-19 14:20:58 +10:00
bugobliterator
bb65ab83be AP_Periph: reduce Rx latency by reading while sitting in delay 2021-08-19 14:20:58 +10:00
bugobliterator
aa9a40acf5 AP_Periph: add a way to transmit MovingBaseline Data on another port 2021-08-19 14:20:58 +10:00
bugobliterator
54f03b9b64 AP_Periph: add support for moving baseline heading 2021-08-19 14:20:58 +10:00
TunaLobster
b5f7fca254 Tools: parameter emitter spelling pass 2021-08-19 10:00:16 +10:00
Andy Piper
3483df5303 Tools: add Flywoo boards to board list and manifest 2021-08-18 17:06:09 +10:00
Andy Piper
6c26dd075b Tools: bootloader for FlywooF745Nano 2021-08-18 17:06:09 +10:00
Josh Henderson
70166c8173 autotest: add battery_charge_state ok & low tests 2021-08-18 15:32:28 +10:00
Peter Barker
12ac5174d7 autotest: check battery_status.charge_state is critical on failsafe 2021-08-17 14:40:55 +10:00
Dr.-Ing. Amilcar do Carmo Lucas
d53299ecb0 Tools: comment out the FETtecESC_safety_switch() function for now because it is failing
I do not understand why it is failing, and failed at fixing it.
2021-08-13 16:22:37 +10:00
Peter Barker
20f58afa93 Tools: complete rewrite of the ESC-configuration state machine
Co-authored-by: Dr.-Ing. Amilcar do Carmo Lucas <amilcar.lucas@iav.de>

tidy message sending using templates
Calculate and enforce the minimum update period.
Disable unused features to save flash
forced time gaps between all transmits
correct ESC reset functionality
Avoid re-initialization repeatition
Make sure we stop FETtec if safety is on (ignore reverse) this reduces duplicated code
Error count calculation changed
   as the telemetry error count is absolute only the overflow status can be safed and used for the percentage calculation
Update the README to add autotests information
FETtec needs a time gap between frames
  This allows running at high fast_loop_rates
do not send fast_throttle data if a configuration command just got sent
Example parameter configuration file is for a Quadcopter with ESCs connected to Telem2
remove two FIXME
fix compilation in master
Fix the ESC not re-initializing issue.
  Now we re-init whenever we loose connection
RVMASK parameter changes only take effect when not armed
Improve documentation
Always use the same wording when referring to fast-throttle commands
fix pre-arm check message
assure the length of the memmove is positive
Set HAL_AP_FETTEC_CONFIGURE_ESCS to 0 when no ESC hardware is available and you want to test the UART send function
2021-08-13 16:22:37 +10:00
Peter Barker
e263063600 autotest: a gap in the beginning of the SERVO_FTW_MASK is now allowed, test it
make sure the SERVO_FWT_MASK is valid:
  - it can have bit gaps between active channels, but channels higher than 12 are not allowed (AP_EST_TELEM limitation)
  - Explain that the FETtec ESC IDs inside the FETtec Firmware need to be contiguous and start at 1.
add tests for ESC power outages
add test that safety switch zeroes PWM for FETtec ESC
2021-08-13 16:22:37 +10:00
Peter Barker
3bc4cf710f autotest: add test for FETtecESC 2021-08-13 16:22:37 +10:00
Pierre Kancir
28706f5e23 Tools: link AP_FETtecOneWire 2021-08-13 16:22:37 +10:00
Mike Lyons
12ccb6df1d Tools: added name to GIT_Success.txt 2021-08-13 14:21:35 +09:00
Peter Barker
0d4bee8f7b autotest: except QRTL/QLAND from airmode tests due to non-armability
The test wasn't checking the return value for arming, so of course the
motors weren't spinning.... now we've fixed the checked-for-arming thing
these two modes were failing.
2021-08-13 13:40:28 +10:00
Peter Barker
8fc6e98900 autotest: raise exception for arm/disarm failures on switch/rc
Users were calling these without checking the return values. Make that
a non-issue
2021-08-13 13:40:28 +10:00
Peter Barker
5e81026e78 autotest: add option to hard-reset after every test 2021-08-13 08:01:20 +10:00
Peter Barker
013bee99f4 autotest: rover: wait ready to arm before running motor test 2021-08-13 08:00:52 +10:00
Peter Barker
d03cfb8615 autotest: Plane: wait for origin before enabling fence
we load into memory as origin-relative positions
2021-08-12 20:34:36 +10:00
bugobliterator
dba40481c6 Tools: add CubeOrange-periph to CI build test 2021-08-12 07:57:12 +10:00
bugobliterator
acab1478a2 AP_Periph: fix build error 2021-08-12 07:57:12 +10:00
Peter Barker
cccec5c21c autotest: add test for FRSkyD battery 2021-08-11 15:17:43 +10:00
bugobliterator
1d81eb5c47 AP_Periph: fix checking compass available before init 2021-08-11 07:47:56 +10:00
Andrew Tridgell
fadadfb50e waf: avoid problem with custom build server
this happens on custom build server when building into a new directory
2021-08-10 21:34:36 +10:00
Andrew Tridgell
11b073841f Tools: auto-build Swan-K1 2021-08-10 10:08:05 +10:00
Andrew Tridgell
5b95f92984 Tools: added Swan-K1 bootloader 2021-08-10 10:08:05 +10:00
Leonard Hall
3d68d9c32a Frame_params: update FILT to FLTE 2021-08-10 08:33:56 +09:00
xianglunkai
27dd97383c Tools: added name to GIT_Success.txt 2021-08-09 19:24:32 +09:00
Peter Barker
abb6521127 Revert "autotest: use SIM_STATE (common.xml) instead of SIMSTATE (ardupilotmega.xml)"
This reverts commit 540a56adb8.

Polling this message caused issues on reboot - shouldn't be a problem
but is.

Retrying that showed that the Tracker GUIDED test failed reliably due to
a yaw problem.
2021-08-07 16:18:05 +10:00
Pierre Kancir
231ee84ab9 Tools: correct author name formatting
prevent error
fatal: --author 'pierre.kancir.emn@gmail.com' n'est pas de la forme 'Nom <email>' ni ne correspond à aucun auteur existant
2021-08-06 23:52:49 +10:00
Peter Barker
44d5885d99 autotest: augment blending test to ensure GPS switch events make log 2021-08-06 15:30:18 +10:00
Andrew Tridgell
2b1e80c70d Tools: copy board_list.py for build_binaries.py 2021-08-06 10:00:08 +10:00
Andrew Tridgell
3c0238ce8b Tools: break out boards list
this is to help with the custom build server
2021-08-06 07:35:37 +10:00
Andrew Tridgell
0ea26b4d3a AP_Periph: fixed float16 conversions for scalars
libcanard does already convert scalars, but doesn't convert arrays. By
calling fix_float16 on scalers we were double converting, which
reduced resolution.
2021-08-05 19:04:41 +10:00
Peter Barker
540a56adb8 autotest: use SIM_STATE (common.xml) instead of SIMSTATE (ardupilotmega.xml)
It is a useful superset
2021-08-05 18:35:11 +10:00
Peter Barker
27fcb3a100 autotest: fix simstate error message 2021-08-05 18:35:11 +10:00
Peter Barker
ca35d01baa autotest: move upload_simple_relhome_mission up 2021-08-05 10:38:03 +10:00
Andrew Tridgell
37935262ff AP_Periph: fixed formatting errors 2021-08-05 09:43:35 +10:00
Andrew Tridgell
751b901ed9 Tools: fixed printf format errors 2021-08-05 09:43:35 +10:00
Josh Henderson
162b3b70cf Autotest: use MAV_POS_TARGET_TYPE_MASK, remove POS_TYPE_MASK_FORCE 2021-08-03 12:48:38 +10:00
Andrew Tridgell
54d92551d1 waf: add files from ROMFS_custom to ROMFS
this allows for lua scripts in the root of the source tree as ROMFS_custom/scripts/*.lua

it also allows for any other custom data files that may be
needed. This is cleaner for custom scripts than having the files in
AP_HAL_ChibiOS/hwdef/BOARD/scripts, and allows for the same scripts
working in SITL, Linux and ChibiOS
2021-08-03 10:57:38 +10:00
Peter Barker
8e72dc32d1 autotest: add test home is restored persistently on wdog reset 2021-08-03 10:36:50 +10:00
Andrew Tridgell
e6f15ed6c0 autotest: cope with WriteStreaming() in doc tests 2021-08-03 10:23:36 +10:00
Josh Henderson
1cb11a5ff2 Tools: autotest change smartbatt param names 2021-08-03 09:36:26 +10:00
Iampete1
27b324742e Tools: sim_vehicle: pass on slave comandline CMD 2021-08-03 09:22:19 +10:00
Andrew Tridgell
19a9e1a416 Tools: cope with build_binaries.py being copied out
the build server uses a copy of build_binaries.py, so __file__ isn't
the right directory
2021-08-01 13:28:09 +10:00
Andrew Tridgell
a0da76243d autotest: reboot after AHRS_ORIENTATION test
the EKF can be left very unhappy by this test
2021-07-31 10:01:14 +10:00
Peter Barker
d40587062e AP_Periph: use AP::compass().available in place of enabled() 2021-07-30 12:19:42 +10:00
Braedon O'Meara
de91058b1a Tools: Add tmux support to run_in_terminal_window.sh
Added in an option so that if running SITL in a tmux session it will open a new window in tmux.
More or less an alternate option to screen.
It will detect if its running in a tmux session by checking the $TMUX and $TERM env variables.
I put it before other options because when I am running a tmux session even in a GUI environment
I would prefer a new Tmux window compared to a new terminal.
This will only run if youre already in a tmux session it will not launch a new session.
2021-07-30 12:05:15 +10:00
Peter Barker
2ae483cee0 autotest: stop uploading artifacts to autotest server
github action's CI is good at this
2021-07-30 11:32:59 +10:00
Andrew Tridgell
69376cdb5f Tools: added mRo M10095 bootloader 2021-07-30 10:20:52 +10:00
Andrew Tridgell
4b0736ecf4 Tools: added bootloader for G491 2021-07-30 10:20:52 +10:00
Andrew Tridgell
adb8e1fc7e Tools: added mRo-M10095 board type 2021-07-30 10:20:52 +10:00
Andrew Tridgell
f507e85f10 Tools: added Nucleo-491 2021-07-30 10:20:52 +10:00
Andrew Tridgell
cfdf91e18a AP_Bootloader: fixed G4 MCU descriptions 2021-07-30 10:20:52 +10:00
Iampete1
d2a14f4283 Tools/ardupilotwaf: make skipped summary warning red 2021-07-28 18:25:27 +10:00
Peter Barker
7929122f49 autotest: improve AHRS trim test 2021-07-28 17:20:28 +10:00
Peter Barker
909decc5be autotest: move wait_attitude up to common.py 2021-07-28 17:20:28 +10:00
bugobliterator
6f3e3a913a AP_Periph: fix dna wait blink 2021-07-28 17:09:41 +10:00
Andrew Tridgell
791b043586 waf: added 10.2.1 gcc to whitelist of compilers for -Werror 2021-07-27 19:50:21 +10:00
Andrew Tridgell
243dc06fd4 Tools: switched development to the 10.2.1 compiler for STM32 2021-07-27 19:50:21 +10:00
Andrew Tridgell
e95abce466 Tools: use 10.2.1 compiler for latest builds of ChibiOS boards 2021-07-27 19:50:21 +10:00
Andrew Tridgell
18cbd25828 Tools: removed remnants of px4 build support 2021-07-27 19:50:21 +10:00
Andrew Tridgell
66bad7b885 waf: added --assert-cc-version configure option
this will allow build_binaries.py to confirm it is using the right
compiler for each build
2021-07-27 19:50:21 +10:00
Peter Barker
da3ff2c142 autotest: add test for live change of AHRS orientation 2021-07-27 17:28:09 +10:00
Peter Barker
04ddc9de03 autotest: correct order of progress vs action in set-param 2021-07-27 16:51:48 +10:00
Peter Barker
e1884bcd6e autotest: run dumpstack/dumpcore on stuck SITL process 2021-07-27 16:51:48 +10:00
Peter Barker
f20644b6cf board_types.txt: reserve ID for Argosdyne DP1000 2021-07-26 18:54:00 +10:00
mateksys
08cd1171bf Tools: added MatekF765-SE to autobuild 2021-07-26 18:13:46 +10:00
Hwurzburg
2c83ab264f Tools: Add Qiotek f103 periph to build list 2021-07-26 18:12:37 +10:00
bugobliterator
35d94b17eb AP_Periph: add support for MAVLink for HerePro 2021-07-26 13:45:43 +10:00
Andrew Tridgell
ea84f295ea Tools: updated MambaF405US-I2C bootloader
this was forgotten in the PR
2021-07-26 06:22:05 +10:00
Andrew Tridgell
299b3ef200 AP_Periph: fixed msp gps yaw
build failed with 10.2 compiler, but is a real bug
2021-07-25 21:00:09 +10:00
Isaac Alich
c84a880de4 Tools: Add Diatone MambaF405US-I2C 2021-07-25 09:28:17 +10:00
Paul Riseborough
9207744152 Tools: Rework Plane.EKFlaneswitch autotest 2021-07-22 18:20:45 +10:00
Paul Riseborough
7f3980c1f4 Tools: Rework Copter VibrationFailsafe test to use commanded land 2021-07-22 18:20:45 +10:00
Paul Riseborough
ef1dda005f Tool: Allow more time for quadplane autotest to land and disarm 2021-07-22 18:20:45 +10:00
Paul Riseborough
ff1c465a17 Tools: relax navigation test accuracy 2021-07-22 18:20:45 +10:00
Paul Riseborough
a0ae998a4d Tools: Fix AIRSPEED_AUTOCAL test failure
The mission plan for this test causes a lot of overshoot when turning onto final approach with the result that there is still some lateral offset when passing the landing waypoint that is not a measure of estimator accuracy.
2021-07-22 18:20:45 +10:00
Andrew Tridgell
d181adfa75 Replay: added --accuracy option
useful for finding what has diverged
2021-07-21 17:55:04 +10:00
Peter Barker
eff4bc4cfb autotest: drain pexpects in set_parameters loop
This loop doesn't self.mav.recv(), so the idle loop isn't called, so the
pexpects aren't drained.  That can cause ArduPilot to block on stderr if
it is trying to print a stacktrace, for example
2021-07-21 17:05:17 +10:00
Peter Barker
27de0a3d23 autotest: add new Copter yaw tests 2021-07-21 17:05:01 +10:00
Peter Barker
43a4ea734f autotest: add some diagnostics for missing processes 2021-07-21 15:50:50 +10:00
bugobliterator
65606b4d1d Tools: add debug target in CI build script 2021-07-21 11:27:52 +10:00
Peter Barker
571ae46b0f Tools: split yaw-vehicle-for-mount-roi test out 2021-07-19 18:16:13 +10:00
Andrew Tridgell
618fa156c7 autotest: added --replay option to autotest
make for easy creation of EKF replay logs
2021-07-16 21:13:53 +10:00
Andrew Tridgell
e52b9f78c2 autotest: fixed tuning of tilthvec quadplane model 2021-07-16 08:41:47 +10:00
Siddharth Purohit
1af2453b54 AP_Bootloader: ignore cast alignment when reading from flash 2021-07-15 07:50:12 +10:00
Siddharth Purohit
7a2c460496 waf: remove cast-align disable flags from CXXFLAGS 2021-07-15 07:50:12 +10:00
Stephen Dade
d5d2aa011c Tools: Force Cygwin environment install to use GCC 7.4 2021-07-14 18:19:05 +10:00
Andy Piper
c5b323fcb6 iomcu: update for pulse width changes 2021-07-14 17:50:06 +10:00
Peter Barker
2ae6030f0c autotest: add baro i2c drivers autotest 2021-07-14 17:46:15 +10:00
Peter Barker
d2be5231cb ardupilotwaf: probe external baros in SITL 2021-07-14 17:46:15 +10:00
Peter Barker
14d271776e autotest: break out a fly_mission method 2021-07-14 17:46:15 +10:00
Peter Barker
53e980bada autotest: add test for two consecutive drops with no reboot 2021-07-14 16:38:36 +09:00
bugobliterator
ef48d706ed AP_Periph: do not wait for DNA to finish before starting AP_Periph 2021-07-14 15:18:42 +10:00
bugobliterator
a9fda29d42 AP_Periph: remove return res from canard_broadcast 2021-07-14 15:18:42 +10:00
bugobliterator
64c41e51ba AP_Periph: use range for loop instead of indexed for loops 2021-07-14 15:18:42 +10:00
Siddharth Purohit
67ed54bfca waf: add option to disable Watchdog 2021-07-14 15:18:42 +10:00
Siddharth Purohit
6d76990c1e AP_Bootloader: add option to disable Watchdog 2021-07-14 15:18:42 +10:00
Siddharth Purohit
3ed53c58e9 AP_Periph: provide separate instances of canard objects per iface 2021-07-14 15:18:42 +10:00
Peter Barker
9fb7ef915e Tools: add support for ms5525 i2c sensor 2021-07-13 12:00:37 +10:00
Pierre Kancir
8234fd4c39 Tools: autotest: add IRLock SITL test 2021-07-12 17:50:31 +10:00
Peter Barker
9ff77d8f1c Tools: remove AC_TERRAIN compilation option
Use AP_TERRAIN_AVAILABLE instead
2021-07-12 17:34:44 +10:00
Andrew Tridgell
d4d80f01bf Tools: added airspeed ID decoding 2021-07-12 17:14:59 +10:00
Leonard Hall
33ec8b965b Tools: Autotest update guided bitbask to include acceleration 2021-07-10 20:25:05 +09:00
DaijiroYamazaki
1e545052f4 Tools: autotest: add 2 locations in Japan 2021-07-10 09:24:32 +09:00
Andrew Tridgell
a6a01cf432 autotest: added --ekf-single and --postype-single options to autotest 2021-07-10 07:20:41 +10:00
Andrew Tridgell
5a5018cda2 autotest: adjust test_altitude_types for small change in longitude_scale 2021-07-10 07:20:41 +10:00
Andrew Tridgell
4f7630e29c Tools: allow for double EKF build 2021-07-10 07:20:41 +10:00
Andrew Tridgell
5f45098044 waf: added --ekf-double configure option 2021-07-10 07:20:41 +10:00
Andrew Tridgell
b8e934ccf1 autotest: added --udp option to sim_vehicle.py
this makes running with high speedups easier
2021-07-09 19:19:24 +10:00
bugobliterator
9ba9352dae Tools: add remote upload script via mac systems 2021-07-09 18:19:04 +10:00
bugobliterator
a5d3dade67 waf: allow overriding uploader script with custom uploader script 2021-07-09 18:19:04 +10:00
Peter Barker
aa27479e95 autotest: show output from Replay run 2021-07-08 16:20:12 +10:00
Peter Barker
743ed05367 autotest: detect ap-*.core as we do core.* files 2021-07-08 15:46:07 +10:00
Peter Barker
fd803ddafc autotest: remove stray diagnostic files before run 2021-07-08 15:46:07 +10:00
Peter Barker
2388f3a3d1 Tools: generate a core file for a given PID
Similarly to dumpstack.sh, uses gdb to dump a core file
2021-07-08 15:46:07 +10:00
Andrew Tridgell
a5f2d12edc Tools: added MatekF765-SE bootloader 2021-07-08 13:02:18 +10:00
Andrew Tridgell
3a7075fc65 autotest: fixed config error loop test 2021-07-08 07:56:51 +10:00
Siddharth Purohit
51a6d3c16a waf: only apply gsoap specific flags to gsoap sources 2021-07-07 18:57:25 +10:00
bugobliterator
236eecc494 autotest: add option for running sim with ONVIF camera 2021-07-07 18:57:25 +10:00
bugobliterator
f6715cdaa0 waf: generate SOAP wsdl into cpp code 2021-07-07 18:57:25 +10:00
Siddharth Purohit
5d435c762e waf: notify users that we have moved to using tool instead of tools 2021-07-07 17:31:09 +10:00
Siddharth Purohit
2750b361aa autotest: move to using tool instead of tools program group 2021-07-07 17:31:09 +10:00
Siddharth Purohit
767e394703 Tools: move to using tool instead of tools program group 2021-07-07 17:31:09 +10:00
Siddharth Purohit
b39b4abb12 Replay: move to using tool instead of tools program group 2021-07-07 17:31:09 +10:00
Siddharth Purohit
f1c865bdd3 Tools: use program group "tool" instead of "tools" 2021-07-07 17:31:09 +10:00
Peter Barker
70a161a583 autotest: create SITL debug binaries by default 2021-07-07 17:11:27 +10:00
Peter Barker
df02289493 autotest: add test for two consecutive drops with no reboot 2021-07-07 12:01:07 +10:00
Michelle Rossouw
8017e528c8 Tools: Add Blimp to param_parse.py 2021-07-06 14:56:02 +10:00
Peter Barker
c1a5ca6060 autotest: add test to ensure we get a log if arming is forced 2021-07-04 08:54:54 +10:00
Peter Barker
85f36f957d autotest: add force option to arm_vehicle 2021-07-04 08:54:54 +10:00
Pierre Kancir
712d812f4e Tools: install-preresq-ubuntu: add check for DO_AP_STM_ENV before adding to path
This prevent to have /opt//bin on PATH if we don't want STM toolchain
2021-07-02 11:32:39 +10:00
Siddharth Purohit
5468869eba Tools: do CI build for HerePro instead of CubeOrange-periph 2021-07-02 08:50:16 +10:00
Siddharth Purohit
637ccf13df AP_Periph: add MAVLink support for AP_Periph modules 2021-07-02 08:50:16 +10:00
Siddharth Purohit
966e8cd1be AP_Bootloader: reserve board id for HerePro 2021-07-02 08:50:16 +10:00
Andrew Tridgell
d6088539b7 waf: use new syntax for chibios_hwdef.py 2021-07-01 09:33:16 +10:00
willpiper
15cd9d502d waf: added --extra-hwdef option 2021-07-01 09:33:16 +10:00
Siddharth Purohit
35340bf7f2 AP_Bootloader: reserve board_type id for H757 EVAL board 2021-06-30 19:33:17 +10:00
Pierre Kancir
54daa94c90 CI: make macos tests more useful by compiling all target and use ccache 2021-06-30 17:57:50 +10:00
Siddharth Purohit
9bd5183d82 Tools: update install macos prereqs 2021-06-30 17:57:50 +10:00
Siddharth Purohit
f9a50e8e47 AP_Periph: allow building InertialSensor and related libraries 2021-06-30 17:06:02 +10:00
Andrew Tridgell
843f87d618 Tools: install geocoder 2021-06-29 15:41:26 +10:00
Andrew Tridgell
d81b758d77 autotest: support using geocoder for -L location
this allows for location names from OSM, for example:

  sim_vehicle.py -L '26 Carstensz St Griffith' --console --map
2021-06-29 15:41:26 +10:00
Rafael Araujo Lehmkuhl
4f7da5867d Tools: Allow direct execution of firmware_version_decoder.py from command line 2021-06-29 09:24:04 +10:00
Peter Barker
99a0f5a86a autotest: disable quadplane ConfigErrorLoop test
failing on the autotest server (and locally).

AT-1474.6: RC values bad: (ch=1 want=1500 got=0)
AT-1474.6: AP: Config error: Baro: unable to initialise driver
AT-1474.6: AP: Config Error: fix problem then reboot
AT-1474.6: RC values bad: (ch=1 want=1500 got=0)
AT-1474.6: RC values bad: (ch=1 want=1500 got=0)
AT-1474.6: RC values bad: (ch=1 want=1500 got=0)
2021-06-27 11:09:39 +10:00
Randy Mackay
5ec75578ab Tools: add copter gps_glitch_loiter_test2
checks for twitches in Loiter after GPS glitch
2021-06-25 16:52:57 +09:00
Andrew Tridgell
220107b2a6 Tools: added boat circuit for Rabi 2021-06-25 15:33:55 +10:00
Andrew Tridgell
396094a82c Tools: added a mission around Rabi, close to -180 degrees lon 2021-06-25 15:33:55 +10:00
Andrew Tridgell
75ae2548a7 Tools: added some locations close to the date line 2021-06-25 15:33:55 +10:00
Andrew Tridgell
3204ce4bf1 Tools: added --postype-single for sim_vehicle.py 2021-06-24 21:34:30 +10:00
Andrew Tridgell
895ab6c089 waf: added --postype-single option
for SITL with single precision postype_t
2021-06-24 21:34:30 +10:00
Peter Barker
4c173e01ef autotest: increase number of parameter retries
sets were failing just after we uploaded very large numbers of
parameters.  I'm guessing the parameter queue in ArduPilot is still
full.
2021-06-24 17:58:31 +10:00
Peter Barker
4bb91d1ec1 autotest: shift where we print which attempt we are doing 2021-06-24 17:58:31 +10:00
Peter Barker
e6eb6dea3f Tools: mark decode_watchdog.py flake8-clean 2021-06-24 08:59:41 +10:00
Peter Barker
e38e026c6e Tools: mark build_examples.py flake8-clean 2021-06-24 08:59:41 +10:00
Peter Barker
4ea8c32c61 Tool: uploader.py: flake8-clean 2021-06-24 08:59:41 +10:00
Peter Barker
b35a586447 Tool: make_apj.py: flake8-clean 2021-06-24 08:59:41 +10:00
Peter Barker
fad9b5d345 Tool: pretty_size_diff.py: flake8-clean 2021-06-24 08:59:41 +10:00
Peter Barker
0940c9371d Tools: decode_ISCR.py: flake8-clean 2021-06-24 08:59:41 +10:00
Peter Barker
21cb6c1cf5 Tools: build_iofirmware.py: flake8-clean 2021-06-24 08:59:41 +10:00
Randy Mackay
f3c96b438b Tools: autotest of vibration failsafe 2021-06-24 08:34:56 +10:00
Peter Barker
b58e7bedaa autotest: correct placement of not-alive-after-test message
This was misplaced with bad conflict resolution
2021-06-24 08:34:06 +10:00
Peter Barker
d6f619fb1a autotest: emit 'attempt 1/3' when retrying set_parameter
Also reterm things in terms of attempts rather than retries
2021-06-24 08:30:03 +10:00
=
a71007f2c7 Tools: added name to GIT_Success.txt 2021-06-23 23:31:22 +10:00
Peter Barker
99c7d3aabc autotest: ensure no stray message listeners after test 2021-06-23 21:55:32 +10:00
Peter Barker
6a8ca9e45b autotest: timeout in wallclock time in config error loop test
SYSTEM_TIME is not sent in config error loop
2021-06-23 21:55:32 +10:00
Peter Barker
b6d5569244 Tools: param_metadata: disallow @Values and @Bitmask at same time 2021-06-23 18:37:34 +10:00
Peter Barker
7842f55a3b Tools: add rc channel option to disable all airspeed sensors 2021-06-23 15:13:13 +10:00
Peter Barker
d82a229584 autotest: revert to subprocess.check_call
.run is only Python3
2021-06-22 20:24:07 +10:00
Peter Barker
8395bf617f autotest: disable autotesting of tri frame as it is still busted 2021-06-21 21:17:10 +10:00
Peter Barker
697fbb0db0 autotest: verify roll/pitch are not adversely affected by yaw inputs 2021-06-21 21:17:10 +10:00
Peter Barker
4c20bc2d9d autotest: ensure reasonable yawrate on takeoff in FlyEachFrame 2021-06-21 21:17:10 +10:00
Pierre Kancir
983e402804 AP_Common: add more unitttests 2021-06-21 21:16:29 +10:00
Peter Barker
d3f90bde7f autotest: add FlyEachFrame test for Plane 2021-06-21 14:13:18 +10:00
Pierre Kancir
a699b8b331 Tools: remove more CAN stuff from coverage statistics 2021-06-21 09:44:57 +10:00
Pierre Kancir
39c96f63c8 Tools: autotest.py: total flake8 compliance. 2021-06-18 16:03:51 +10:00
Pierre Kancir
7ddb4d681d Tools: autotest: correct exception handling on unit test run. 2021-06-18 16:03:51 +10:00
Peter Barker
723d2dee00 autotest: improve diagnostics around touchdown/takeoff expected tests
Also looks at last result as we don't appear to have a consistent number
in our tests
2021-06-18 09:03:34 +09:00
Peter Barker
210818cd6e autotest: let arming failure messages get spit out 2021-06-17 21:01:23 +10:00
QioTek
979b502d30 AP_Bootloader: added QioTekZealotH743 board type
AP_Bootloader: added QioTekZealotH743 board type
2021-06-15 18:50:24 +10:00
Peter Barker
47a778d033 Tools: remove HIL support 2021-06-15 09:47:31 +10:00
Peter Barker
61fda691f2 autotest: add trivial test for smart battery logging 2021-06-15 09:46:26 +10:00
Patrick José Pereira
9211f6d351 Tools: Add navigator board in common boards
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2021-06-11 14:43:48 -04:00
Peter Barker
cea0d7c971 autotest: move autotest tlog files into buildlogs directory 2021-06-11 22:14:11 +10:00
Peter Barker
e77512ba08 autotest: add method to create simple relative-to-home mission 2021-06-11 16:59:51 +10:00
Peter Barker
14b2af84ab autotest: break out a home_relative_loc_ne for getting a home-rel loc 2021-06-11 16:59:51 +10:00
Peter Barker
96e14d470a autotest: retry SITL connect many times while running under GDB
Allows for easier debugging under gdb when checking startup code
2021-06-11 11:15:58 +10:00
Peter Barker
0b517cfc57 autotest: start GDB in tui mode by default 2021-06-10 20:52:48 +10:00
Tom Pittenger
4d0f5a1db6 AP_Periph: add support for multiple protocols on AP_Periph 2021-06-09 18:36:18 +10:00
Tom Pittenger
8ada37edb8 AP_Periph: add support for MPPT Battery driver 2021-06-09 18:36:18 +10:00
Peter Barker
fd792bebf8 autotest: wipe SITL state after temperature cal test
ArduPilot internals are fiddling state that the autotest suite is
unaware of, so wipe the eeprom after the test
2021-06-09 14:14:06 +10:00
Peter Barker
79de738266 autotest: wait for a few seconds for arm-failure messages to appear
If prearms never come true then we try to arm the vehicle so it tells us
what is wrong.  Since we no longer push statustexts hard, we have to
wait for the reasons to come out at normal clocked rates.
2021-06-09 14:13:54 +10:00
Peter Barker
6af6d2fc2a autotest: add a progress message for looking for a message in a log 2021-06-09 14:13:31 +10:00
Peter Barker
6944ef6af1 autotest: fly each working Helicopter frame 2021-06-09 12:15:42 +10:00
Randy Mackay
058d4299ad Tools: update SITL tri and hexa gains 2021-06-08 19:11:32 +10:00
Andrew Tridgell
3be7f1ae23 autotest: removed tri from doesn't fly list 2021-06-08 19:11:32 +10:00
Andrew Tridgell
0876cb9cd6 autotest: fixed defaults for tricopter 2021-06-08 19:11:32 +10:00
arsh
45f1d03bda autotest:Copter test fix for some frames
removed some lines

Whitespace messages removal
2021-06-08 16:50:37 +10:00
Peter Barker
31c345fc4b Tools: add support for AP_Logger into AP_Periph 2021-06-08 09:57:55 +10:00
Peter Barker
0bd9610687 autotest: add trivial test for BodyFrameOdom 2021-06-04 15:09:51 +10:00
Peter Barker
584e24d613 Tools: build mRoControlZeroClassic and mRoControlZeroH7{,-bdshot} on build server 2021-06-04 14:39:56 +10:00
Randy Mackay
e8947dfb47 Tools: reduce copter autotest rate yaw P and I gains
affects quad, hexa, octa, octa-quad, deca, tri, y6, dodeca-hexa
2021-06-03 12:20:43 +09:00
yaapu
b14dcf1df5 Tools:autotest: updated FRSky SPort test to use new 2 byte data IDs 2021-06-02 17:33:15 +10:00
Pierre Kancir
cf350a52e9 Tools: Autotest: add --coverage option 2021-06-02 14:42:59 +10:00
Pierre Kancir
870eaac839 Tools: correct some coverage utilities 2021-06-02 14:42:59 +10:00
Pierre Kancir
d1cc8d2bf3 Waf: add coverage flags 2021-06-02 14:42:59 +10:00
Andrew Tridgell
3a1d2f1852 Replay: remove takeoff/touchdown event handling 2021-06-02 11:13:16 +09:00
Peter Barker
2439587c5a autotest: add tests for ground effect compensation active in EKF 2021-06-02 11:13:16 +09:00
Peter Barker
8925c2830b autotest: check fence upload/download when creating from locs 2021-06-01 15:54:59 +10:00
James O'Shannessy
819bb2938b AP_Periph: Correctly report Temperature to UAVCAN 2021-06-01 12:35:24 +10:00
Peter Barker
c1a20ceab4 autotest: add test to catch bug with opticalflow if no rangefinder 2021-06-01 11:31:42 +10:00
Randy Mackay
26ea80fc62 Tools: update default params for copter-optflow.parm 2021-06-01 09:57:16 +10:00
Andrew Tridgell
f3cc661ebd Tools: added HolybroGPS to autobuild 2021-06-01 09:19:51 +10:00
Andrew Tridgell
b8f3a0f83b Tools: added HolybroGPS bootloader 2021-06-01 09:19:51 +10:00
Andrew Tridgell
b6543e7a85 AP_Bootloader: added Holybro GPS board type 2021-06-01 09:19:51 +10:00
Hwurzburg
4335951c42 Tools: remove % as units on params that are unitless 2021-05-30 22:38:27 -07:00
James Harton
be3cc1b679 Docs: Change all references from dev.ardupilot.org to the appropriate documentation URLs. 2021-05-31 12:20:45 +10:00
bugobliterator
3390167753 AP_Periph: use AP_Notify enum for ToneAlarm types 2021-05-31 07:34:02 +10:00
Michael Oborne
126456742a Hwdef: add Joey 2021-05-27 14:19:55 +10:00
Andrew Tridgell
e7ca9d8e83 Tools: rebuild Pix32v5 bootloader
with right case
2021-05-27 09:30:30 +09:00
Pierre Kancir
7e389afbec Tools: allow to build examples and tests with debug 2021-05-26 18:46:03 +10:00
Pierre Kancir
58358d9f97 Tools: correct arguments passing on autotest.py 2021-05-26 18:46:03 +10:00
bugobliterator
d00f75203c Tools: add omnibusf4pro-one to build_ci to check single gps/compass build 2021-05-26 18:30:45 +10:00
Siddharth Purohit
a6f00e4f80 Tools: increase serial timeout to 2s from 1s in uploader script 2021-05-26 18:25:01 +10:00
Siddharth Purohit
cab86b7b78 bootloaders: rebuild CubeBlack_bl and CubeOrange_bl 2021-05-26 17:26:05 +10:00
bugobliterator
23757c249e AP_Bootloader: free few bytes of flash as bootloader build overflew on devices with 16k flash 2021-05-26 17:26:05 +10:00
Peter Barker
8e61de37be Tools: board_types.txt: reallocate 1033 to Joey, take 1034 for SeriphGPS 2021-05-26 16:32:47 +10:00
Leonard Hall
1326dbe2ee AutoTest: Sub: Add appropriate pid parameters for highly damped system 2021-05-24 20:13:37 +10:00
Leonard Hall
41c437b768 AutoTest: Copter: fly_poshold_takeoff increase acceptable range 2021-05-24 20:13:37 +10:00
Peter Barker
0d05bb9732 Revert "waf: list boards 1/line in case of board-not-found error"
This reverts commit 8ab74d9462.

This broke the build server which parses the output of this
2021-05-21 10:59:56 +10:00
Peter Barker
e46969957a Tools: rename f103-periph/hwdef.dat to .inc (f303 too) 2021-05-20 17:23:17 +10:00
Pierre Kancir
458b6084fa Tools: don't make report test failure on coverage 2021-05-20 14:54:47 +10:00
Pierre Kancir
fae2834341 Tools: update coverage script to python 2021-05-20 14:54:47 +10:00
Pierre Kancir
b9f55ba864 Tools: remove update-coverage.sh script 2021-05-20 14:54:47 +10:00
Pierre Kancir
109847c96d Tools: use getopts on run-coverage and factorize code 2021-05-20 14:54:47 +10:00
Pierre Kancir
255cabc9db Tools: remove more path from coverage 2021-05-20 14:54:47 +10:00
Peter Barker
2109fae56a Tools: reserve a board ID for SierraF9PGPS 2021-05-20 14:17:45 +10:00
Siddharth Purohit
5a33100e91 Revert "bootloaders: rebuild bootloaders"
This reverts commit 4b2552b32b.
2021-05-20 09:35:01 +10:00
Peter Barker
98753ec6dc Tools: move from HAL_NO_LOGGING to HAL_LOGGING_ENABLED 2021-05-19 17:38:47 +10:00
Peter Barker
8a3a609e3b Tools: add can_sitl_nodev.sh which doesn't require a (e.g.) babel to run 2021-05-18 17:59:30 +10:00
Peter Barker
c7a9fb3c9c autotest: retry dynamic notches 8 times before failing
This test is flapping.

This is a poor - but serviceable - workaround.
2021-05-18 11:13:10 +10:00
Peter Barker
8ab74d9462 waf: list boards 1/line in case of board-not-found error
This line is now way too long, and splitting it this way will allow the
output to be grepped for likely-looking board names.
2021-05-18 10:47:37 +10:00
Andy Piper
1eb4f478da bootloaders: update KakuteF4 and KakuteF4Mini bootloaders for buzzer startup and board id 2021-05-18 10:02:36 +10:00
Peter Barker
0a06a9e446 param_metadata: reinstance @Values/@Bitmask magic for excluding params from vehicle output 2021-05-17 10:18:35 +10:00
Peter Barker
eb2b1b3231 Tools: param_meteadata: correct @Values{Plane} etc handling 2021-05-17 10:18:35 +10:00
liang
891cc94577 AP_Bootloader: check VBUS for fast boot 2021-05-14 15:48:30 -07:00
Peter Barker
3eb164fb6a autotest: move script helper functions from rover to common 2021-05-14 13:21:36 +10:00
Peter Barker
3d562046da autotest: add accuracy option to guided_achieve_heading 2021-05-14 13:21:36 +10:00
climr
b46f621fc6 AP_HAL_ChibiOS: add two new horizon31.com boards
PixC4-Pi and PixC4-Jetson
2021-05-14 12:04:29 +10:00
Peter Barker
c18c4ad6ec Tools: param_metadata: remove use of dirname when creating Vehicle
So a Vehicle object takes a truename - i.e. Copter, not ArduCopter, but
can also take a "reference", which is used for e.g. constructing RST
tags.
2021-05-13 21:09:45 +10:00
Peter Barker
3ea9307419 Tools: param_metadata: flake8 cleanliness 2021-05-13 21:09:45 +10:00
Peter Barker
1123de112c Tools: param_metadata: tidy finding of Vehicle parameter file 2021-05-13 21:09:45 +10:00
Peter Barker
97e57932c4 Tools: param_metadata: remove more multi-vehicle support
This script hasn't supported emitting multiple vehicles for a very long
time, but this was enforced using a check and we kept a list of vehicles
around for no very good reason.
2021-05-13 21:09:45 +10:00
Stephen Dade
ab9a221f2e Tools: Update Cygwin environment install for Python 3.7 2021-05-13 06:38:33 +10:00
Andy Piper
1700ab814e AP_Bootloader: change id to AP range 2021-05-12 17:26:35 +10:00
Andy Piper
319a6404c4 Tools: add KakuteF4Mini to board types and scripts 2021-05-12 17:26:35 +10:00
Andy Piper
43ea90f264 Tools: KakuteF4Mini bootloader 2021-05-12 17:26:35 +10:00
bugobliterator
4b2552b32b bootloaders: rebuild bootloaders 2021-05-12 17:21:14 +10:00
bugobliterator
3edf26dff9 Bootloader: complete GET_DEVICE commands before allowing timeout reset 2021-05-12 17:21:14 +10:00
Andy Piper
2df7b5453e autotest: add test for ESC telemetry driven notches. 2021-05-12 17:01:11 +10:00
Peter Barker
d2f78c69be autotest: add a simple test for SMART_RTL 2021-05-12 13:01:50 +10:00
Peter Barker
9965f1a31d autotest: add some helpers for local-position movement 2021-05-12 13:01:50 +10:00
Peter Barker
7ab094f3a1 autotest: tidy fly_guided_move_local 2021-05-12 13:01:50 +10:00
Peter Barker
1d6efbd56f autotest: fix loiter_to_ne
Co-Authored-By: leonardthall@gmail.com
2021-05-11 14:51:28 +10:00
TunaLobster
19c7e349f9 Tools: Add cygwin package to env install scripts for SITL binaries 2021-05-11 10:39:12 +09:00
Andrew Tridgell
8bad533a8e Tools: build FreeflyRTK in CI
this is our only F732 build
2021-05-09 06:44:19 +10:00
Andrew Tridgell
03132c378d Tools: added FreeflyRTK bootloaders 2021-05-09 06:44:19 +10:00
Andrew Tridgell
c5182e6c16 Tools: auto-build FreeflyRTK 2021-05-09 06:44:19 +10:00
Andrew Tridgell
a23e821f94 AP_Periph: allow safety LED as backup main LED for DNA 2021-05-09 06:44:19 +10:00
Andrew Tridgell
efe8042fbe AP_Periph: allow for reboot while in DNA 2021-05-09 06:44:19 +10:00
Andrew Tridgell
724cea2b0d AP_Periph: allow build with no PWM to allow for notify 2021-05-09 06:44:19 +10:00
Andrew Tridgell
44eadb7291 AP_Bootloader: added FreeflyRTK board type 2021-05-09 06:44:19 +10:00
Peter Barker
04aed49572 autotest: adjust GyroFFT threshold to make it pass
From Andy:

Can you make this 0. The test should then pass. I'm not terribly happy about it but its better than disabling the test and I can't tell whether there is actually a problem or not.
2021-05-07 18:30:08 +10:00
Peter Barker
0a235ce094 autotest: remove retry loop from within GyroFFT
This effectively removes an infinite loop from the GyroFFT test.
2021-05-07 18:30:08 +10:00
Peter Barker
765889b827 autotest: don't send statustext during exception
During an exception we don't want to be trying to print these
2021-05-07 14:21:44 +10:00
Peter Barker
f78cf73726 autotest: don't fail completely if ArduPilot process dies 2021-05-07 12:22:11 +10:00
Peter Barker
b04dfda9fb autotest: enable deca and dodeca frames in FlyEachFrame test 2021-05-06 16:26:28 +10:00
Peter Barker
cf4acaa2aa autotest: re-enable quadplane QAutoTune test 2021-05-05 23:43:59 +10:00
Andy Piper
2b327af79b AP_Periph: use tone alarm types 2021-05-05 17:41:24 +10:00
James O'Shannessy
bc38d8a78c AutoTest: Fix autotest from failing due to state from earlier test
Autotest was failing because there was an expectation that the plane would fly relatively north from the takeoff point.
This assumption may not be true. We work around it by using a tin can instead of an exclusion polygon so that we breach no matter the direction we fly.
2021-05-05 10:59:10 +10:00
James O'Shannessy
0e656c1504 AutoTest: Ensure Plane uses home as Fence Return Point if one is not present and no exclusion fence is present 2021-05-05 10:59:10 +10:00
Peter Barker
9a13b5c9b6 autotest: add test for auxfunc triggering via script 2021-05-05 07:13:18 +10:00
Iampete1
8544d00c97 Tools: rename TURN_MAX_G to ATC_TURN_MAX_G in param sets 2021-05-03 19:22:16 -04:00
Iampete1
aa72b7da46 Tools: autotest: Plane: add loiter terrain following test 2021-05-02 18:51:27 +10:00
Traxius1
619e6cb1b7 Tools: added name to GIT_Success.txt 2021-05-02 09:28:57 +10:00
Peter Barker
57abaf0dec autotest: remove retry loop from within GyroFFTHarmonic 2021-05-01 21:30:28 +10:00
Peter Barker
4928ec18af autotest: remove retry loop from within fly_dynamic_notches
We retried externally to the test - may as well do so within
2021-05-01 21:30:28 +10:00
Peter Barker
8fdfdebe55 autotest: pass sitl_commandline_customised up the context stack
We're running tests on the Callisto frame when we shouldn't in Copter as
the information was lost in nested Contexts.

We can only reset the SITL commandline at an actual Test level - if a
defaults file has been used then it is unclear as to what the state of
any parameter is in storage as we move between contexts
2021-05-01 17:22:36 +10:00
Peter Barker
117a44b589 autotest: remove corefiles at start of run
These lead to false-positive failures in the test suite
2021-05-01 17:22:36 +10:00
Peter Barker
2cd0099bbc autotest: exclude decarotor from fly-each-frame-test 2021-05-01 13:25:13 +10:00
Peter Barker
76678ffaf3 autotest: fix octa-cwx in SITL 2021-05-01 13:25:13 +10:00
Peter Barker
5172e767df autotest: fix octa-dji in SITL 2021-05-01 13:25:13 +10:00
Peter Barker
c7c4c17c68 autotest: improve change_mode debug 2021-05-01 13:25:13 +10:00
Peter Barker
63ba484087 autotest: add test which flies each frame we can 2021-05-01 13:25:13 +10:00
jbarrozo
3b1f5f0b15 autotest: added Boquig 2021-04-29 13:35:22 +10:00
Peter Barker
40a84bc566 Replay: link AP_Avoidance
[864/864] Linking build/bbbmini/tools/Replay
11:47:27 runner ['/usr/lib/ccache/arm-linux-gnueabihf-g++', '-Wl,--gc-sections', '-pthread', 'Tools/Replay/DataFlashFileReader.cpp.34.o', 'Tools/Replay/LR_MsgHandler.cpp.34.o', 'Tools/Replay/LogReader.cpp.34.o', 'Tools/Replay/MsgHandler.cpp.34.o', 'Tools/Replay/Replay.cpp.34.o', '-otools/Replay', '-Wl,-Bstatic', '-Llib', '-lReplay_libs', '-Wl,-Bdynamic', '-lm', '-ldl']
lib/libReplay_libs.a(RC_Channel.cpp.0.o): In function `RC_Channel::do_aux_function_avoid_adsb(RC_Channel::AuxSwitchPos)':
RC_Channel.cpp:(.text._ZN10RC_Channel26do_aux_function_avoid_adsbENS_12AuxSwitchPosE+0x4): undefined reference to `AP::ap_avoidance()'
2021-04-29 13:00:40 +10:00
Vladimir Ermakov
50641e8f7c Tools: add Ubuntu 21.04 to environment setup script
Signed-off-by: Vladimir Ermakov <vooon341@gmail.com>
2021-04-29 12:37:03 +10:00
Peter Barker
e4c405b77b autotest: add a test for Spline missions showing terrain requirement 2021-04-28 18:40:26 +10:00
Iampete1
3bea2fd89b Tools: autotest: defualts: setup direct acutated wing servo 2021-04-28 08:22:47 +01:00
Iampete1
0628aa9e29 Tools: autotest: add sailboat autotest 2021-04-28 15:16:35 +10:00
Peter Barker
fc426e01c2 autotest: stop using start_test for things that aren't actually tests
start_test should only be used for top-level tests, not parts of
top-level tests
2021-04-28 13:53:46 +10:00
Peter Barker
6af0f460af autotest: add duplicate-logmessage-field sanity check 2021-04-27 16:38:40 +10:00
Andrew Tridgell
b6fde7ed5a Tools: added can_sitl.sh to make using SITL with real CAN devices easy 2021-04-27 09:01:02 +10:00
QioTek
278593a6a0 HAL_ChibiOS: added f103-QiotekPeriph
HAL_ChibiOS: added f103-QiotekPeriph
2021-04-24 07:48:40 +10:00
Andrew Tridgell
a04e8746a4 waf: removed debug code
this was in to test cygwin ar behaviour on linux. It should not have
been committed.

Thanks to Andy for letting me know it broke MacOS
2021-04-23 05:50:23 +10:00
Andrew Tridgell
4c9fc334cc CI: enable cygwin build in github actions
this will allow us to drop azure builds once this is confirmed working
2021-04-22 14:03:19 +10:00
Hwurzburg
6235f7f8f4 AP_Periph: fix metadata error preventing emitting to wiki 2021-04-21 17:31:43 -07:00
Andrew Tridgell
c88524a1ac Tools: auto-build luminousbee5 2021-04-21 20:41:34 +10:00
Andrew Tridgell
de893a2530 Tools: allocate ID 1029 for luminousbee5
1028 will be the FreeflyRTK
2021-04-21 20:41:34 +10:00
Andrew Tridgell
928108e556 Tools: added luminousbee5 bootloader 2021-04-21 20:41:34 +10:00
Andy Piper
5eca0c61c4 waf: add support for --enable-stats 2021-04-21 17:14:11 +10:00
Peter Barker
30e8160aa1 autotest: sort logs before moving
Makes it easier to find last log in output.

Also removing pointless lamdaing of some functions
2021-04-21 13:16:24 +10:00
Pierre Kancir
927a875133 Tools: param_parse: fix vehicle specific parameter with multiple fields 2021-04-21 11:30:54 +10:00
Peter Barker
0ee0228883 autotest: fix flapping fly-home-land-and-disarm
One of the tests just happened to be within acceptance radius of
waypoint 8 - so when we set that as a waypoint we never saw it actually
be our waypoint so the set_waypoint failed
2021-04-20 23:04:24 +10:00
Andrew Tridgell
878bd3f0fe waf: use /usr/bin/ar not arm-none-eabi-ar on cygwin
needed to allow for @FILE syntax for long arg lists
2021-04-20 18:43:20 +10:00
Peter Barker
8643322f06 autotest: correct string we expect from MAVProxy
Was APM: now AP:
2021-04-20 14:08:12 +10:00
Tom Pittenger
e0cfac902d AP_Periph: populate the param meta data for the wiki 2021-04-19 09:19:04 -07:00
Peter Barker
c12d1938c2 autotest: add a test for button change for changing modes 2021-04-19 14:27:45 +10:00
Andrew Tridgell
6a12b612b1 AP_Periph: fixed DShot in AP_Periph 2021-04-16 07:11:50 +10:00
Andrew Tridgell
be161744db autotest: adjust default plane tune 2021-04-15 06:57:16 +10:00
Andrew Tridgell
0be24c4946 Tools: convert old param files to new plane PID params 2021-04-15 06:57:16 +10:00
Andrew Tridgell
239e794909 Tools: added script to convert old plane PIDs 2021-04-15 06:57:16 +10:00
Andrew Tridgell
0d9d952aea autotest: added SpringValley2 2021-04-15 06:57:16 +10:00
Andrew Tridgell
ae986967c9 Tools: add G4-ESC to build
this ensures G4 keeps building
2021-04-14 13:11:58 +10:00
Peter Barker
31c889f583 autotest: accept Copter/Plane/Sub for sim_vehicle.py 2021-04-12 13:35:16 +10:00
Andrew Tridgell
affff0fc84 Tools: test mission from Leonards S-curve talk 2021-04-11 19:16:09 +10:00
Peter Barker
f2692ab8d9 Tools: build_parameters: generate AP_Periph parameters 2021-04-11 11:31:41 +10:00
Peter Barker
27b6637c2d Tools: param_parse.py: add support for generation for AP_Periph 2021-04-11 11:31:41 +10:00
Peter Barker
725e36b381 AP_Periph: correct paths to libraries
These were a mixture.  This allows param_parse.py to function
appropriately.
2021-04-11 11:31:41 +10:00
Vineet
f847066596 Tools: added my name to the GIT_Success
Tools: added my name to GIT_Success

autotest: correct compilation of Replay in autotest suite

Tools: added my name to GIT_Success

added my name to GIT_Success
2021-04-10 17:48:20 +09:00
Peter Barker
f7fc76f8ab Tools: build_parameters.sh: generate SITL parameters 2021-04-10 11:28:22 +10:00
Peter Barker
b107740542 Tools: param_parse: add --sitl to emit only SIM_ parameters 2021-04-10 11:28:22 +10:00
anbello
c83774a7cd add revo-mini-* to build_binaries.py 2021-04-08 20:34:06 +10:00
Randy Mackay
0b9753b12f Tools: autotest add vehicle info for rover-vectored 2021-04-08 08:47:07 +09:00
Randy Mackay
d00e63d14b Tools: add default params for rover-vectored
Co-authored-by: srmainwaring <rhys.mainwaring@me.com>
2021-04-08 08:47:07 +09:00
Peter Barker
b369e86c0c Tools: param_parse: remove references to APM in parameter generation 2021-04-07 17:08:25 +10:00
Peter Barker
229b25d916 Tools: param_parse: add *args and **kwargs to emitters 2021-04-07 17:08:25 +10:00
Peter Barker
5a927d84c8 Tools: param_parse: rejig selection of emitters 2021-04-07 17:08:25 +10:00
Peter Barker
5ef5fc9d84 Tools: param_parse: stop generating old .wiki format 2021-04-07 17:08:25 +10:00
Peter Barker
c3414a5767 Tools: param_parse: move init of variable lower 2021-04-07 17:08:25 +10:00
Peter Barker
4c6b07e950 Tools: param_parse: remove support for Parameters.pde 2021-04-07 17:08:25 +10:00
Peter Barker
c350268918 autotest: correct compilation of Replay in autotest suite 2021-04-05 16:39:36 +10:00
Peter Barker
ea4bbcf6ee autotest: add test for copter position reset 2021-04-05 00:02:42 +10:00
Randy Mackay
ab2e429f32 Tools: Copter.fly_square descends more quickly 2021-04-03 12:07:59 +09:00
Randy Mackay
f341429977 Tools: Copter.RTLSpeed gets increased speed tolerance 2021-04-03 12:07:59 +09:00
Randy Mackay
c04f686ce7 Tools: extend copter NavDelay test by 80sec
s-curves slows missions slightly
2021-04-03 12:07:59 +09:00
Peter Barker
f0094bac40 autotest: remove copied-in duplicate of pymavlink rotmat 2021-04-03 13:26:06 +11:00
Peter Barker
dfa342a79f autotest: correct rc-values-good debug 2021-04-03 08:59:14 +11:00
Peter Barker
7d9daccdf7 autotest: fix mavproxy switch test
The order in which we fix the environment means that we need to be
listening on the correct port for rc values - so just fix it in the test
2021-04-03 08:58:52 +11:00
Peter Barker
d384ba6585 autotest: increase time permitted for Copter to turn east
Sometimes they turn almost 360 which takes a while
2021-04-02 21:29:43 +11:00
Peter Barker
2c6bdd200c autotest: fix make_safe_filename for Valgrind
Valgrind treats this as a format string so the % is bad
2021-04-02 20:51:18 +11:00
Peter Barker
18ded114ae Tools: param_metadata; stop prettifying XML before emitting
indent is not available on our documentation server:

[build_parameters.py]
Traceback (most recent call last):
  File "./param_parse.py", line 422, in <module>
    do_emit(XmlEmit())
  File "./param_parse.py", line 415, in do_emit
    emit.close()
  File "/home/wiki/build_wiki/ardupilot/Tools/autotest/param_metadata/xmlemit.py
", line 24, in close
    etree.indent(self.paramfile)
AttributeError: module 'lxml.etree' has no attribute 'indent'
2021-04-02 14:39:39 +11:00
Peter Barker
cee348d082 Tools: make and declare bisect-helper.py flake8-compliant 2021-04-01 19:11:50 +11:00
Peter Barker
ee79895a4e Tools: make and declare examples.py flake8-compliant 2021-04-01 19:11:50 +11:00
Peter Barker
79d34b3b64 Tools: make and declare build_binaries.py flake8-compliant 2021-04-01 19:11:50 +11:00
Peter Barker
fff4aa8bde autotest: increase allowed time for climb_before_turn to get home 2021-04-01 19:11:31 +11:00
Peter Barker
f988064e48 Tools: add a tool to help determine best speedup for autotest 2021-04-01 11:27:17 +11:00
Peter Barker
d2c00f7b26 autotest: ensure RC thread is killed after each run_test
Every run_test starts a thread.  del is not being called.  So clean it
up in the caller
2021-04-01 11:00:54 +11:00
Peter Barker
500679ec5b autotest: correct creation of default parameters
Simulation won't start if nothing is connected to 5760 - so just connect
mavproxy there
2021-03-31 23:29:47 +11:00
Peter Barker
ba972b6b46 autotest: fix --map option 2021-03-31 16:30:25 +11:00
Peter Barker
d621fe0cde autotest: correct sub gripper mission
Ordinarily not run because gripper is disabled
2021-03-31 13:43:31 +11:00
Peter Barker
e8f96efe72 autotest: wait for stats initialisation before rebooting
If the RTC time we reset parameters (STAT_RESET) is zero then we reset all parameters.

In SITL we only set that time if we see a GPS due to the AP_RTC RTC_TYPES parameter default bitmask value of 1

So if you reboot SITL fast enough while STAT_RESET is zero you can see that STAT_BOOTCNT does not increase. Easily reproducible in SITL; start with -w and type reboot in several times before SITL sees the GPS come up and you can see STAT_BOOTCNT doesn't increase.

Fix is to ensure STAT_RESET is non-zero before rebooting.
2021-03-31 13:33:39 +11:00
Michelle Rossouw
cd18e16ffb autotest: added blimp simulator type 2021-03-31 12:27:07 +11:00
Peter Barker
30ebe6cde9 autotest: augment test DO_AUX_FUNCTIION test for FAILED AND DENIED 2021-03-31 11:36:09 +11:00
Peter Barker
b2f47ba367 autotest: add test for auxilliary functions in missions 2021-03-31 11:36:09 +11:00
Peter Barker
b55094fef4 autotest: Test triggering Auxillary Functions via mavlink 2021-03-31 11:36:09 +11:00
Manny Rodriguez
369e11c662 Tools: added name to GIT_Success.txt
from tutorial (https://ardupilot.org/dev/docs/git-branch.html), step #6
2021-03-31 08:28:41 +09:00
Andrew Tridgell
5304dfe213 waf: set NDEBUG define to avoid assert issues
this avoids future assert() calls from affecting STM32 HAL_ChibiOS
builds
2021-03-30 11:05:13 +11:00
Peter Barker
7c6f1cd590 Tools: build_autotest.sh: pass in --autotest-server to autotest.py
This will tell autotest.py to undertake the steps required for our
autotest server to run correctly
2021-03-26 22:52:35 +11:00
Peter Barker
ef4ebbf126 autotest: add a do-nothing --autotest-server option
This option is currently ignored, but if given allows the script to
continue normally.

This allows us to change the autotest server to pass the option in - and
then we can change autotest.py so that unless the option is given we
spit out a help message rather than completely stuff up the user's
development environment
2021-03-26 22:52:35 +11:00
Andrew Tridgell
22c936140e Tools: removed assert calls
these waste flash space and do not do us any good
2021-03-25 14:03:40 +11:00
Peter Barker
e2a350f12e autotest: reduce race condition in fly_square mission
We end up where we started, so when we start to play the mission back we
might immediately be at the first waypoint.  That's a problem as we may
never see the NAV_CONTROLLER_OUTPUT mention waypoint 1 and thus we
fail the test
2021-03-25 02:13:44 +11:00
Peter Barker
240e2d6b28 autotest: correct pexpect handling of supplementary programs 2021-03-24 23:10:27 +11:00
Peter Barker
ae7b21843e autotest: remove useless mavproxy set heartbeat directive
This has never actually worked:

2021-03-24T04:53:03.7594996Z AT-0040.3: Starting MAVProxy
2021-03-24T04:53:03.7595674Z PYTHONPATH: /__w/ardupilot/ardupilot/Tools/mavproxy_modules
2021-03-24T04:53:05.8106006Z Running: "mavproxy.py" "--master" "tcp:127.0.0.1:5762" "--aircraft" "test.ArduCopter" "--sitl=127.0.0.1:5502" "--streamrate=5" "--cmd="set heartbeat 8"" "--target-system=1" "--target-component=1" "--quadcopter" "--default-modules" "misc,terrain,wp,rally,fence,param,arm,mode,rc,cmdlong,output"
2021-03-24T04:53:05.8108569Z ERROR LOADING MAVNATIVE - falling back to python implementation
2021-03-24T04:53:05.8109340Z Connect tcp:127.0.0.1:5762 source_system=255
2021-03-24T04:53:05.8109962Z no script test.ArduCopter/mavinit.scr
2021-03-24T04:53:05.8110739Z Unknown command '"set heartbeat 8"'
2021-03-24 23:10:06 +11:00
Peter Barker
8bf1ac0347 autotest: fix and tidy the log download test
We were requesting past the end of the file
2021-03-24 14:46:48 +11:00
Peter Barker
fdbbcaa506 autotest: bump default speedups for several vehicles
These tests seem to run stabley on my box with essentially no speedup
limit
2021-03-24 14:46:48 +11:00
Peter Barker
6f2de67ead autotest: augment delay_sim_time debug 2021-03-24 14:46:48 +11:00
Peter Barker
d9501766c7 autotest: augment delay_sim_time debug 2021-03-24 08:57:03 +11:00
Peter Barker
3035f8dea3 Tools: fix decode_watchdog display of LR,FA and FICSR 2021-03-23 22:49:14 +11:00
Peter Barker
9f15689850 autotest: wait longer for prearm failure in IE24 autotest
we only emit prearm failures every 30 seconds - we just weren't waiting
long enough here
2021-03-23 20:34:47 +11:00
Andrew Tridgell
188e3d6974 AP_Bootloader: save some flash space
gets our largest F4 bootloaders under 16k again
2021-03-23 12:01:20 +11:00
Andrew Tridgell
5b7723d3d0 Tools: make configure_all.py smarter about AP_Periph builds 2021-03-23 12:01:20 +11:00
Andrew Tridgell
3590fe36e8 AP_Bootloader: support dual CAN 2021-03-23 12:01:20 +11:00
Andrew Tridgell
ef16eb56bb AP_Periph: support CAN redundancy
send and recv on multiple CAN interfaces
2021-03-23 12:01:20 +11:00
Andrew Tridgell
50d5fced54 AP_Periph: fixed ESC output
should be range, not angle
2021-03-23 12:01:20 +11:00
Andrew Tridgell
dda69bfcb0 AP_Periph: added ESC_PWM_TYPE
this allows for oneshot and dshot on AP_Periph ESCs
2021-03-23 12:01:20 +11:00
Andrew Tridgell
af64b86c9e AP_Bootloader: support STM32G4 2021-03-23 12:01:20 +11:00
Peter Barker
073a9e3390 autotest: fix frsky passthrough test
Mainly through polling much faster, but also allowing for statustexts in
different orders from frsky/statustext
2021-03-22 18:08:44 +11:00
WillyZehnder
9a8a20f1d2 Tools: environment_install: support Mint 20.1 Ulyssa
Support for Linux Mint 20.1 Ulyssa (currently last version)
based on Ubuntu 20.04 Focal implemented
2021-03-20 10:02:56 +11:00
Michael du Breuil
9abf91c86e AP_Periph: Allow skipping the BatteryInfo model_name
This saves a shocking amount of bandwidth. On a CubeOrange-periph
build sending just baro data and 2 battery info's this results in 25%
less bandwidth being used. (Also given that we still have a instance id,
and can get the CAN node's descriptor in the general case this is not
costing us any information).
2021-03-19 17:35:54 +11:00
Peter Barker
e567cca230 autotest: drain mav before receiving system_time in get_sim_time 2021-03-19 09:46:45 +11:00
Peter Barker
8901efd69d autotest: start and stop MAVProxy for alttype and surface tracking tests
autotest doesn't currently supply terrain tiles, so MAVProxy must be
started
2021-03-19 09:46:45 +11:00
Peter Barker
19e5351631 autotest: start and stop mavproxy for setpoint tests
These work in terrain frame - but autotest won't satisfy terrain
requests yet
2021-03-19 09:46:45 +11:00
Peter Barker
462ac255a3 autotest: start MAVProxy only as needed for testing 2021-03-19 09:46:45 +11:00
Peter Barker
4269cf52a2 autotest: split application of default parameters and defaultfile parameters
ensures all vehicles have LOG_DISARMED
2021-03-19 09:46:45 +11:00
Peter Barker
37efb1cbeb autotest: Copter sim passes default file instead of setting parms
We're now waiting for the vehicle simulation to provide us a heartbeat
for a non-generic frame before considering it good to fly.

Unfortunately, Copter relies on the parameter file to tell it which
frame to use - and we don't apply parameters from parameter files until
after we've checked the heartbeat.

Passing the file into ArduPilot on the commandline means we don't have
this problem.
2021-03-19 09:46:45 +11:00
Peter Barker
dbee2e5d71 autotest: ignore type=0 heartbeat packets on SITL start
Until ArduCopter allocates its motors backend we emit a generic type,
for which there is no mode map in pymavlink.

So don't consider the reboot complete until we see a valid heartbeat.
2021-03-19 09:46:45 +11:00
yaapu
ec15614e11 Tools:autotest: added frsky passthrough autotest for terrain message frame 0x500B 2021-03-18 21:43:48 +11:00
Pierre Kancir
3f204d976e Tools: split coverage script for easier update 2021-03-18 21:33:01 +11:00
Peter Barker
120167f799 autotest: fix fly_square mission
waypoint doesn't change until mission is running
2021-03-18 17:02:06 +11:00
Peter Barker
42eec13f5e autotest: adjust CAN test for lack of MAVProxy 2021-03-18 13:50:57 +11:00
Peter Barker
21c124ab47 autotest: tidy set_parameters
Remove commented code, add more to the verbose option
2021-03-18 11:29:45 +11:00
Stavros Korokithakis
f6fc6d22da autotest: Fix the climb-before-turn test 2021-03-18 07:37:21 +11:00
Pierre Kancir
311a4ed0c7 Tools: correct package_is_installed check 2021-03-17 21:32:30 +11:00
Pierre Kancir
881e42c337 Tools: Give a better chance on default install to get the right package version 2021-03-17 21:32:30 +11:00
roger
b02f868793 Tools: make build installation script compatible with most Linux distros
Signed-off-by: <73884126+ardugitter@users.noreply.github.com>
2021-03-17 21:32:30 +11:00
Samuel Tabor
36428f5074 Tools: Handle repeated add-param-file arguments to sim_vehicle.py. 2021-03-17 19:43:03 +11:00
Pierre Kancir
ebe841ba70 Tools: param_parse: validate empty description and fields 2021-03-17 18:54:53 +11:00
Kawamura
15421c16d1 Tools: add psutil for kill_tasks_psutil in sim_vehicle.py 2021-03-17 18:52:22 +11:00
Peter Barker
da52e5d08c autotest: set SYSID_MYGCS in tests which need it
This was still relying on heartbeats coming from MAVProxy.  As speedup
increased those heartbeats may not come fast enough - and they really
should be coming from autotest as that's who's doing the commanding.

autotest: set SYSID_MYGCS in AFS test

autotest: set SYSID_MYGCS before setGCSfailsafe
2021-03-17 16:02:45 +11:00
Peter Barker
216140b58d autotest: remove un-needed portion of reset_delay_item
Looks like this function evolved and this appendix remained
2021-03-17 14:17:39 +11:00
Lava Chemist
35815a5130 Tools: build_binaries.py : Add FlywooF745 2021-03-17 09:20:04 +11:00
Peter Barker
f7d8994ce1 autotest: move assert_mission_count up, use it 2021-03-17 00:23:05 +11:00
Peter Barker
30c9d4bcf4 autotest: remove pointless loiter switch 2021-03-16 23:33:51 +11:00
Peter Barker
0c7f3d20a4 autotest: fix attitude test
autotest: add a get_messages_frame method

Attempts to get a set of messages as close as reasonable in time.
2021-03-16 14:19:44 +11:00
Stavros Korokithakis
29043d62e9 Add FLIGHT_OPTION to climb before RTL 2021-03-16 11:58:47 +11:00
Lava Chemist
e614c9eeb2 Tools: add bootloader and board types 2021-03-16 11:27:23 +11:00
Peter Barker
4b3adb806c autotest: add test for tailsitter throttle 2021-03-16 10:41:44 +11:00
Hwurzburg
d15e01d390 Plane: fix DO_CHANGE_SPEED airspeed to impact only AUTO and GUIDED modes 2021-03-16 10:09:34 +11:00
Peter Barker
eb702b0f82 Tools: add support for ATTITUDE_QUATERNION 2021-03-13 09:44:12 +11:00
Peter Barker
0414929310 autotest: fix Heli spline waypoint test
Mission isn't round-tripped so make it non-strict
2021-03-13 09:35:22 +11:00
yaapu
3bfa07d35a Tools:autotest, frsky passthrough fix for long status text message test 2021-03-13 00:14:27 +11:00
bugobliterator
5074b6d336 autotest: add test case for GPS ordering
also fix flake8 issues
2021-03-12 16:32:36 +09:00
bugobliterator
48277b43e4 Tools: add autotest for checking GPS ordering 2021-03-12 16:32:36 +09:00
Siddharth Purohit
5657dad3e6 Replay: move underscore one layer down for GPS 2021-03-12 16:32:36 +09:00
Siddharth Purohit
a1a41bb47a AP_Periph: move underscore one layer down for GPS 2021-03-12 16:32:36 +09:00
Michael du Breuil
06a40da355 AP_Periph: Send ardupilot.gnss.Status 2021-03-12 09:39:55 +11:00
Peter Barker
f78d7c3b25 autotest: add option to not check current wp after set_current_wp
Sometimes a waypoint is set which we'll never emit as our current
waypoint (e.g. a JUMP)
2021-03-10 09:12:39 +11:00
Peter Barker
4a251bebbd autotest: fix fly_home_land_and_disarm; wp 7 is never current wp
This is never a current waypoint, so we can't wait for it
2021-03-10 09:12:39 +11:00
Peter Barker
3ddffdab9b autotest: correct wait_current_waypoint timeout behaviour 2021-03-10 09:12:39 +11:00
Randy Mackay
78ddd0512c Tools: autotest for copter spelling fix 2021-03-09 11:49:42 +11:00
Randy Mackay
4abae23306 Tools: disable QuadPlane.GyroFFT autotest 2021-03-08 08:52:05 +09:00
Peter Barker
bdeadce95b autotest: improve deadreckoning test
autotest: use location_offset rather than coordinates in Deadreckoning test
2021-03-05 21:34:58 +11:00
Peter Barker
425ab1358a autotest: tidy streamrate handling
Stop setting MAVProxy stream rates; these are neither here-nor-there now as MAVProxy will only modify its own connection's streamrates now

Stop doing the set-streamrate dance to work around MAVProxy's
set_streamrate algorithms.

Remove useless and misleading set of streamrate in Plane test; we reset
streamrates on the reboot immediately following this set.  Considering
the streamrate was never eset this was a good thing.
2021-03-05 21:34:58 +11:00
James O'Shannessy
bcc0da9c47 AutoTest: Adds additional autotests to capture mode change while breached
AutoTest: Adds test for fence breach switching to guided mode when no fence return point is present. In upstream, this results in a vehicle fly-away.
2021-03-05 14:52:46 +11:00
James O'Shannessy
269fa5cbe2 AutoTest: Copter remove FENCE_AUTOENABLE tests
Addresses comments made in review, removes the FENCE_AUTOENABLE param for copter.
No param means no tests required.
2021-03-05 14:52:46 +11:00
James O'Shannessy
dac5996d93 AutoTest: Fix autotest conflicts after rebase on upstream 2021-03-05 14:52:46 +11:00
James O'Shannessy
e16bbe6e18 AutoTest: Ensure fence state is disabled at end of test
This appears to be another case of the fence state carrying over from one test to another. Disabling the fence at the end of the test appears to have fixed this problem
2021-03-05 14:52:46 +11:00
James O'Shannessy
31462418c6 AutoTest: Ensure Copter can RTL and Land even when Fence Floor has not been auto disabled 2021-03-05 14:52:46 +11:00
James O'Shannessy
fa7be629e5 AutoTest: Make fence tests flake8 compliant 2021-03-05 14:52:46 +11:00
James O'Shannessy
01b27bdb61 AutoTest: revert change that breaks quadplane 2021-03-05 14:52:46 +11:00
James O'Shannessy
2353b55452 AutoTest: Address race conditions in changes to fence tests 2021-03-05 14:52:46 +11:00
James O'Shannessy
76a2a76b54 AutotTest: Adds autotests for Plane to test RetRally flag added to AC_Fence 2021-03-05 14:52:46 +11:00
James O'Shannessy
8545715837 AutoTest: Add Static Fence Tests for unallowed arming when breaching geofence 2021-03-05 14:52:46 +11:00
James O'Shannessy
6f7ba3b037 AutoTest: Ensure fence is disabled at end of throttle_failsafe_fence test 2021-03-05 14:52:46 +11:00
James O'Shannessy
6251b6eead AutoTest: Rebase and carry across changes from autotest 2021-03-05 14:52:46 +11:00
James O'Shannessy
b2346ef6df AutoTest: Adds additional tests to ArduCopter to test autoenable and floor
Adds tests for:
* Testing auto-enable disabled (when no autoenabling of the fence is required)
* Test auto-enabled always after takeoff (when takeoff complete condition met)
* Test auto-enabled disable floor only (when land sequence begins)
* Test auto- on arm/disarm (when vehicle is armed/disarmed)
* Tests ability to land when fence is breached
2021-03-05 14:52:46 +11:00
Dr.-Ing. Amilcar do Carmo Lucas
dd5ede0fe0 autotest: small comment improvements 2021-03-05 14:52:46 +11:00
James O'Shannessy
bbd606b8b5 AutoTest: Corrections to autotests 2021-03-05 14:52:46 +11:00
James O'Shannessy
a3efc9ad98 AutoTest: Fix MAVlite test allowing plane fence to be enabled 2021-03-05 14:52:46 +11:00
James O'Shannessy
47e76a1807 AutoTest: Move fence enable/disable to common location 2021-03-05 14:52:46 +11:00
Dr.-Ing. Amilcar do Carmo Lucas
528defd560 Autotest: activate the fence via a mavlink command
This should not be required in the future, please fix this and revert this commit
2021-03-05 14:52:46 +11:00
Dr.-Ing. Amilcar do Carmo Lucas
8d8753b14c Autotest: fix two copter tests after parameter rename
I'm not sure if a better fix would be to remove the set_parameter() call
2021-03-05 14:52:46 +11:00
James O'Shannessy
215901be30 Autotest: Correct the logic for fence based autotest functions
Adds corrections to enabling fence using aux function.
Correctly test fences statically. Only uploaded fences can be checked using a fence file, so we check those first. Then we add steps to check tin can, max and minm all set the fence as present, as expected.
Plane will support MAV_PROTOCOL_CAPABILITY_MISSION_FENCE, so we assert that it does support it.
To test ceiling and floor, leverage some existing functions for takeoff, change altitude and land. Check for respective breach.
Add a floor breach check to copter.
2021-03-05 14:52:46 +11:00
James O'Shannessy
1a3e168ced Autotest: Fence is present, but test looking for not present
Autotest: Remove ties to mavlink FENCE_ACTION

Autotest: Add ArduPlane autotest to test ceiling and floor

Adds a test to ensure the vehicle reverts to RTL when breaching a ceiling or floor.

Autotest: Progress the test once we reach takeoff complete and fence enable

Autotest: Use RC_OPTION for Aux Switch functionality

Autotest: Enable fence last
2021-03-05 14:52:46 +11:00
Paul Riseborough
d52594c576 Tools: Fix set_home autotest
Don't try to get home until EKF has passed alignment and GPs checks.
Use a more realistic lat/lon offset threshold
2021-03-05 12:10:01 +11:00
Paul Riseborough
0a052d20ea Tools: Add handling for default airspeed variance 2021-03-05 12:10:01 +11:00
Randy Mackay
0a08793b7d Tools: Holybro S500 param file 2021-03-04 14:27:20 +09:00
Peter Barker
4aed767fe9 autotest: add test for MAV_CMD_DO_SET_MISSION_CURRENT 2021-03-04 11:59:33 +11:00
Pierre Kancir
52c5a7c417 Tools: add pretty diff size script 2021-03-03 18:56:55 +11:00
Peter Barker
a235246628 autotest: correct units in new AHRS2 test 2021-03-03 18:41:14 +11:00
Pierre Kancir
ecc89411f9 Tools: put UART_chargen in skip list 2021-03-03 18:07:38 +11:00
Pierre Kancir
7a5a7b1eb5 CI: add examples test 2021-03-03 18:07:38 +11:00
Andy Piper
46c5d72166 Tools: add bdshot bootloaders for CubeYellow and mRoControlZeroH7 2021-03-03 18:02:26 +11:00
Peter Barker
b3ee5d5f59 autotest: increase verbosity in AHRS2 test 2021-03-03 16:29:33 +11:00
Peter Barker
5a49d98555 Tools: have decode_watchdog try to decode from .log dataflash dumps 2021-03-03 13:38:12 +11:00
Randy Mackay
a35a7e1523 Tools: autotest manual control test requires 12 deg
adjusted down because of lower default angle_max
2021-03-03 08:03:39 +09:00
Peter Barker
317181922c autotest: ensure we're getting vaguely sane data in AHRS2 message 2021-03-02 20:48:36 +11:00
Peter Barker
cc83562add autotest: tidy fence handling 2021-03-02 16:54:06 +11:00
Peter Barker
b2d4cefa85 autotest: change heli default RPM type to 10
Change default to SITL
2021-03-02 15:41:44 +11:00
Peter Barker
4d2cf8c95b AP_Frsky_SPort: correct handling of RPM sensor data
Nails support down to just two RPM sensors for the time being.

Simplifies things (there was an issue here when I corrected RPM-in-SITL)
2021-03-02 15:41:44 +11:00
Peter Barker
eb499ff731 autotest: improve frsky SPort test
- reduces verbosity as we only check the remaining items when new data
received
 - reduces repoll interval and explains why we need to re-poll
2021-03-02 15:41:44 +11:00
Peter Barker
7b251b6fd4 autotest: add diagnostics for frsky tests 2021-03-02 15:41:44 +11:00
Peter Barker
2671a2f71f autotest: fix up FRSky tests for running under Valgrind 2021-03-02 15:41:44 +11:00
Peter Barker
360512f6b0 autotest: preserve commandline customisations on reboot under valgrind 2021-03-02 15:41:44 +11:00
Peter Barker
fc9a93ba67 autotest: stop using mavproxy for clearing missions 2021-03-02 14:24:36 +11:00
Peter Barker
97e2596bf8 autotest: stop clearing mission at start of test
These are implicitly cleared by the framework
2021-03-02 14:24:36 +11:00
Peter Barker
973510a4ff autotest: push context after customising cmdline
doing things in the other order causes problems when running the
complete suite
2021-03-02 14:24:36 +11:00
Peter Barker
5d1e105534 autotest: allow more time for mission upload and download
We upload some rather large missions....
2021-03-02 14:24:36 +11:00
Peter Barker
10007e2e42 autotest: load missions natively rather than using MAVProxy 2021-03-02 14:24:36 +11:00
Peter Barker
993d87469c autotest: move mission upload functions from rover to common 2021-03-02 14:24:36 +11:00
Peter Barker
34a52e9cfe autotest: use wait_statustext in place of mavproxy.expect for autorotate test 2021-03-02 13:34:09 +11:00
Rishabh
6e2339d2d6 Tools: default parameters for Hexsoon TD-650 2021-03-02 10:13:51 +09:00
Peter Barker
0daa1a63d3 autotest: remove pointless fetch_parameters call
And the entire method, replace with equivalent test
2021-03-01 17:27:52 +11:00
nkruzan
3e0f9ab4e7 Tools:autotest\common.py fix text typo 2021-03-01 15:15:38 +11:00
Peter Barker
61138f342a autotest: do not time out receiving of heartbeat if running gdb
pausing indefinitely when running GDB is OK.
2021-03-01 13:44:23 +11:00
Peter Barker
1f47698076 autotest: use change_mode in place of mavproxy.send 2021-03-01 13:10:09 +11:00
Andrew Tridgell
97e7b48ca1 Tools: rebuild DrotekP3Pro bootloader 2021-02-28 17:24:25 +11:00
Andrew Tridgell
0528414a9c AP_Bootloader: limit the 1M flash check to the F427
this fixes an issue with the DrotekP3Pro which uses the STM32F469
2021-02-28 17:24:25 +11:00
Andrew Tridgell
b137f9e319 waf: fixed embed error on python2 2021-02-26 10:59:09 +11:00
bugobliterator
6d25b02508 waf: need to crc the padded bootloaders before embedding 2021-02-26 10:59:09 +11:00
Peter Barker
d3b3c443bc autotest: reset copter completely after autotune test 2021-02-25 10:49:58 +11:00
Andrew Tridgell
98abe125ad Tools: rebuild IO firmware
we now have enough memory again
2021-02-24 18:21:08 +11:00
Peter Barker
013415eb31 autotest: make and mark arducopter.py as flake8-compliant 2021-02-24 15:10:10 +11:00
Andrew Tridgell
b012c472e1 waf: added crc to embedded data 2021-02-23 20:20:07 +11:00
Peter Barker
79f21ed639 autotest: add test for GSF logging 2021-02-23 12:36:33 +11:00
Peter Barker
9d681eecc4 autotest: move to state outside when we leave log structure
No vertical whitespace allowed in the structures...

We concatenate all of the LogStructure files; without this we remain in
state_inside and try to parse every line in the concatenation as if it
were a log structure definition
2021-02-23 12:36:33 +11:00
Andrew Tridgell
20da92c8a1 Tools: revert IO firmware
this is a temporary fix until the full cause of the IOMCU issue is
found
2021-02-22 19:52:05 +11:00
Peter Barker
4d9cfdaaa8 Vagrant: create a bionic64-desktop VM
The focal-desktop appears to have a problem where directories are
considered to be in-use when being deleted. Not reproduced by me, but
reliably by a Windows user.
2021-02-22 15:00:38 +11:00
Andy Piper
fa1bed9735 Tools: rebuild iomcu firmware 2021-02-22 07:07:43 +11:00
Peter Barker
44ec74030e autotest: recover from flip in althold to remove stabilise throttle problem 2021-02-21 23:11:26 +11:00
Peter Barker
a4a5d52c35 autotest: extend time allowed for RTL for simplemode test 2021-02-21 22:45:06 +11:00
Peter Barker
9120882e9e autotest: print name of open dataflash log when test exception caught
The stack trace is already extremely useful... but mapping back to the
relevant dataflash log is a bit of a pain.

Adding more stuff to this method in the future might be good, too.
2021-02-21 21:35:35 +11:00
Peter Barker
adf44f3b2b autotest: make and declare sim_vehicle.py flake8-clean 2021-02-21 21:35:17 +11:00
Peter Barker
98451e499a autotest: make and declare balancebot flake8-clean 2021-02-21 21:35:17 +11:00
Peter Barker
b5f490aff4 autotest: make fly_proximity_avoidance_test_alt_no_avoid more reliable 2021-02-21 17:44:10 +11:00
Andy Piper
94de238751 AP_HAL_ChibiOS: disable RCOUT thread on iomcu and rebuild iomcu. 2021-02-20 14:37:11 +11:00
Peter Barker
d4aef2dba8 autotest: stop using MAVProxy to change mode 2021-02-20 00:03:24 +11:00
Peter Barker
05c9b79a5e autotest: make and declare quadplane.py flake8-clean 2021-02-20 00:02:33 +11:00
Peter Barker
c13d229877 autotest: use self.set_current_waypoint rather than "wp set" to set current wp 2021-02-19 12:25:40 +11:00
Peter Barker
148e2e751f autotest: add set_current_waypoint 2021-02-19 12:25:40 +11:00
Peter Barker
b7044d3708 autotest: remove use of global expect_list 2021-02-18 18:18:30 +11:00
Peter Barker
2d17f019b6 autotest: remove pointless manipulation of expect list
start_sitl and start_mavproxy already do this stuff
2021-02-18 18:18:30 +11:00
Peter Barker
dcc04ccd09 autotest: stop using MAVProxy to change modes 2021-02-18 17:38:52 +11:00
Peter Barker
2c1df16442 autotest: increase button message timeout to allow for Valgrind speed 2021-02-18 17:04:16 +11:00
Peter Barker
ad06a616b8 autotest: adjust for low log transfer rate under valgrind 2021-02-18 17:04:16 +11:00
Peter Barker
bcc1cb9dbb autotest: use get_parameter in place of mav's param object
This is the only place in the code that does this
2021-02-18 15:06:26 +11:00
Peter Barker
b1ccf3b3f8 autotest: add test for rangefinder-based proximity avoidance enablement 2021-02-18 15:05:51 +11:00
Peter Barker
3cf1b9444f autotest: get_sim_time_cached in NMEA output test to stop losing msgs 2021-02-18 11:26:22 +11:00
Peter Barker
ce61f44505 autotest: reset SITL commandline after fetching unhidden parameters
this makes a difference under Valgrind, which has to reboot slightly differently to normal SITL
2021-02-18 11:26:22 +11:00
Peter Barker
e221e6ce45 autotest: flake8 compliance for ardusub.py 2021-02-18 10:43:05 +11:00
Peter Barker
628a3843b2 autotest: flake8 compliance for arduplane.py 2021-02-18 10:43:05 +11:00
Peter Barker
78aa729b90 autotest: flake8 compliance for common.py 2021-02-18 10:43:05 +11:00
Peter Barker
4c56ac7eb3 autotest: flake8 compliance for antennatracker.py 2021-02-18 10:43:05 +11:00
Peter Barker
726f54e37f autotest: flake8 compliance for rover.py 2021-02-18 10:43:05 +11:00
Peter Barker
360e2f49b3 Tools: git-tools: add a script suitable for use as a pre-commit hook 2021-02-18 10:43:05 +11:00
Peter Barker
e3887c8d93 autotest: make and mark autotest.py flake8-clean 2021-02-18 10:43:05 +11:00
Peter Barker
3c83d52e52 Tools: add script to check Python files for flake8-cleanliness 2021-02-18 10:43:05 +11:00
Andy Piper
7aa1e2d63b waf: add AP_VideoTX module 2021-02-17 18:23:33 +11:00
Peter Barker
33fee211a4 autotest: extend pexpect timeouts when running under Valgrind 2021-02-17 18:16:04 +11:00
Peter Barker
a292fe1b8b autotest: use wait_statustext rather than mavproxy.expect
This is important when running under Valgrind as the text can be
significantly delayed.  wait_statustext times out in simulation time,
whereas mavproxy.expect has a flat 60s timeout
2021-02-17 18:16:04 +11:00
Peter Barker
c00a82868e autotest: make DLVR sole airspeed sensor in test
The test wasn't actually *using* the DLVR...
2021-02-17 14:23:07 +11:00
Peter Barker
dbdda65956 autotest: add basic test for GPS blending 2021-02-17 11:30:01 +11:00
SSGrady
82a84c8f35 Tools: added name to GIT_Success.txt 2021-02-16 12:42:10 -08:00
Peter Barker
1ca0998f32 Tools: take MAV_CMD_DO_SPRAYER as a mavlink command 2021-02-16 22:36:43 +11:00
Peter Barker
b14dcf4bae Tools: add mission command to turn sprayer on and off 2021-02-16 22:36:43 +11:00
Peter Barker
be8f747b7a autotest: adjust timeout for Valgrind; disable for gdb 2021-02-16 13:18:41 +11:00
Andrew Tridgell
ee8e9e3289 waf: fixed handling of vehicle dependency check for abs paths
this fixes the use of vehicle dependent cpp files on the build server
2021-02-15 07:23:33 +11:00
Peter Barker
3c3db50843 Vagrant: augment bash when working in a git repository
This .bashrc_git originally came from tridge.
2021-02-14 09:57:26 +11:00
Peter Barker
ca49f62b6d autotest: add test for Plane's RTL_CLIMB_MIN parameter 2021-02-13 19:34:52 +11:00
Peter Barker
e4d5a92721 autotest: add wait_distance_to_nav_target method 2021-02-13 19:34:52 +11:00
Peter Barker
d60fa86026 autotest: use set_map_from_rc more 2021-02-13 19:34:52 +11:00
Peter Barker
a5706a18af autotest: handle Py2 not having ConnectionResetError built in 2021-02-12 18:24:18 +11:00
Michael du Breuil
50d80e9dc4 AP_Periph: Remove debug printf 2021-02-12 14:51:09 +11:00
Willian Galvani
e5844b7753 Frame_params: Sub: make RNGFND1_TYPE 0 (None)
This was causing issues in QGC 4.1 as it was showing an unhealthy
Rangefinder and marking the vehicle as "not ready to fly".
It will be up to the companion computer to set this to 10(Mavlink)
2021-02-11 10:43:50 -08:00
Peter Barker
5e3caefc2d Vagrant: make ptrace permissive to allow stack dumping 2021-02-11 17:22:48 +11:00
Peter Barker
4020308d40 Vagrant: add desktop to Vagrant 2021-02-11 09:58:53 +11:00
Iampete1
904b493809 Tools: autotest, common.py remove extra comma 2021-02-11 09:20:15 +11:00
Pierre Kancir
8396388af9 Tools: run_examples: add FlashTest to skip list 2021-02-10 18:49:42 +11:00
Peter Barker
4324d66c13 autotest: loosen time constraint on mavlink messages in magcal
Saw an error where we didn't get one of these in 5 seconds.

That sounds like too much.  But we'll loosen the constrain anyway
2021-02-10 09:28:45 +11:00
Peter Barker
bd8384b322 autotest: break out a get_altitude method 2021-02-10 09:28:25 +11:00
Alessandro Apostoli
e2aaf4c216 Tools: autotest, fix for frsky not defined error (#4) 2021-02-10 09:27:58 +11:00
Peter Barker
d9dd93bcdd autotest: don't run frsky tests armed for the most part 2021-02-10 09:27:58 +11:00