Commit Graph

37369 Commits

Author SHA1 Message Date
Iampete1
b036bc326a AP_Scripting: Examples: message_interval: give checker a hint about types 2024-12-12 15:13:40 +11:00
Peter Barker
d1d994b42f AP_Logger: correct PM message metadata 2024-12-12 15:13:40 +11:00
Peter Barker
1ecac3282f AP_RTC: correct logger documentation 2024-12-12 15:13:40 +11:00
Randy Mackay
d57f098ae7 AP_DDS: default IP to 192.168.144.x 2024-12-12 15:13:40 +11:00
Randy Mackay
72e1ec7d93 AP_Networking: default IP to 192.168.144.x 2024-12-12 15:13:40 +11:00
Andy Piper
f1dcf66de0 AP_HAL: protect against invalid values when calculating Jain's estimator 2024-12-12 15:13:40 +11:00
Vincent Poon
098db52c22 add bmi270 support to kakuteh7 2024-12-12 15:13:40 +11:00
Randy Mackay
144c7c0eb7 AP_Scripting: promote video-stream-information to applet 2024-12-12 15:13:40 +11:00
Randy Mackay
1d780509ab AP_Scripting: set-video-stream-info encoding binding and docs 2024-12-12 15:13:40 +11:00
Randy Mackay
d23f7b610b AP_Camera: set-stream-information loses send-text 2024-12-12 15:13:40 +11:00
Thomas Watson
b43cabd443 AC_AutoTune: fix tracking of maximum angular acceleration
Issue introduced in https://github.com/ArduPilot/ardupilot/pull/27370
and partially fixed in https://github.com/ArduPilot/ardupilot/pull/27762,
though evidently not properly tested.

Failing to track the maximum can result in dangerously low values being
calculated for `ATC_ACCEL_[RPY]_MAX` and the vehicle becoming unflyable.

Make the variable a reference so that the maximum value is preserved
between function calls.
2024-12-12 15:13:40 +11:00
Andy Piper
54dba443ce AP_RCTelemetry: add missing CRSF scheduler table entry 2024-12-12 15:13:40 +11:00
Andrew Tridgell
3b793baa78 AP_InertialSensor: stop sensors converging if motors arm
if the user arms within 30s of startup then stop the re-init of the
sensors. This can give less accurate frequency as the sample rate may
not have settled yet, but it is better than doing init of the filters
while the vehicle may be flying

also fix a 32 bit millis wrap
2024-12-12 15:13:40 +11:00
Andrew Tridgell
d11112c0c0 AP_CANManager: support CAN frame logging
this supports logging of all bxCAN and CANFD frames, which helps with
debugging tricky CAN support issues and for the development of new CAN
driver lua scripts
2024-12-12 15:13:40 +11:00
Andrew Tridgell
40e6262e30 AP_Logger: logging structures from AP_CANManager 2024-12-12 15:13:40 +11:00
Andrew Tridgell
41e7c3a31a AP_HAL: enable up to 3 CAN callbacks 2024-12-12 15:13:40 +11:00
Andrew Tridgell
6596269ae6 AP_InertialSensor: fixed check for changes to notch filters
if the configured freq changes on any type of notch then A and Q
change, so init must be called. This does not affect only Fixed
notches
2024-12-12 15:13:40 +11:00
Randy Mackay
dce0370f76 AP_NavEKF3: pos vel resets default to user defined source 2024-12-12 15:13:40 +11:00
Peter Barker
8b8a83f7c0 GCS_MAVLink: validate vertex count before assignment
this assignments following these lines were silently truncating the param1 value to uint8_t value
2024-12-12 15:13:40 +11:00
Peter Barker
49a0651211 GCS_MAVLink: Rally: correct mission_type in mission_item_int conversion 2024-12-12 15:13:40 +11:00
Peter Barker
e50f498236 GCS_MAVLink: Fence: correct mission_type in mission_item_int conversion 2024-12-12 15:13:40 +11:00
Peter Barker
6c42ac7fca AC_Fence: specify storage type for AC_PolyFenceType
we allocate RAM based on the size of this structure
2024-12-12 15:13:40 +11:00
Peter Barker
a9dd69c4db GCS_MAVLink: correct handling of more than 256 fence items 2024-12-12 15:13:40 +11:00
Peter Barker
b9e15a51c2 AC_Fence: correct handling of more than 256 fence items 2024-12-12 15:13:40 +11:00
George Zogopoulos
c7dd3d8b64 Plane: Call new TECS method in case of altitude change 2024-12-12 15:13:40 +11:00
George Zogopoulos
e81ef4c131 AP_TECS: Added method to handle home altitude change 2024-12-12 15:13:40 +11:00
George Zogopoulos
8a3d241dd8 AP_TECS: Delete redundant _hgt_afe setting 2024-12-12 15:13:40 +11:00
Peter Barker
2ad74a2517 AP_Scheduler: log RTC into PM message 2024-12-12 15:13:40 +11:00
Peter Barker
5aae984cd9 AP_Logger: log RTC into PM message 2024-12-12 15:13:40 +11:00
Peter Barker
561dc50df1 AP_RTC: allow time to shift forward when disarmed 2024-12-12 15:13:40 +11:00
Patrick Menschel
b7d7ece0eb AP_Tramp: Fix _configuration_finished indication
The flag _configuration_finished in AP_VideoTX
is not set by AP_Tramp.
Therefore OSD item VTX_PWR blinks forever.
2024-12-12 15:13:40 +11:00
zhou
d87bb2bb05 AP_Mount: topotek: Change the type of gimbal angle acquisition
... also convert the lowercase characters in the command to uppercase
2024-12-12 15:13:40 +11:00
Andy Piper
6acbfde357 AP_HAL_ChibiOS: support BMP280 on FoxeerF405v2 2024-12-12 15:13:40 +11:00
Peter Barker
550f3976e8 hwdef: use V-UAV in place of VIEWPRO for link text 2024-12-12 15:13:40 +11:00
SakuraRC_Yang
7d4c75bb78 hwdef: SkySakura H743 fc Support
SkySakura H743 fc Support
2024-12-12 15:13:40 +11:00
Andrew Tridgell
e63740d35d AP_Airspeed: don't send AIRSPEED_AUTOCAL message when disabled
we were wasting bandwidth sending this all the time

also fixed to support calibration messages for 2nd airspeed sensor
2024-12-12 15:13:40 +11:00
Vincent Poon
4b2cf347da hwdef: add SPA06 to Kakute hwdef
add SPA06 support to Kakute H7 Wing, F4 model

add define AP_BARO_SPL06_ENABLED to kakute F4
2024-12-12 15:13:40 +11:00
yaapu
85dd3b1fce Ap_Frsky_Telem: fix for apparent wind passthrough telemetry frame 2024-12-12 15:13:40 +11:00
Peter Barker
50c574672a SRV_Channel: make SRV_Channels::cork non-static
for symmetry with the push function
2024-12-12 15:13:40 +11:00
Peter Barker
c9cd17f1df AR_Motors: make SRV_Channels::cork non-static
for symmetry with the push function
2024-12-12 15:13:40 +11:00
Peter Barker
bfc551f85d AP_Motors: create and use a singleton for SRV_Channels 2024-12-12 15:13:40 +11:00
Peter Barker
9720134da3 SRV_Channel: create and use a singleton for SRV_Channels
avoid creation of static pointers to objects held within SRV_Channels
2024-12-12 15:13:40 +11:00
Peter Barker
05d8567ac9 AR_Motors: create and use a singleton for SRV_Channels
avoid creation of static pointers to objects held within SRV_Channels
2024-12-12 15:13:40 +11:00
Peter Barker
b2ea50b1e6 AP_Vehicle: create and use a singleton for SRV_Channels
avoid creation of static pointers to objects held within SRV_Channels
2024-12-12 15:13:40 +11:00
paul.quillen
502d987ab1 AP_DDS: Add set/get parameters service. 2024-12-12 15:13:40 +11:00
tompsontan
8bb78c9d7f hwdef:fixed board AP-H743v2 CAN pin definition. 2024-12-12 15:13:40 +11:00
Andy Piper
60bdcf673c AP_HAL_ChibiOS: TBS LUCID H7 2024-12-12 15:13:40 +11:00
Andrew Tridgell
cafc3fdd20 AC_Fence: remember manual disable of fence for min-alt
the automatic min-alt fence should not auto-enable based on altitude
if the fence has been manually disabled. This is needed to allow for a
manual landing by disabling the fence before descending
2024-12-12 15:13:40 +11:00
Andrew Tridgell
921dbae935 AC_Fence: removed _auto_enable_mask
the _auto_enable_mask was try to make AUX function overrides disable
the FENCE_AUTOENABLE functionality. This isn't the right bevaviour,
both the aux function and the auto-enable should be edge triggered,
with last function taking effect
2024-12-12 15:13:40 +11:00
Andrew Tridgell
d00a28b9b0 AC_Fence: removed _curr_alt from class
this is only ever set/checked within a function
2024-12-12 15:13:40 +11:00