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
Alexis Guijarro
c058fb0c19
AP_Bootloader: Reserve a board ID for 3DR-ASAUAV
2024-09-24 22:49:04 +10:00
Henry Wurzburg
dc0984cd65
AP_Bootloader:reserve bd id for Mugin MUPilot
2024-09-24 12:34:56 +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
fd2fd70a8a
Rover: correct initialisation of PrecLand buffers
...
this value determines the size of buffers allocated.
Too high and you waste RAM. Too low and you probably won't store data correctly.
2024-09-24 10:56:57 +09:00
Peter Barker
dc0941ac09
ArduPlane: correct initialisation of PrecLand buffers
...
this value determines the size of buffers allocated.
Too high and you waste RAM. Too low and you probably won't store data correctly.
2024-09-24 10:56:57 +09:00
Peter Barker
8e9de04221
ArduCopter: correct initialisation of PrecLand buffers
...
this value determines the size of buffers allocated.
Too high and you waste RAM. Too low and you probably won't store data correctly.
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
77067edd91
Plane: correct the ability to disable the takeoff atititude checks
2024-09-24 11:50:17 +10:00
Peter Barker
29a35baf48
AP_Bootloader: add request to fill gaps rather than add to end
...
the gap between 7,109 and 10,000 may be useful for reserving a range for some other function in the future. We have vast numbers of IDs in gaps which should be filled instead.
2024-09-24 11:47:41 +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
Iampete1
20cd9e523c
Copter: add and use new `afs_mode` mode method
2024-09-24 09:45:01 +09:00
caijie
1ab778cc6f
Tools: add VUAV-V7pro
2024-09-24 10:07:39 +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
Peter Barker
6e760a2b94
Copter: mode_auto: remove more code based on defines
...
Co-authored-by: murata <ma2maru@gmail.com>
2024-09-24 09:26:31 +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
ARg
04ee66bec4
Tools/environment_install: print how to activate venv if not default
2024-09-23 19:24:33 +10:00
Clyde McQueen
8b37100772
autotest: large outliers in sub terrain test have low sq
2024-09-23 19:14:34 +10:00
Thomas Watson
95fb9bd533
Rover: only send airspeed when enabled
...
Avoids debug message spam about sending an unknown message.
2024-09-23 18:53:27 +10:00
Thomas Watson
b9dcd5949d
Blimp: only send airspeed when enabled
...
Avoids debug message spam about sending an unknown message.
2024-09-23 18:53:27 +10:00
Thomas Watson
1a08590bb1
ArduSub: only send airspeed when enabled
...
Avoids debug message spam about sending an unknown message.
2024-09-23 18:53:27 +10:00
Thomas Watson
1d4c181d17
ArduPlane: only send airspeed when enabled
...
Avoids debug message spam about sending an unknown message.
2024-09-23 18:53:27 +10:00
Thomas Watson
873fe1df82
ArduCopter: only send airspeed when enabled
...
Avoids debug message spam about sending an unknown message.
2024-09-23 18:53:27 +10:00
Thomas Watson
299d3a6a06
AntennaTracker: only send airspeed when enabled
...
Avoids debug message spam about sending an unknown message.
2024-09-23 18:53:27 +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
Peter Barker
83c9b32093
AP_Scripting: add bindings for the AP_TemperatureSensor
2024-09-22 20:34:33 +10:00
muramura
0020cf5fe8
AP_Compass: Add existing devices
2024-09-22 10:11:50 +10:00