Commit Graph

37105 Commits

Author SHA1 Message Date
Peter Barker 3d4b57cd4a AP_HAL_QURT: re-order initialiser lines so -Werror=reorder will work 2024-09-24 22:50:28 +10:00
Peter Barker 27df5e0479 AP_HAL_Linux: re-order initialiser lines so -Werror=reorder will work 2024-09-24 22:50:28 +10:00
Peter Barker cc9279713a AP_HAL_ESP32: re-order initialiser lines so -Werror=reorder will work 2024-09-24 22:50:28 +10:00
Peter Barker ebe9a75a66 SITL: re-order initialiser lines so -Werror=reorder will work 2024-09-24 22:50:28 +10:00
Peter Barker 68e003fd74 AP_Baro: re-order initialiser lines so -Werror=reorder will work 2024-09-24 22:50:28 +10:00
Peter Barker a40b3879fb AC_CustomControl: re-order initialiser lines so -Werror=reorder will work 2024-09-24 22:50:28 +10:00
Peter Barker a0978d9d0a AR_WPNav: re-order initialiser lines so -Werror=reorder will work 2024-09-24 22:50:28 +10:00
Peter Barker 2447be861e AP_SurfaceDistance: re-order initialiser lines so -Werror=reorder will work 2024-09-24 22:50:28 +10:00
Peter Barker bb9a0a5b2f AP_Scripting: re-order initialiser lines so -Werror=reorder will work 2024-09-24 22:50:28 +10:00
Peter Barker 1ce391c6e8 AP_RCTelemetry: re-order initialiser lines so -Werror=reorder will work 2024-09-24 22:50:28 +10:00
Peter Barker 87fa7a208d AP_RCProtocol: re-order initialiser lines so -Werror=reorder will work 2024-09-24 22:50:28 +10:00
Peter Barker 53c50b6bc7 AP_NavEKF3: re-order initialiser lines so -Werror=reorder will work 2024-09-24 22:50:28 +10:00
Peter Barker 8bd1f49a04 AP_NavEKF2: re-order initialiser lines so -Werror=reorder will work 2024-09-24 22:50:28 +10:00
Peter Barker 5f5fb40753 AP_Motors: re-order initialiser lines so -Werror=reorder will work 2024-09-24 22:50:28 +10:00
Peter Barker 7147a2deeb AP_InertialSensor: re-order initialiser lines so -Werror=reorder will work 2024-09-24 22:50:28 +10:00
Peter Barker 5a967a60ff AP_HAL: re-order initialiser lines so -Werror=reorder will work 2024-09-24 22:50:28 +10:00
Peter Barker 8b9154d115 AP_HAL_ChibiOS: re-order initialiser lines so -Werror=reorder will work 2024-09-24 22:50:28 +10:00
Peter Barker 2ddec1f9f4 AP_Frsky_Telem: re-order initialiser lines so -Werror=reorder will work 2024-09-24 22:50:28 +10:00
Peter Barker 291a1ced88 AP_ExternalAHRS: re-order initialiser lines so -Werror=reorder will work 2024-09-24 22:50:28 +10:00
Peter Barker 3a9f1c1f37 AP_DroneCAN: re-order initialiser lines so -Werror=reorder will work 2024-09-24 22:50:28 +10:00
Peter Barker a29dca996e AP_Compass: re-order initialiser lines so -Werror=reorder will work 2024-09-24 22:50:28 +10:00
Peter Barker b54c424842 AP_Camera: re-order initialiser lines so -Werror=reorder will work 2024-09-24 22:50:28 +10:00
Peter Barker 8290f15f2d AP_AHRS: re-order initialiser lines so -Werror=reorder will work 2024-09-24 22:50:28 +10:00
Peter Barker aaec6824f6 AP_ADSB: re-order initialiser lines so -Werror=reorder will work 2024-09-24 22:50:28 +10:00
Peter Barker 6209f31d30 AC_PID: re-order initialiser lines so -Werror=reorder will work 2024-09-24 22:50:28 +10:00
Peter Barker 2c150f42bf AC_Avoidance: re-order initialiser lines so -Werror=reorder will work 2024-09-24 22:50:28 +10:00
Peter Barker b480416c3d AC_AttitudeControl: re-order initialiser lines so -Werror=reorder will work 2024-09-24 22:50:28 +10:00
Rhys Mainwaring a75b8a9269 AP_DDS: add params for ping timeout and max retries
Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2024-09-24 22:49:49 +10:00
Thomas Watson 5f4a6dc2fb AP_HAL_ChibiOS: remove dependency on tmpnam
tmpnam is never linked and not necessary, and naming it/redefining it
introduces problems on platforms that do have a definition.
2024-09-24 22:49:18 +10:00
Thomas Watson 380d8ca6fc AP_Filesystem: remove dependency on tmpnam
tmpnam is never linked and not necessary, and naming it/redefining it
introduces problems on platforms that do have a definition.
2024-09-24 22:49:18 +10:00
Thomas Watson 8b63488431 AP_Scripting: remove dependency on tmpnam
tmpnam is never linked and not necessary, and naming it/redefining it
introduces problems on platforms that do have a definition.
2024-09-24 22:49:18 +10:00
Peter Barker 75073427a6 AP_SerialManager: avoid use of AP_HAL.h in config file
too easy to create loops with this
2024-09-24 11:59:13 +10:00
Peter Barker 82ac0ead72 AP_Terrain: create and use AP_Terrain_config.h 2024-09-24 11:59:13 +10:00
Peter Barker 4b1e1871c9 AP_Mount: create and use AP_Terrain_config.h 2024-09-24 11:59:13 +10:00
Peter Barker a8cc071d62 AP_Filesystem: rearrange to put mission filesystem last
We're developing loops in our config files, move include to after base FILESYSTEM_READING/FILESYSTEM_WRITING defines
2024-09-24 11:59:13 +10:00
Peter Barker ee830355d2 AC_PrecLand: remove assumption about how precland update method is called
this method may not be being called from the scheduler table.  Have the callers pass in a true value instead
2024-09-24 10:56:57 +09:00
Peter Barker 3e1ad5dab6 AP_Compass: use memcmp to check whoami result code from HMC5843 device
Co-authored-by: muramura <ma2maru@gmail.com>
2024-09-24 11:52:47 +10:00
Peter Barker 9784e28148 AP_WheelEncoder: correct initialisation of WheelRateController objects
the existing constructer sets a slew rate limit to 0.2

This is essentially a missing patch from a previous series of PRs which moved dt from being a member variable to being passed into the update call for the PID
2024-09-24 10:46:34 +09:00
Peter Barker 17f501eea5 AC_PID: AC_HELI_PID: override the AC_PID::Default constructor
in place of the existing ordered-fields constructor
2024-09-24 11:43:20 +10:00
Peter Barker 4663382b01 AC_AttitudeControl: use AC_PID defaults to tidy heli rate PID initialisation
makes it look like the Copter initialisation - ie. legible
2024-09-24 11:43:20 +10:00
Peter Barker 6a74a97bf7 AC_AttitudeControl: use AC_PID defaults to tidy rate Sub PID initialisation
makes it look like multi ie. legible
2024-09-24 11:36:38 +10:00
bugobliterator 4d7b94c3cb AP_DroneCAN: Fix constructor initialization order
bad ordering was leading to dronecan dna server getting initialised before canard interface is initialised leading
2024-09-24 11:29:34 +10:00
caijie 42c82f6c5d AP_HAL_ChibiOS: add VUAV-V7pro 2024-09-24 10:07:39 +10:00
Peter Barker 1d91962b96 AP_GPS: move initialisation of some members into header 2024-09-24 09:30:05 +10:00
ARg eb283ce607 SITL: correctly cast types for MegaSquirt error format string
`uint32_t` is `unsigned long int`, not `unsigned int`.
2024-09-24 09:00:29 +10:00
ARg 8204ff4d7c AP_Filesystem: fix esp32 function datatypes
Make them match the superclass and the header file.
2024-09-24 09:00:29 +10:00
Andrew Tridgell 89c2b48286 AP_CANManager: ensure we only remove our own fwd registrations
keep a record of which bus we have registered a callback for and only
unregister with that bus. This prevents us unregistering a multicast
callback when disconnecting from MAVCAN
2024-09-23 21:01:22 +10:00
Andrew Tridgell b98c7c5296 AP_CANManager: fixed de-registering CAN forwarding
this prevented MissionPlanner MAVCAN UI from working reliably as the
CANManager could think we are registered when we are not
2024-09-23 21:01:22 +10:00
Clyde McQueen 8b37100772 autotest: large outliers in sub terrain test have low sq 2024-09-23 19:14:34 +10:00
Peter Barker 44c1e9b896 AP_TemperatureSensor: allow AP_TEMPERATURE_SENSOR_DUMMY_METHODS_ENABLED to be overridden 2024-09-22 20:34:33 +10:00