Commit Graph

8551 Commits

Author SHA1 Message Date
Andrew Tridgell
a7fba2ba5f waf: added AP_JSON to library list 2024-02-21 12:09:48 +11:00
Peter Barker
392aa8fd48 waf: remove richenpower special-case
we started to include this everywhere anyway
2024-02-20 19:35:50 +11:00
Peter Barker
56a73dedae autotest: adjust tests for new GPS messages 2024-02-20 19:35:01 +11:00
Andrew Tridgell
e9c59bf3ae autotest: fixed the 'X' frame 2024-02-19 14:30:13 +11:00
Andrew Tridgell
1d08662c72 autotest: fixed parameters for tilt quadplanes
and enable autotest of the disabled tilt quadplane frames
2024-02-18 16:28:43 +11:00
Jaaaky
9986fb9726 Tools: Add prerequisites install script for openSUSE Tumbleweed
Tried to make it as complete as compatible as possible with Ubuntu environment

Installing static libs for SITL_static
And gcc_arm-linux for Linux based boards
2024-02-17 08:56:49 +11:00
Andrew Tridgell
3668616c53 Tools: added -e to cygwin build
error if any part of build fails

also ensure cygwin build in CI is parallelised
2024-02-16 18:59:32 +11:00
Peter Barker
492bbe4830 Tools: remove HerePro
to be replaced by a HereProAP
2024-02-15 13:42:14 +11:00
Peter Barker
102ffd3aeb AP_Periph: don't send GPS messages if not compiled in 2024-02-15 12:17:07 +11:00
Randy Mackay
c449c71286 Tools: update AION R1 params 2024-02-14 18:56:47 +11:00
Rhys Mainwaring
e58dd0de73 Tools: ros2: add cmake options to ardupilot_sitl
- Add options for networking and PPP to match waf configure flags

Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2024-02-13 21:56:46 +11:00
Tiziano Fiorenzani
c864047c1f Tools: ardupilot_sitl launch file to include an out parameter for mavproxy 2024-02-13 13:20:35 +11:00
Richard Marko
04b46678a4 treewide: fix shebangs - /bin/bash -> /usr/bin/env bash
Most scripts/tools use non-portable `/bin/bash`, switch
to environment agnostic `/usr/bin/env bash`.
2024-02-13 11:36:23 +11:00
Peter Barker
bdb84181bc Tools: move logger object up to AP_Vehicle 2024-02-13 10:54:29 +11:00
Andrew Tridgell
74e742f2c6 Tools: rebuild peripheral bootloaders
fixes issue with RAM0 mismatch
2024-02-12 15:45:07 +11:00
Andrew Tridgell
7199ccacda AP_Bootloader: cope with RAM0_START not matching between bl and periph
this allows us to stay in bootloader based solely on RTC_BOOT_CANBL
without the RAM0 area matching between bootloader and periph fw

fixes an issue with current bootloaders where the old bl may not match
current RAM0 value
2024-02-12 15:45:07 +11:00
Andrew Tridgell
eaf40fbfb3 waf: help diagnose dronecangen errors 2024-02-11 16:48:52 +11:00
Andrew Tridgell
50332ab23f AP_Periph: check decode for DNA message 2024-02-11 16:48:52 +11:00
Peter Barker
e59d432281 autotest: change default board for test_build_options
rather more rpresentative of what people are likely to compile for
2024-02-11 11:04:38 +11:00
Peter Barker
81f2e15f8b Tools: add Gundaroo oval testing location 2024-02-10 20:56:09 +11:00
Peter Barker
0eb73c1db2 autotest: only check for PitotBlockage once vehicle is loitering
vehicle should be a in a steady state before we make the ratio change to synthesise a pitot blockage.

Otherwise, changes to the shape of the takeoff will affect the heuristics used to detect pitot blockage.
2024-02-10 20:56:00 +11:00
Peter Barker
2fe2c3b520 Tools: move RC bits in mavlink to common code
Plane's semantics change to be like Copter. Rover, Sub and Tracker will start reporting the bits
2024-02-10 11:46:44 +11:00
Peter Barker
1e7df560aa Revert "board_list.py: correct autobuild target name"
This reverts commit 039701b616.

This broken builds on the build server.  We should be correcting the other way anyway, from antennatracker -> tracker
2024-02-10 11:46:14 +11:00
anchitbhuhan
8c87d96f97 Tools: added name to GIT_Success.txt 2024-02-10 08:26:19 +09:00
Randy Mackay
022e8be735 Tools: update hexsoon-edu650 notch params 2024-02-08 11:11:18 +09:00
Randy Mackay
cbfb707dde Tools: rename hexsoon-edu650 param file 2024-02-08 11:11:18 +09:00
Randy Mackay
b3f518996f Tools: update hexsoon-edu650 params 2024-02-08 11:11:18 +09:00
Peter Barker
3124731691 board_types.txt: reserve 1410 for RadiolinkPIX6 2024-02-06 11:44:45 +11:00
Peter Barker
ecae3a462c Tools: param_parse.py: correct extraction of enum class in nested classes
It was putting AP_HAL::AnalogIn::PowerStatusFlag in AP_HAL::AnalogIn
2024-02-06 11:13:14 +11:00
Peter Barker
857547ba55 Tools: build_options.py: include fixed-yaw and in-flight learning options 2024-02-06 11:11:27 +11:00
Peter Barker
95661bb9bb waf: include piccolocan protocol directory in all libraries
with can_mgr in AP_Vehicle, eliding no longer works for the symbols generated from this directory, as *all* vehicles now get can, including the ones especially created in examples.  So now we include the symbols.
2024-02-06 11:03:54 +11:00
Peter Barker
cd1e1273fa Tools: size_compare_branches.py: correct pruning of threads 2024-02-01 14:27:36 +11:00
Peter Barker
039701b616 board_list.py: correct autobuild target name
this has to be the waf target name
2024-02-01 12:31:04 +11:00
David O'Connor
eaec73ca70 Tools: add AnyLeaf H7 board 2024-02-01 11:43:57 +11:00
Leonardo Garcia
5749bd5074 AP_HAL_ChibiOS: mRo KitCAN revC board fix
Add RM3100 reversal mask to deal with M10025C board changes.
2024-02-01 11:43:35 +11:00
Andrew Tridgell
cc5579823d Tools: added MatekH7A3 bootloader 2024-02-01 11:43:24 +11:00
Andrew Tridgell
065ef471e7 AP_Bootloader: fixed build with TEST_FLASH enabled 2024-02-01 11:43:24 +11:00
yjuav
8e71cf83cd hwdef: add YJUAV_A6Ultra board support 2024-02-01 11:29:11 +11:00
Andrew Tridgell
4e8cc6d5ab AP_Bootloader: fixed ECC check for single bank H7 2024-01-30 12:32:23 +11:00
Gone4Dirt
26bfedb956 AP_Periph: Send generic equipment temperature data 2024-01-30 10:13:35 +11:00
Andrew Tridgell
fd40b15e21 AP_Bootloader: added MatekH7A3 board type 2024-01-28 09:00:30 +11:00
Andrew Tridgell
f1566a481e AP_Bootloader: added board ID for BotBloxSwitch 2024-01-28 09:00:19 +11:00
Leonardo Garcia
13266ea1f3 Tools: Allocate ID for mRo KitCAN revC board 2024-01-27 10:33:50 +11:00
Andrew Tridgell
743b1262a0 waf: removed old UAVCAN defines 2024-01-25 11:44:02 +11:00
Thomas Watson
52468f0238 AP_ROMFS: fix buffer null terminator
Ensure buffer is properly null terminated without changing the indicated
size even for uncompressed data.
2024-01-25 11:24:31 +11:00
Thomas Watson
d13193150c AP_ROMFS: store size in file structure instead of compressed stream
Cleans up code.
2024-01-25 11:24:31 +11:00
Thomas Watson
d46cb3fd85 AP_ROMFS: embed raw DEFLATE streams
Saves size not including unnecessary headers or code to parse them.
2024-01-25 11:24:31 +11:00
Thomas Watson
5d37442f7c Tools/embed: drop py2 compat, necessary for future improvements 2024-01-25 11:24:31 +11:00
Peter Barker
d4cbb54e35 autotest: tidy setting of board type
splitting the string isn't pretty - just set two variables.
2024-01-24 18:42:18 +11:00
Peter Barker
113ada0524 Tools: use virtual method for GCS_MAVLink::handle_message
use more appropriate naming for the method.
2024-01-24 09:07:41 +11:00
J.R. Bronkar
3a3f4ea446 autotest: Fractional Loiter Turn Test 2024-01-22 20:27:20 -08:00
Andrew Tridgell
f6ff3b2fbb Tools: fixed incorrect param conversions 2024-01-23 15:00:30 +11:00
Andrew Tridgell
1341abc6b4 Tools: fixed name of pitch limit parameters 2024-01-23 15:00:30 +11:00
Andrew Tridgell
bf60a3b385 Tools: added convert_param_scale.py 2024-01-23 15:00:30 +11:00
Andrew Tridgell
7de56d434c Tools: fixed parameter names 2024-01-23 15:00:30 +11:00
Andrew Tridgell
eb492bd0aa autotest: fixed quadplane test 2024-01-23 15:00:30 +11:00
Andrew Tridgell
cfcd28bc8c Tools: convert Q_VELZ_MAX to Q_PILOT_SPD_UP 2024-01-23 15:00:30 +11:00
Andrew Tridgell
d9ee8113ee Tools: param conversion Q_LAND_SPEED -> Q_LAND_FINAL_SPD 2024-01-23 15:00:30 +11:00
Andrew Tridgell
af420746ee Tools: param file TRIM_PITCH_DEG to PTCH_TRIM_DEG 2024-01-23 15:00:30 +11:00
Andrew Tridgell
2f5cb42030 Tools: convert param files for LAND_PITCH_DEG 2024-01-23 15:00:30 +11:00
Andrew Tridgell
7a57ac640f Tools: convert param files LIM_ROLL_CD -> ROLL_LIMIT_DEG 2024-01-23 15:00:30 +11:00
Andrew Tridgell
badf8fabdd Tools: convert param files for pitch limits 2024-01-23 15:00:30 +11:00
Andrew Tridgell
a06b2d7328 Tools: param rename for CRUISE_ALT_FLOOR 2024-01-23 15:00:30 +11:00
Andrew Tridgell
e0cd06cc83 Tools: fixed name of TRIM_PITCH_DEG 2024-01-23 15:00:30 +11:00
Andrew Tridgell
286f6887bd Tools: convert ALT_HOLD_RTL and ALT_HOLD_FBWCM 2024-01-23 15:00:30 +11:00
Andrew Tridgell
863f25e645 Tools: convert ARSPD_FBW_MIN/MAX to AIRSPEED_MIN and AIRSPEED_MAX 2024-01-23 15:00:30 +11:00
Andrew Tridgell
4fea71246d Tools: change TRIM_ARSPD_CM to AIRSPEED_CRUISE 2024-01-23 15:00:30 +11:00
Tim Tuxworth
afc093a9b2 autotest: change default params from TRIM_PITCH_CD to TRIM_PITCH_DEG 2024-01-23 15:00:30 +11:00
Tim Tuxworth
48359344c5 Tools: update Frame_params for TRIM_PITCH_DEG 2024-01-23 15:00:30 +11:00
Peter Barker
b35431beb5 Tools: build_options.py: add option for HAL_LOGGING_ENABLED 2024-01-23 11:55:49 +11:00
Peter Barker
49c3f668de Tools: rename COMPASS_TYPEMASK to COMPASS_DISBLMSK
this is a very confusingly named parameter.  I've seen several instances of people treating this as an enable mask rather than a disable mask
2024-01-23 11:54:49 +11:00
David O'Connor
0c943cac58 Tools : reverse board ID 1146 for AnyleafH7 2024-01-21 18:58:45 +00:00
Simon Hancock
098a53e318 Tools: Updates to log message units and help text
parse.py: Remove lone bullet points rendered on replay messages
enum_parse.py: Tweak regex on enum parser to handle comments like: "FRED = 10, ///< text"
2024-01-21 14:26:54 +11:00
MallikarjunSE
101bc7c3a7 Tools: Add TrueNavPro-G4 bootloader 2024-01-21 13:10:10 +11:00
MallikarjunSE
8be6f1b57e Tools: add TrueNavIC bootloader 2024-01-21 13:10:10 +11:00
Andrew Tridgell
2f71e023db AP_Bootloader: added cleanup of web server threads 2024-01-21 12:30:08 +11:00
Andrew Tridgell
3e35773c8a Tools: added bootloader for PPPGW targets 2024-01-21 12:30:08 +11:00
Andrew Tridgell
9bb29aec36 AP_Periph: ensure no external flash in periph
bootloader protocol cannot support it in its current form
2024-01-21 12:30:08 +11:00
Andrew Tridgell
9bf5842ab2 AP_Bootloader: rename web request thread 2024-01-21 12:30:08 +11:00
Andrew Tridgell
ae031c4f3f AP_Bootloader: prevent external flash in DroneCAN bootloader 2024-01-21 12:30:08 +11:00
Andrew Tridgell
335ed9ebf1 AP_Bootloader: save a few bytes of flash 2024-01-21 12:30:08 +11:00
Andrew Tridgell
1bf1689f2f AP_Bootloader: only erase the number of sectors we need 2024-01-21 12:30:08 +11:00
Andrew Tridgell
286b52e2cd AP_Bootloader: added bl network status to CAN 2024-01-21 12:30:08 +11:00
Andrew Tridgell
b8e14c166f AP_Periph: fixed SITL build 2024-01-21 12:30:08 +11:00
Andrew Tridgell
e18abc3a9b AP_Bootloader: added progress and status to fw upload 2024-01-21 12:30:08 +11:00
Andrew Tridgell
29876f649a AP_Bootloader: added reboot button 2024-01-21 12:30:08 +11:00
Andrew Tridgell
1bee4630cc AP_Bootloader: show IP as CAN debug msg in bootloader
this also saves a few bytes of flash for normal periph bootloader
2024-01-21 12:30:08 +11:00
Andrew Tridgell
38d7af450f AP_Periph: prevent wrap of free memory in VSSC 2024-01-21 12:30:08 +11:00
Andrew Tridgell
212bde0b61 AP_Bootloader: use IP address from periph if available 2024-01-21 12:30:08 +11:00
Andrew Tridgell
ec9a8d7167 waf: CubePilot-PPPGW needs fiprintf 2024-01-21 12:30:08 +11:00
Andrew Tridgell
771e4be86d AP_Bootloader: added CubeRed Periph board ID 2024-01-21 12:30:08 +11:00
Andrew Tridgell
9904dca558 AP_Periph: added reboot link to web UI 2024-01-21 12:30:08 +11:00
Andrew Tridgell
7c711d7525 AP_Bootloader: added option web interface to the bootloader
for loading firmware via ethernet
2024-01-21 12:30:08 +11:00
Andrew Tridgell
59fe2c9d4e AP_Periph: added reboot for scripting 2024-01-21 12:30:08 +11:00
Andrew Tridgell
46f65aec4e AP_Periph: moved web UI script to Tools/AP_Periph
for use in multiple boards
2024-01-21 12:30:08 +11:00
Andrew Tridgell
ebe7fc23b3 Tools: build a web enabled bootloader in CI 2024-01-21 12:30:08 +11:00
Henry Wurzburg
1bac278a38 Tools: add button build server option 2024-01-21 11:51:47 +11:00
Andrew Tridgell
2e9a43d781 AP_Bootloader: reverse an ID for Tulip Battery monitor 2024-01-20 11:50:31 +11:00
Andrew Tridgell
fb26452b8d Tools: added linux boards to build sizes web page 2024-01-19 11:41:02 +11:00
Peter Barker
a1fe322f46 Tools: param_parse.py: stop emitting field text in JSON output 2024-01-17 18:33:25 +11:00