Thomas Watson
dcd34dd39e
AP_Periph: clean up node ID parameter handling
...
Properly document the range and behavior.
Rename storage variable as it doesn't connect to the DNA preferred ID
feature.
2024-09-10 12:36:34 +10:00
Andrew Tridgell
a9455ec3d3
waf: fixed app signature in elf files
...
this fixes an issue when developing for ChibiOS AP_Periph targets
where loading the elf file in gdb doesn't allow it to run as it
doesn't have the correct AP_Periph signature (crc, board type etc)
This patch modifies the elf file to fill in the signature, so when you
load in gdb the bootloader will be able to run the signature checks
and load the firmware
2024-09-10 12:33:45 +10:00
Thomas Watson
ebcb753acc
AP_Periph: reject allocation of broadcast node ID
...
It is technically legal to receive an "allocation" of the broadcast node
ID. Fortunately, this was already ignored by `canardSetLocalNodeID`,
though it would trigger an assertion failure if those were enabled.
Fix by rejecting that ID. There is effectively no change in behavior
(except possibly fixes using moving baseline GPSes) but the code now
correctly ignores that ID and retries the allocation as it did before.
2024-09-10 12:31:19 +10:00
Andrew Tridgell
d27d34987c
autotest: added GliderPullup test
2024-09-10 10:15:34 +10:00
Andrew Tridgell
c0b89eccd1
Tools: added AP_PLANE_GLIDER_PULLUP_ENABLED feature
2024-09-10 10:15:34 +10:00
Andrew Tridgell
ae6376fcd6
autotest: added CommonOrigin test
...
test EK2 and EK3 common origin
2024-09-10 09:28:50 +10:00
Andy Piper
1ef89d31f2
autotest: static notch test
2024-09-09 09:29:32 +10:00
Peter Barker
1e8e250459
autotest: add test for ahrs-source.lua
2024-09-08 10:02:29 +10:00
Peter Barker
96fe3da083
autotest: assert that if a feature is supposed to be compiled in that it is
...
The biggest feature here is the massive whitelist. Many features can be marked as compiled-in but will be elided by the compiler as it isn't called anywhere. That's OK, but it does mean we can't check for its presence or absence based on symbols.
2024-09-08 00:55:43 +10:00
Peter Barker
7280ff3ffd
autotest: fix flapping TakeoffAuto3 test
2024-09-07 09:40:43 +10:00
Peter Barker
ab77509551
Tools: create and use WaitAndMaintainServoChannelValue
...
allows for checking for "maintain" on servo channel values
2024-09-07 09:40:43 +10:00
Peter Barker
d74050c5e3
autotest: tweak takeoff test names to avoid poor summary output
2024-09-07 00:14:21 +10:00
Ryan Friedman
c16fee3f47
Tools: ros2: Reformat
...
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2024-09-06 21:28:25 +10:00
Andrew Tridgell
1daf92e499
Tools: raise build time limit
...
our build is taking over 20hrs now, which means it gets killed and
restarted at 20 hours, and if another commit has come in it means that
AP_Periph may never get built at all
raise to 40 hrs
2024-09-06 14:47:05 +10:00
Peter Barker
bbdbf33c21
Tools: param_metadata: do not emit Legacy fields to rst/Wiki
2024-09-06 11:52:58 +10:00
Peter Barker
adcf5d3503
Tools: Do a CubeOrange build with EKF2 as part of CI
...
need to build at least one ChibiOS-based board to be sure we haven't killed things
2024-09-06 08:52:01 +10:00
jamming
2675e293ed
bootloaders: Add a new target Holybro DroneCAN-pmu
2024-09-06 08:50:20 +10:00
Peter Barker
f7e0b9cb89
Tools: size_compare_branches.py: blacklist build of Pixhack-V3 bootloader
...
we don't have a hwdef-bl.dat for this board as it uses a bootloader from elsewhere.
This should be done on the hwdef content, but that's still coming...
2024-09-06 08:48:30 +10:00
Andy Piper
8b5db8f233
IO_Firmware: update for disable channels
2024-09-04 18:34:10 +10:00
Andy Piper
e21e098aa9
IO_Firmware: update to support reversible motors
2024-09-04 18:34:10 +10:00
Peter Barker
4ff6f603b2
autotest: add --enable-fgview option
2024-09-04 14:42:02 +09:00
Фрыман
2a371077e3
Tools: sim_vehicle.py: Added --enable-fgview option in sim_vehicle.py (by @justin-slattery)
...
Co-authored-by: Peter Barker <pbarker@barker.dropbear.id.au>
2024-09-04 14:42:02 +09:00
Amr Elfeky
b450dc3346
Tools: added name to GIT_Success.txt
2024-09-04 14:41:40 +09:00
Andrii Fil
d802b0ec9a
Tools: support MAV_CMD_EXTERNAL_WIND_ESTIMATE
2024-09-04 10:14:45 +10:00
Kaori Uruga
8d672ca7f8
Tools: fixed airport parameters in Flight Gear shell scripts
2024-09-04 09:49:55 +10:00
Andrew Tridgell
2bb7d11501
Tools: rename bootloader for BotBloxDroneNet
2024-09-04 09:03:56 +10:00
Peter Barker
ed512eaabe
autotest: add test for logging restart after transfer complete
2024-09-03 11:01:24 +10:00
Andrew Tridgell
e934780a29
Tools: rebuild BotBloxSwitch bootloader
2024-09-03 10:41:58 +10:00
Randy Mackay
4bcb3952c3
Tools: siyi image and video download script
2024-09-03 10:15:07 +10:00
Peter Barker
a1ff3871f7
autotest: default test-build_options.py to CubeOrange
...
recent additions of CAN things to hwdef, and the lack of a hardware / lower-level dependency means we need to use something with CAN for now
2024-09-02 11:53:12 +10:00
Peter Barker
46170d7eaa
Tools: add EKF3 optical flow fusion to build options
2024-09-02 11:53:12 +10:00
Peter Barker
50dba896ca
autotest: AutoContinueOnRCFailsafe extend auto leg to avoid race
...
saw an instance where it made it to waypoint four before we registered the RC failsafe
2024-09-02 08:29:12 +10:00
Peter Barker
22caa52d58
Tools: build_options.py: OSD_PARAM does not required OSD to build
2024-09-01 13:39:49 +10:00
Peter Barker
f050ffa3da
autotest: correct and add to the extract_features table
...
depending on which vehicle we are compilin gfror some symbols may be elided by the compiler, so find other symbols which will work.
2024-09-01 13:39:49 +10:00
Peter Barker
3079ddd1b2
Tools: build_options.py: update feature define whitelist
...
two of these defines are no longer uses in the codebase, one can't be checked for because there's no symbol for it
2024-09-01 13:39:49 +10:00
Peter Barker
18e1a1f630
Tools: build_options.py: remove some baros from features
...
these are not probably - if they don't exist in a hwdef already then they can't be included in the build
2024-09-01 13:39:49 +10:00
Peter Barker
790287c1fa
Tools: build_options.py: correct some feature dependencies
2024-09-01 13:39:49 +10:00
Peter Barker
4700f09e7d
autotest: test_build_options.py: add --resume option
2024-09-01 12:58:50 +10:00
Peter Barker
1439aebf94
autotest: improve diagnostics when receiving unexpected mission ack
2024-08-31 08:16:42 +10:00
Peter Barker
6d844d8c79
autotest: test the simulated rangefinder driver
2024-08-30 11:19:14 +10:00
caijie
f8cbd29570
AP_Bootloader: reserve IDs for VIEWPRO
2024-08-30 07:51:02 +09:00
bugobliterator
0dbe9ed27f
bootloaders: update PPPGW bootloaders
2024-08-28 18:20:29 +10:00
bugobliterator
8222d65ebe
AP_Bootloader: make Content-Length handle case insensitive
2024-08-28 18:20:29 +10:00
George Zogopoulos
f7d40c0c73
autotest: Added TKOFF_THR_MIN test
2024-08-28 18:18:55 +10:00
hagerashraf
8d292def15
hwdef: reserve board Ids for DroneBuild boards
...
I added two new boards to the file, with 10 reserved IDs for DroneBuild drones' boards
2024-08-28 16:26:05 +10:00
CRazy
cc182c69e9
AP_Bootloader: ID reserve for HGLRCF405V4
2024-08-27 15:40:02 +10:00
Peter Barker
a8b7513287
Tools: build_options.py: sort IMU into single section
2024-08-27 12:00:47 +10:00
Peter Barker
bd987aa84b
Tools: add build option for batchsampler
...
also create an IMU category to hold IMU-specific options
2024-08-27 12:00:47 +10:00
Peter Barker
c3d89ed9d1
autotest: remove unused parameters from Blimp defaults file
2024-08-27 12:00:03 +10:00
Holden
045059580c
Tools: Translate Linux Mint Wilma to Noble
2024-08-27 11:59:53 +10:00