Commit Graph

61331 Commits

Author SHA1 Message Date
Randy Mackay befd601341 Tracker: SYSID_MYGCS param increment 2023-11-28 07:54:45 +09:00
Randy Mackay d673cddf26 Copter: SYSID_MYGCS param increment 2023-11-28 07:54:45 +09:00
Randy Mackay 93a2e728da Plane: SYSID_MYGCS param increment 2023-11-28 07:54:45 +09:00
Randy Mackay 9839652588 Sub: SYSID_MYGCS param increment
Also add range
2023-11-28 07:54:45 +09:00
Randy Mackay f435632a35 Blimp: SYSID_MYGCS param increment 2023-11-28 07:54:45 +09:00
Randy Mackay fc2ba985bb Rover: SYSID_MYGCS param increment 2023-11-28 07:54:45 +09:00
Randy Mackay cb1c912edf Rover: circle mode aux function support 2023-11-28 07:54:45 +09:00
Randy Mackay 46f4e6e33a RC_Channel: Rover circle mode aux function param desc 2023-11-28 07:54:45 +09:00
Randy Mackay 2d89f835e5 AR_PosControl: fix PSC_VEL_I param range 2023-11-28 07:54:45 +09:00
Randy Mackay 48825c9cc6 Copter: minor format fixes 2023-11-28 07:46:33 +09:00
Andrew Tridgell fcb3d40ffd Tools: sort serial ports for uploader
this ensures that the first port on linux is used, the 2nd port may
not have mavlink enabled
2023-11-27 13:33:27 -08:00
Thomas Watson 87fef1ae5d AP_HAL_ChibiOS: use get_HAL_mutable() to install new CAN interfaces
Avoids dubious extern redefinition.
2023-11-28 08:24:25 +11:00
Thomas Watson 008c0baf5f AP_DroneCAN_sniffer: use get_HAL_mutable() to install new CAN interface
Avoids dubious const_casting.
2023-11-28 08:24:25 +11:00
Thomas Watson de26095c58 AP_CANManager: use get_HAL_mutable() to install new CAN interfaces
Avoids dubious const_casting.
2023-11-28 08:24:25 +11:00
Thomas Watson 3c82ac6043 AP_HAL_SITL: introduce get_HAL_mutable() to complement get_HAL()
Returns a mutable reference to the same HAL for certain purposes where
the HAL needs to be mutated to avoid UB problems with casting away const
and to make the fact that mutation is happening obvious.
2023-11-28 08:24:25 +11:00
Thomas Watson 8fe95dca81 AP_HAL_Linux: introduce get_HAL_mutable() to complement get_HAL()
Returns a mutable reference to the same HAL for certain purposes where
the HAL needs to be mutated to avoid UB problems with casting away const
and to make the fact that mutation is happening obvious.
2023-11-28 08:24:25 +11:00
Thomas Watson db12f428c5 AP_HAL_Empty: introduce get_HAL_mutable() to complement get_HAL()
Returns a mutable reference to the same HAL for certain purposes where
the HAL needs to be mutated to avoid UB problems with casting away const
and to make the fact that mutation is happening obvious.
2023-11-28 08:24:25 +11:00
Thomas Watson 2dbf5aefb3 AP_HAL_ESP32: introduce get_HAL_mutable() to complement get_HAL()
Returns a mutable reference to the same HAL for certain purposes where
the HAL needs to be mutated to avoid UB problems with casting away const
and to make the fact that mutation is happening obvious.
2023-11-28 08:24:25 +11:00
Thomas Watson a9ddadee3b AP_HAL_ChibiOS: introduce get_HAL_mutable() to complement get_HAL()
Returns a mutable reference to the same HAL for certain purposes where
the HAL needs to be mutated to avoid UB problems with casting away const
and to make the fact that mutation is happening obvious.
2023-11-28 08:24:25 +11:00
Thomas Watson dc76e03890 AP_HAL: introduce get_HAL_mutable() to complement get_HAL()
Returns a mutable reference to the same HAL for certain purposes where
the HAL needs to be mutated to avoid UB problems with casting away const
and to make the fact that mutation is happening obvious.
2023-11-28 08:24:25 +11:00
Andrew Tridgell c48feefe23 AP_BattMonitor: fixed battery percentage with aux info
when we have aux battery information we had assumed the CAN device
would provide the battery remaining percentage. We should obey the "do
not use CAN SoC" with or without an AUX message

This fixes CAN battery monitors with a cell monitor
2023-11-27 13:02:46 +11:00
Stephen Dade 73eb3b0590 AR_Motors: Add prearm check for no outputs 2023-11-27 08:31:31 +09:00
Peter Barker 5f1f3e5519 waf: keep EKF2 enabled in SITL
just because we don't compile this in doesn't mean we shouldn't continue to test it
2023-11-27 09:05:08 +11:00
Peter Barker aa9bbd0fcb waf: invert ekf2-disable command-line option 2023-11-27 09:05:08 +11:00
Peter Barker f40250c073 AP_AHRS: compile EKF2 out by default on all boards 2023-11-27 09:05:08 +11:00
Peter Barker a84e9e8e6c Copter: don't send WINCH_STATUS message if winch not enabled 2023-11-26 20:59:14 +09:00
Tom Pittenger 6dcaf94c3d AP_BattMon: add AP_BATTERY_WATT_MAX_ENABLED 2023-11-26 11:57:14 +11:00
Tom Pittenger b468af81ac Plane: wrap Watt Limiiter in #if AP_BATTERY_WATT_MAX_ENABLED 2023-11-26 11:57:14 +11:00
Tom Pittenger 496125a8cb Tools: add AP_BATTERY_WATT_MAX_ENABLED to docs 2023-11-26 11:57:14 +11:00
Tom Pittenger 1f7b4d0938 AP_HAL_ChibiOS: set AP_BATTERY_WATT_MAX_ENABLED 0 for minimize 2023-11-26 11:57:14 +11:00
Tom Pittenger cd6a656acf AP_HAL_ChibiOS: set AP_BATTERY_WATT_MAX_ENABLED 0 for periph 2023-11-26 11:57:14 +11:00
Tom Pittenger f870b63851 AP_Periph: move Network Passthrough to it's own file 2023-11-26 11:28:57 +11:00
Tom Pittenger 0b60777db6 AP_Periph: add Networking-UART passthrough 2023-11-26 11:28:57 +11:00
Tom Pittenger 8ab3ad2777 AP_Networking: add support for AP_Periph 2023-11-26 11:28:57 +11:00
Andrew Tridgell afc112295c Tools: allow networking in SITL periph 2023-11-26 11:28:57 +11:00
Tom Pittenger e8c852f0d4 AP_HAL: Allow APMSockets to autodetect Broadcast IPs 2023-11-25 16:28:07 -08:00
Ryan Friedman bf6bd3a023 .github: Enable colcon tests in DDS CI
* Use checkout v4 to pull in ArduPilot into a subdir first
* Enable console cohesion during test since JUnit reporting is out of
  scope
* Install mavproxy separately as needed, alternative to --console
* Hide wget progress
* Install local pymavlink

Co-authored-by: Pierre Kancir <khancyr@gmail.com>
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-11-26 10:36:20 +11:00
Ryan Friedman 07cfd14828 Tools: remove enable-networking
* This flag was already removed, but the flags were left around

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-11-26 10:36:20 +11:00
olliw42 8f9df5a62e AP_Arming: Reduce response time when checks go from true to false 2023-11-25 14:59:04 -08:00
Ryan Friedman 4ffcc56cdb .git-blame-ignore-revs: Ignore black format change
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-11-25 13:49:05 -08:00
yjuav 8d4611f22f AP_Bootloader: reserve board id for YJUAV_A6Ultra 2023-11-25 13:47:52 -08:00
Peter Barker 27f836b66e hwdef: correct ARK_CANNODE compilation
this was turning SPI on when there aren't any devices...
2023-11-25 13:47:13 -08:00
alexklimaj ddba794420 hwdef: ark_rtk_gps fix safety led 2023-11-25 13:45:56 -08:00
Andrew Tridgell ee592476ce AP_HAL: implement multicast for UDP sockets 2023-11-25 12:19:43 -08:00
Andrew Tridgell 3f76a55275 ChibiOS: submodule update
fixed multicast receive and update lwip to 2.2.0
2023-11-25 12:19:43 -08:00
Andrew Tridgell 68e2bb1f15 AP_Networking: enable receive of multicast packets 2023-11-25 12:19:43 -08:00
Andrew Tridgell 58cf4f65a9 HAL_SITL: use SocketAPM for CAN multicast and SITL_Periph state 2023-11-25 12:19:43 -08:00
Ryan Friedman ea237724c7 Tools: autotest: Fix junit printing for double str
* Can't concetenate a double to a string without fstring or a type
  change

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-11-24 18:08:53 +11:00
Andy Piper 8718261f27 AP_Periph: add CAN_TERMINATE for software driven termination 2023-11-23 12:18:29 -08:00
Peter Barker a8e2908e8b autotest: build AP_Periph parameters in autotest 2023-11-23 12:17:49 -08:00