Commit Graph

6369 Commits

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