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
Iampete1
a72182ae97
Copter: don't pass `channel_yaw->norm_input_dz()` into `get_pilot_desired_yaw_rate`
2024-09-22 08:40:12 +09:00
muramura
cb1a156987
Replay: Declare the type of the loop variable and consolidate the processing
2024-09-21 18:10:12 +10:00
Peter Barker
863c3d3140
Tools: build_options.py: add AP_BATTERY_SUM_ENABLED option
2024-09-21 15:28:42 +10:00
cuav-chen2
29176ebabd
Tools: Add in BMM350 Driver
2024-09-21 10:08:36 +10:00
cuav-chen2
89a4571c58
AP_Compass: Add in BMM350 Driver
2024-09-21 10:08:36 +10:00
AwkAmr
8f4f20dc32
Tools: added name to GIT_Success.txt
...
Added name.
2024-09-21 10:07:49 +10:00
bugobliterator
7513281f65
AP_Scripting: add bindings get/set full mode for GPIO
...
allows setting alternate pin modes pin drive strengths etc.
2024-09-21 10:07:30 +10:00
Tom Pittenger
810e51be0d
AP_Bootloader: reserve new board ID for FlysparkF4
2024-09-21 08:36:58 +10:00
muramura
0e72fc7bd2
Replay: Change NULL to nullptr
2024-09-20 10:38:56 +10:00
muramura
36dcadf652
Replay: Change to a Boolean value
2024-09-20 09:20:12 +10:00
Peter Barker
fb5c337328
AP_TemperatureSensor: specify units (degC) in comment for get_temperature
2024-09-19 12:37:50 -05:00
Rahul
7d907e9798
AP_TemperatureSensor: new MLX90614 sensor backend driver conversion fix
2024-09-19 22:29:24 +10:00
Gone4Dirt
4eba87d040
Blimp: Remove previous flight mode
2024-09-19 19:11:09 +09:00
Naveen Kumar
3dea20e5d6
Tools: added name to GIT_Success.txt
2024-09-19 19:10:20 +09:00
Ryan Friedman
aecb3268c7
AP_DDS: Correct compilation of tests without external odom
...
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2024-09-19 11:45:15 +10:00
muramura
c0d14ec397
GCS_MAVLink: Add conditions and delete the same processing
2024-09-19 11:44:57 +10:00
Oleksiy Protas
231eebe553
AntennaTracker: refuse to track (0;0)
...
This prevents erratic movements if the vehicle's GPS gives out zeroes at startup
2024-09-19 11:44:36 +10:00
bugobliterator
3d47f01dd4
AP_HAL_ChibiOS: enable TESTs on CubePilot-PPPGW
2024-09-19 11:44:22 +10:00