Commit Graph

7142 Commits

Author SHA1 Message Date
Andy Piper f3ab56bc57 bootloaders: update MambaF405-2022 to include VTX pwoer 2023-03-02 14:56:47 +09:00
Andrew Tridgell dcfb648c57 autotest: added AltResetBadGPS test
this tests the bug in handling a glitching GPS with low accuracy with
AHRS alt reset
2023-03-02 14:56:47 +09:00
Andy Piper 1ffd0f2451 bootloaders: update bootloader for MambaH743v4 to include VTX power 2023-02-14 16:29:55 +09:00
Andrew Tridgell 454a002a3e Tools: update IO firmware 2023-02-11 09:42:55 +09:00
Andrew Tridgell cbfba1b719 waf: add -fcheck-new to g++ build
this ensures the compiler doesn't assume that new always returns a
non-NULL value. Without this the compiler may remove the error path in
code like this:

```
MyObject *x = new MyObject;
if (x == nullptr) {
  ::printf("Alloc failed\n");
}
```

the reason it can do this is the new operator is marked as throwing an
exception on failure, which means the error path is unreachable. As we
don't have C++ exceptions in ArduPilot could (and do!) have code that
ends up losing protection against allocation failures
2023-01-10 08:12:47 +09:00
bugobliterator 0b63b679c4 Tools: fix CI error while building for macos 2023-01-10 08:12:47 +09:00
Peter Barker 54c0044f8c github: macosx: remove github-installed Python symlinks in /usr/local/bin
installing packages fails as symlinks that brew wants to install already exist

https://github.com/orgs/Homebrew/discussions/3895
2023-01-10 08:12:47 +09:00
Peter Barker 07f915ecf0 bootloaders: add bootloader for PixPilot-v6 2023-01-10 08:12:47 +09:00
xiao ebe45361be Tools: reserve ID for PixPilot-V6 2023-01-10 08:12:47 +09:00
Andy Piper 68ec1c94f4 scripts: add CUAV-Nora-bdshot 2023-01-10 08:12:47 +09:00
Andy Piper 7a52a634a7 bootloaders: add CUAV Nora bdshot bootloaders 2023-01-10 08:12:47 +09:00
Bredemeier, Fabian (TD-M) fef5c75e23 Copter: Simulink Model and init scripts for Copter-4.3
- arducopter.slx: Simulates ArduCopter Stabilize and Althold controller and optional plant model
- sid_pre.m: Loads *.bin files to Matlab structs
- sid_sim_init.m: Loads signals and parameters from Matlab structure into Simulink model
- sid_controller_validation.m: Validation of the flight controller model with the flight data loaded to the Matlab workspace.
2022-12-15 08:38:03 +11:00
Peter Barker 493fb57efc Tools: move to compiling 64-bit Windows executables
Co-authored-by: davidbuzz@gmail.com
Co-authored-by: robertlong13

cygwin has dropped 32-bit support
2022-12-10 10:34:44 +09:00
Andrew Tridgell 502e28e8bc Tools: rebuilt bootloaders affected by STORAGE_FLASH_SIZE bug 2022-12-10 10:34:44 +09:00
Andrew Tridgell 42aeda4e48 Tools: added --only-bl option to configure_all.py 2022-12-10 10:34:44 +09:00
Peter Barker 33218b4bc9 autotest: fix warning about deprecated distutils.dir_utils.copy_tree 2022-12-10 10:34:44 +09:00
Andy Piper bfaf900dee scripts: add SpeedyBee F405 v3 to manifest generator 2022-11-21 18:48:35 +09:00
Andy Piper 02119215eb bootloaders: add SpeedyBee F405 v3 bootloader 2022-11-21 18:48:35 +09:00
Andy Piper c538e20213 AP_Bootloader: add board id for SpeedyBee F405 v3 2022-11-21 18:48:35 +09:00
Randy Mackay 304eb55956 Tools: ArduRoller param file loses ATC_BAL_SPD_FF 2022-11-21 18:48:35 +09:00
Randy Mackay 35e90f3149 Tools: balancebot test does not set ATC_BAL_SPD_FF
also update autotest balance bot tuning
2022-11-21 18:48:35 +09:00
Lucas De Marchi 0a5ef6dbed Tools: Update fram params for skyviper
Set the necessary SERVO*_FUNCTION params so it doesn't conflict.
2022-11-21 18:48:35 +09:00
Andrew Tridgell 02716eb379 Tools: fixed filename for AtomRCF405NAVI bl 2022-11-21 18:48:35 +09:00
alexklimaj ca54c9f5e8 AP_Baro: BMP390 2022-11-21 18:48:35 +09:00
alexklimaj a5b13043bf hwdef: ARKV6X 2022-11-21 18:48:35 +09:00
Andrew Tridgell 913682928a Tools: added new baro types 2022-11-21 18:48:35 +09:00
Randy Mackay ae6ec4bfe0 Tools: custom build server option for Siyi gimbal mount 2022-11-21 18:48:35 +09:00
Andrew Tridgell 854061fdbe waf: added --enable-gps-logging 2022-10-24 22:23:32 +09:00
Andrew Tridgell fd126b0d37 waf: ensure we don't try to use non-implemented functions 2022-10-24 22:23:32 +09:00
Andrew Tridgell 8555a815d8 Tools: added CubePilot to board recognition for uploader.py
for CubeOrangePlus
2022-10-24 22:23:32 +09:00
Willian Galvani 40d514e1c3 Tools: attempt to fix Sub flapping test 2022-10-24 22:23:32 +09:00
Andrew Tridgell 8957152b80 AP_Bootloader: use new check_limit_flash_1M()
use common function
2022-10-14 17:13:10 +09:00
Andrew Tridgell 7b1b021c7e Tools: fixed build of bootloaders with debug 2022-10-14 17:13:10 +09:00
Reilly Callaway a95e4def52 Tools: Add kg per cubic meter unit metadata 2022-10-04 16:50:08 +09:00
Andrew Tridgell 52ba9be204 AP_Periph: support actuator type with PWM
this makes debugging much easier in CAN analyser
2022-10-04 16:50:08 +09:00
Paul Riseborough 7430932288 Tools: Use a more typical wind speed for the PitotBlockage autotest 2022-10-04 16:50:08 +09:00
Paul Riseborough e0a7e36e01 Tolls/autotest: Fix Flake8 style check fails 2022-10-04 16:50:08 +09:00
Paul Riseborough 9090319343 Tools/autotest: fail pitot tube at start of takeoff 2022-10-04 16:50:08 +09:00
Paul Riseborough db64d85a18 Tools/autotest: rework arming and takeoff mode change order
Co-authored-by: Peter Barker <pb-gh@barker.dropbear.id.au>
2022-10-04 16:50:08 +09:00
Paul Riseborough 3d4ea4ec37 Tools/autotest: Use clearer method of setting parameters
Co-authored-by: Peter Barker <pb-gh@barker.dropbear.id.au>
2022-10-04 16:50:08 +09:00
Paul Riseborough 86fdb6617f Tools: Python coding style fixes 2022-10-04 16:50:08 +09:00
Paul Riseborough 705c6e1a83 Tools: Add partial unblockage to pitot blockage test 2022-10-04 16:50:08 +09:00
Paul Riseborough 72d7ab2a4e Tools: Add autotest for pitot tube blockage handling 2022-10-04 16:50:08 +09:00
Andy Piper 0b7ff5eeb3 bootloaders: make sure SkystarsH7HD has functioning VTX on Camera 1 by default 2022-10-04 16:50:08 +09:00
Andy Piper d05e79dfa3 scripts: add Skystars variants to manifest generator 2022-10-04 16:50:08 +09:00
Andy Piper ee5e1a6055 bootloaders: add and correct SkystarsH7HD bootloaders 2022-10-04 16:50:08 +09:00
Peter Barker c5a786559a autotest: check target system on return mission_item_int packets 2022-10-04 16:50:08 +09:00
Andrew Tridgell 44b2a42953 autotest: added a test for EKF lane change in GUIDED
an EKF lane change when the two lanes are using different GPS should
not cause a height change in GUIDED
2022-10-04 16:50:08 +09:00
Andrew Tridgell 37cb0fe0c5 autotest: move do_aux_function to common 2022-10-04 16:50:08 +09:00
m 8b601fbf63 autotest: Fix watch_altitude_maintained for Copter 2022-09-13 14:19:47 +09:00