Commit Graph

65352 Commits

Author SHA1 Message Date
Ryan Friedman 963095978b Tools: Remove format.sh
* This is now replaced by run_astyle.py
* format.sh was not enforced by CI, now there is too much delta on the
  codebase to enforce this

Signed-off-by: Ryan Friedman <25047695+Ryanf55@users.noreply.github.com>
2024-11-09 09:55:10 +11:00
Ryan Friedman 875acec989 Tools: Fix incorrect astyle option
* It should be called add-braces not add-brackets
* https://astyle.sourceforge.net/astyle.html
* Running newer astyle fails on this option
* Enforcing it has no effect on existing astyle-formatted code

Signed-off-by: Ryan Friedman <25047695+Ryanf55@users.noreply.github.com>
2024-11-09 09:53:09 +11:00
Ryan Friedman 057215b719 Tools: Add wsproto to ubuntu python deps
* Used in pymavlink to add websocket output

Signed-off-by: Ryan Friedman <25047695+Ryanf55@users.noreply.github.com>
2024-11-09 09:52:28 +11:00
Rahul5277425 801dfa4266 AP_Bootloader: reserve board ids and range for Karshak Drones
This commit is to reserve the available board ids within the given range
2024-11-09 09:32:46 +11:00
Peter Barker 874d268aa6 Tools: add bebop to Python all-boards list 2024-11-08 16:00:10 +11:00
Peter Barker 02b0578a6a Tools: strip python2 support from size_compare_branches.py 2024-11-08 15:59:54 +11:00
Peter Barker 0d74bb1a76 SITL: correct MCP9600 simulation
- correctly fill data-ready register
 - adjust for different register configuration the driver shoves in
 - correct WHOAMI register length
 - correct 8-bit register reads in variable-length-register i2c simulation
2024-11-08 12:33:37 +11:00
Andrew Tridgell 0fa3086a93 HAL_QURT: added install script
copies so and frontend elf to vehicle
2024-11-08 12:02:45 +11:00
Mirko Denecke ebba4ac287 AP_Bootloader: Reserve ID range for TM IT-Systemhaus 2024-11-08 11:24:21 +11:00
tompsontan 4ce133dd27 hwdef:fixed board AP-H743v2 CAN pin definition. 2024-11-08 11:23:35 +11:00
Patrick José Pereira e4d92ecf9f Tools: ardupilotwaf: Print list of possible groups
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2024-11-08 10:55:38 +11:00
Ryan Friedman 215405023d ArduPlane: use set_alt_m when possible
Signed-off-by: Ryan Friedman <25047695+Ryanf55@users.noreply.github.com>
2024-11-08 10:54:39 +11:00
Ryan Friedman bf3da4396b AP_Follow: use set_alt_m when possible
Signed-off-by: Ryan Friedman <25047695+Ryanf55@users.noreply.github.com>
2024-11-08 10:54:39 +11:00
SakuraRC_Yang c709959f4a hwdef: SkySakura H743 fc Support
SkySakura H743 fc Support
2024-11-08 10:50:44 +11:00
paul.quillen a076e23cc3 Dockerfile: Added Micro-XRCE-DDS-GEN instal to Dockerfile. 2024-11-08 10:50:05 +11:00
muramura 10b2f17594 AP_DDS: Change the comparison of float value zero to IS_XXXX 2024-11-08 10:49:19 +11:00
Pierre Kancir b353765db1 .github: update actions/cache to v4 to remove node version warning
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3.
2024-11-08 10:48:44 +11:00
muramura 38484b49ee Copter: correct release notes 2024-11-08 10:48:15 +11:00
Thomas Watson dd270dac2e AP_Scripting: mount-djirs2: increase bus/mount setup flexibility
In particular allows the use of the gimbal using PROTOCOL2 attached to a
DroneCAN bus. ArduPilot 4.6 is recommended due to the timeout bug causing
message sends to fail regularly on 4.5.

Tested also that misconfiguring the CAN bus will result in the driver
failing to start, though the error message will be less specific.
2024-11-08 10:47:41 +11:00
Thomas Watson 1f0dff0178 AP_Scripting: mount-djirs2: filter out ignored packets
Allows using a smaller buffer and simplifying the script logic.
2024-11-08 10:47:41 +11:00
Thomas Watson afcc722995 AP_Scripting: mount-djirs2: re-enable lua checks and fix issues 2024-11-08 10:47:41 +11:00
Peter Barker 2d08d631de AP_Boootloader: board_types.txt: correct company name for V-UAV reservations 2024-11-08 10:46:56 +11:00
Peter Barker cc6b3cec5d hwdef: use V-UAV in place of VIEWPRO for link text 2024-11-08 10:46:32 +11:00
Andy Piper b17f7a5576 bootloaders: TBS LUCID H7 2024-11-07 14:33:38 +00:00
Andy Piper 01fc0744dc AP_HAL_ChibiOS: TBS LUCID H7 2024-11-07 14:33:38 +00:00
Peter Barker f0900bd119 AP_Camera: RunCam: get rpty channels directly using convenience functions 2024-11-06 18:40:38 +11:00
Peter Barker 70c277b759 AP_Logger: make logging_started const 2024-11-06 16:31:38 +09:00
Peter Barker e4859599cf Copter: stop using global ap variable as bitmask 2024-11-06 16:31:38 +09:00
Iampete1 2ba7516b0f AP_Scripting: applets: MissionSelector: add loaded print 2024-11-06 18:14:47 +11:00
Iampete1 d01ac70c16 AP_Scripting: Applets: MissionSelector: fix error on file open and checker errors 2024-11-06 18:14:47 +11:00
Randy Mackay 711d7c8493 Blimp: version to 4.7.0-dev 2024-11-06 18:13:45 +11:00
Randy Mackay 9cbf7250c1 Plane: version to 4.7.0-dev 2024-11-06 18:13:45 +11:00
Randy Mackay 84662207ee Copter: version to 4.7.0-dev 2024-11-06 18:13:45 +11:00
Randy Mackay 953cc9e475 Rover: version to 4.7.0-dev 2024-11-06 18:13:45 +11:00
Randy Mackay cd950d6e87 Tracker: version to 4.7.0-dev 2024-11-06 18:13:45 +11:00
Peter Barker 96bc2f5e57 GCS_MAVLink: use set_alt_m 2024-11-06 18:12:48 +11:00
Peter Barker 0077066ffb AP_Common: Location: add set_alt_m
we have get_alt_m already, and there's a bunch of places that *100
2024-11-06 18:12:48 +11:00
Richard Allen c0ee3b2216 AP_HAL: support port SITL to OpenBSD 2024-11-06 14:17:31 +11:00
Richard Allen 9696081a85 AP_Filesystem: support port SITL to OpenBSD 2024-11-06 14:17:31 +11:00
Richard Allen bc9e135d6f AP_HAL_SITL: support port SITL to OpenBSD 2024-11-06 14:17:31 +11:00
Andrew Tridgell 7f04c82994 AP_Scripting: added FlexDebug example 2024-11-05 17:03:23 +09:00
Andrew Tridgell 03de099452 AP_DroneCAN: support FlexDebug message 2024-11-05 17:03:23 +09:00
Andrew Tridgell 349ebde101 AP_Scripting: added support for FlexDebug message
allows lua to retrieve vendor specific data from CAN nodes
2024-11-05 17:03:23 +09:00
Andrew Tridgell e7bfd400e8 DroneCAN: update DSDL 2024-11-05 17:03:23 +09:00
James O'Shannessy 2892483ea1 AP_BattMonitor: Fix documentation generating incorrect parameter name
Without this, parameter names are generated as eg. 'BATT2__ARM_VOLT'
2024-11-05 10:05:01 +09:00
James O'Shannessy 753f9eedef AP_Periph: Fix documentation for INS parameters
Parameters are being generated as `INS_` as the group, so `INS_USE` is actually documented as `INS__USE` (not the double underscore).
2024-11-05 10:05:01 +09:00
Ryan Friedman 75af2d8cfb ArduPlane: use frame instead of bools for setting alt frame
* And switch to mavlink_coordinate_frame_to_location_alt_frame

Signed-off-by: Ryan Friedman <25047695+Ryanf55@users.noreply.github.com>
2024-11-05 09:42:32 +09:00
Frank0587 3aa2f51465 AP_RCTelemetry: Fix Baro and Vario values
Add the missing byte swapping for 16bit values
2024-11-05 09:36:51 +09:00
Peter Barker e232ccde7d AP_Bootloader: correct compilation when signing enabled
In file included from ../../libraries/AP_CheckFirmware/AP_CheckFirmware.cpp:13:
../../libraries/AP_CheckFirmware/../../Tools/AP_Bootloader/support.h:57:25: error: "CH_CFG_USE_HEAP" is not defined, evaluates to 0 [-Werror=undef]
   57 | #if defined(STM32H7) && CH_CFG_USE_HEAP
      |                         ^~~~~~~~~~~~~~~
compilation terminated due to -Wfatal-errors.
cc1plus: all warnings being treated as errors
2024-11-05 09:35:34 +09:00
Dr.-Ing. Amilcar do Carmo Lucas 12b761c534 AP_Scheduler: Use a range of values here because it is valid to do so.
Makes it easier for GUI applications to display this better and valudate the range
2024-11-05 09:25:59 +09:00