Andrew Tridgell
f345d94e91
GCS_MAVLink: increase max mavlink connections when networking enabled
2023-11-28 12:18:55 +11:00
Andrew Tridgell
f471732aad
HAL_ChibiOS: enable SO_REUSEADDR
2023-11-28 12:18:55 +11:00
Andrew Tridgell
0659ab8ef4
HAL_ChibiOS: increase max TCP resources
2023-11-28 12:18:55 +11:00
Andrew Tridgell
a05acfc090
AP_HAL: added last_recv_address() with supplied buffer
...
this prevents a race condition with a static string
2023-11-28 12:18:55 +11:00
Ryan Friedman
be668ddc1b
AP_ExternalAHRS: Clarify public interface design intent
...
* Discussions with Tridge on design intent for these accessors
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-11-28 11:48:22 +11:00
Henry Wurzburg
d9d5e91110
hwdef: update SDH7V1 readme
2023-11-28 11:47:32 +11:00
Andrew Tridgell
ad59f6db01
AP_DroneCAN: support an aux 11 bit protocol with DroneCAN
2023-11-28 11:38:16 +11:00
Andrew Tridgell
d17a1ca7bc
AP_CANManager: support CAN_Dn_PROTOCOL2 for an aux 11 bit protocol
2023-11-28 11:38:16 +11:00
Iampete1
d626928e0c
SITL: SIM IntelligentEnergy24: add error string to V2 protocol
2023-11-28 11:27:14 +11:00
Iampete1
a00b6b6f86
AP_Gernerator: FuelCell: rework error check to give error cleared msg
2023-11-28 11:27:14 +11:00
Iampete1
3b3c94ea07
AP_Generator: IE_2400: update low and critial error ranges for V2 protocol
2023-11-28 11:27:14 +11:00
Gone4Dirt
ab5d28073d
SITL: Add V2 telemetry protocol to IE24 fuel cell
2023-11-28 11:27:14 +11:00
Iampete1
36dd720e78
AP_Generator: IE 2400: fix V2 low and critical errors and add warnings
2023-11-28 11:27:14 +11:00
Iampete1
c91407d662
AP_Generator: IE 2400: only return custom msg if error is critial or low severity
2023-11-28 11:27:14 +11:00
Iampete1
c861e15853
AP_Gernerator: IE_2400: lengthen message buffer and print error num
2023-11-28 11:27:14 +11:00
Iampete1
90f7ed3410
AP_Generator: Add support for IE V2 protocol
2023-11-28 11:27:14 +11:00
Iampete1
daf8aeeadc
AP_Param: check dynamic param tables are avalable before adding a param
2023-11-28 11:22:43 +11:00
Michael du Breuil
772dbfb04f
AP_GPS: SBF supports yaw from dual antennas
...
Co-authored-by: Andrew Tridgell <andrew@tridgell.net>
Co-authored-by: Randy Mackay <rmackay9@yahoo.com>
2023-11-28 11:17:51 +11:00
daniel.li
e6b7daa323
AP_HAL_ChibiOS: Add Aocoda-RC-H743Dual target
2023-11-28 10:29:23 +11: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
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
f40250c073
AP_AHRS: compile EKF2 out by default on all boards
2023-11-27 09:05:08 +11:00
Tom Pittenger
6dcaf94c3d
AP_BattMon: add AP_BATTERY_WATT_MAX_ENABLED
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
8ab3ad2777
AP_Networking: add support for AP_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
olliw42
8f9df5a62e
AP_Arming: Reduce response time when checks go from true to false
2023-11-25 14:59:04 -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
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
14aeb831fb
AP_DDS: Add instructions for running HW test
...
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-11-22 21:44:35 -08:00
bugobliterator
4b61b3d64e
AP_Stats: initialise parameter defaults
2023-11-22 21:43:00 -08:00
Tom Pittenger
b5e2f9aa0a
AP_Scripting: change some _INFO msgs to _CRITICAL/ERROR
2023-11-22 00:07:05 -08:00
Pierre Kancir
d98a400d9e
AP_Logger: Prepare the maximum number of log files in the config parameter
2023-11-22 18:35:21 +11:00
Peter Barker
e9fc99b1bf
AP_HAL_ChibiOS: base HAL_USE_SPI on devices not buses
...
fixes compilation problem with gcc 10.3
../../libraries/AP_HAL_ChibiOS/SPIDevice.cpp: In static member function 'static void ChibiOS::SPIDeviceManager::__static_initialization_and_destruction_0(int, int)':
../../libraries/AP_HAL_ChibiOS/SPIDevice.cpp:76:18: error: statement has no effect [-Werror=unused-value]
76 | ChibiOS::SPIDesc SPIDeviceManager::device_table[] = { HAL_SPI_DEVICE_LIST };
| ^~~~~~~~~~~~~~~~
compilation terminated due to -Wfatal-errors.
cc1plus: some warnings being treated as errors
2023-11-22 18:14:00 +11:00
Andrew Tridgell
f30ac4052c
HAL_SITL: added SERIAL4 as UDP output for SITL periph
2023-11-22 17:19:12 +11:00