Commit Graph

7147 Commits

Author SHA1 Message Date
Andrew Tridgell 578ebcc5f3 waf: added -g option to configure
this adds debug symbolds to the build without enabling other debug
code. This is needed for analysing watchdog crash dumps
2023-05-24 19:58:33 +10:00
bugobliterator ca80462267 bootloaders: add CubeOrangePlus-bdshot bootloader 2023-05-24 19:58:33 +10:00
Leonard Hall 04c03cb811 AutoTest: Remove extra line 2023-05-24 19:58:33 +10:00
Pierre Kancir e2659fca9c Tools: fix flake8 checks 2023-05-24 19:58:33 +10:00
Andrew Tridgell 6f216f7ca9 Tools: rebuild IO firmware 2023-05-23 15:21:51 +10:00
Andy Piper 9fed3788ab bootloaders: update MambaF405-2022 to include VTX pwoer 2023-02-22 20:32:10 +11:00
Andrew Tridgell 4bef9b7164 autotest: added AltResetBadGPS test
this tests the bug in handling a glitching GPS with low accuracy with
AHRS alt reset
2023-02-18 08:26:02 +11:00
Andy Piper bf63f7e4a5 bootloaders: update bootloader for MambaH743v4 to include VTX power 2023-02-18 08:26:02 +11:00
Andrew Tridgell 3091f27aa2 Tools: update IO firmware 2023-02-10 06:45:20 +11:00
Andrew Tridgell 15649519eb 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-09 13:18:45 +11:00
bugobliterator 6ef02d5fac Tools: fix CI error while building for macos 2023-01-08 21:03:25 +11:00
Peter Barker dadff46697 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-08 21:03:25 +11:00
Peter Barker 8cde9dc709 bootloaders: add bootloader for PixPilot-v6 2023-01-08 21:03:25 +11:00
xiao c45608c3e5 Tools: reserve ID for PixPilot-V6 2023-01-08 21:03:25 +11:00
Andy Piper 14f7a8b536 scripts: add CUAV-Nora-bdshot 2023-01-08 21:03:25 +11:00
Andy Piper fcf98e3ad2 bootloaders: add CUAV Nora bdshot bootloaders 2023-01-08 21:03:25 +11:00
Bredemeier, Fabian (TD-M) 7db2be5ce5 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-23 10:16:06 +11:00
Peter Barker 8bfe12173c 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-11 09:58:17 +11:00
Andrew Tridgell d6f5049dda Tools: rebuilt bootloaders affected by STORAGE_FLASH_SIZE bug 2022-12-11 09:58:17 +11:00
Andrew Tridgell 032e019836 Tools: added --only-bl option to configure_all.py 2022-12-11 09:58:17 +11:00
Peter Barker 3709fa426d autotest: fix warning about deprecated distutils.dir_utils.copy_tree 2022-12-11 09:58:17 +11:00
Andy Piper ed41412e01 scripts: add SpeedyBee F405 v3 to manifest generator 2022-11-21 19:33:35 +11:00
Andy Piper d095b1d818 bootloaders: add SpeedyBee F405 v3 bootloader 2022-11-21 19:33:35 +11:00
Andy Piper 2b461bef50 AP_Bootloader: add board id for SpeedyBee F405 v3 2022-11-21 19:33:35 +11:00
Randy Mackay d584517bc9 Tools: ArduRoller param file loses ATC_BAL_SPD_FF 2022-11-21 19:33:35 +11:00
Randy Mackay f32b30b9e0 Tools: balancebot test does not set ATC_BAL_SPD_FF
also update autotest balance bot tuning
2022-11-21 19:33:35 +11:00
Lucas De Marchi 29c05b78a1 Tools: Update fram params for skyviper
Set the necessary SERVO*_FUNCTION params so it doesn't conflict.
2022-11-21 19:33:35 +11:00
Andrew Tridgell d41b1c8c3b Tools: fixed filename for AtomRCF405NAVI bl 2022-11-21 19:33:35 +11:00
alexklimaj f61aa5f0b9 AP_Baro: BMP390 2022-11-21 19:33:35 +11:00
alexklimaj 80903958c4 hwdef: ARKV6X 2022-11-21 19:33:35 +11:00
Andrew Tridgell 883a37ef37 Tools: added new baro types 2022-11-21 19:33:35 +11:00
Randy Mackay 5fe0cf5e00 Tools: custom build server option for Siyi gimbal mount 2022-11-21 19:33:35 +11:00
Andrew Tridgell 1200c0e0d3 waf: added --enable-gps-logging 2022-10-19 10:22:11 +11:00
Andrew Tridgell fb10145092 waf: ensure we don't try to use non-implemented functions 2022-10-19 10:22:11 +11:00
Andrew Tridgell cde3674559 Tools: added CubePilot to board recognition for uploader.py
for CubeOrangePlus
2022-10-19 10:22:11 +11:00
Willian Galvani 286f5d1765 Tools: attempt to fix Sub flapping test 2022-10-19 10:22:11 +11:00
Andrew Tridgell a002040146 AP_Bootloader: use new check_limit_flash_1M()
use common function
2022-10-09 09:47:02 +11:00
Andrew Tridgell cdc0474da1 Tools: fixed build of bootloaders with debug 2022-10-09 09:47:02 +11:00
Reilly Callaway 4fcb1089b1 Tools: Add kg per cubic meter unit metadata 2022-10-04 13:38:30 +11:00
Andrew Tridgell 6b4e30ea7d AP_Periph: support actuator type with PWM
this makes debugging much easier in CAN analyser
2022-10-04 13:38:30 +11:00
Paul Riseborough a61451f6a7 Tools: Use a more typical wind speed for the PitotBlockage autotest 2022-10-04 13:38:30 +11:00
Paul Riseborough 0ada863636 Tolls/autotest: Fix Flake8 style check fails 2022-10-04 13:38:30 +11:00
Paul Riseborough 0d2e391579 Tools/autotest: fail pitot tube at start of takeoff 2022-10-04 13:38:30 +11:00
Paul Riseborough 2e75a8f85c Tools/autotest: rework arming and takeoff mode change order
Co-authored-by: Peter Barker <pb-gh@barker.dropbear.id.au>
2022-10-04 13:38:30 +11:00
Paul Riseborough 1bef47d2b7 Tools/autotest: Use clearer method of setting parameters
Co-authored-by: Peter Barker <pb-gh@barker.dropbear.id.au>
2022-10-04 13:38:30 +11:00
Paul Riseborough 98506f995a Tools: Python coding style fixes 2022-10-04 13:38:30 +11:00
Paul Riseborough 954276c10f Tools: Add partial unblockage to pitot blockage test 2022-10-04 13:38:30 +11:00
Paul Riseborough ada3537b8f Tools: Add autotest for pitot tube blockage handling 2022-10-04 13:38:30 +11:00
Andy Piper 080b444418 bootloaders: make sure SkystarsH7HD has functioning VTX on Camera 1 by default 2022-10-04 13:38:30 +11:00
Andy Piper 05b88ba475 scripts: add Skystars variants to manifest generator 2022-10-04 13:38:30 +11:00