Andrew Tridgell
d921c427b1
AP_IOCMU: improved the safety button reset test code
...
this allows testing of either watchdog or hard-fault reset
2023-02-14 09:12:34 +11:00
Andrew Tridgell
65fadfa2fe
AP_IOMCU: fixed an issue with double reset of IOMCU
...
if the IOMCU resets twice in quick succession then the code that
restores the safety state while flying can fail, leading to the
aircraft trying to continue flying with safety on
This results from two issues:
- a race in handling the last_safety_off variable
- the fact that plane sets the soft_armed state based on safety state
2023-02-14 09:12:34 +11:00
Peter Barker
a471d5a9b7
AP_Logger: add @FieldValueEnum for rangefinder status
...
will add meaning to Wiki and log analysis tools
--- LogMessages.rst-master 2023-02-11 14:03:51.204650105 +1100
+++ LogMessages.rst 2023-02-11 14:04:32.297022568 +1100
@@ -4764,6 +4764,20 @@
| Dist | Reported distance from sensor |
+----------+-----------------------------------------------+
| Stat | Sensor state |
+| | Values: |
+| | |
+| | +----------------+---+--+ |
+| | | NotConnected | 0 | | |
+| | +----------------+---+--+ |
+| | | NoData | 1 | | |
+| | +----------------+---+--+ |
+| | | OutOfRangeLow | 2 | | |
+| | +----------------+---+--+ |
+| | | OutOfRangeHigh | 3 | | |
+| | +----------------+---+--+ |
+| | | Good | 4 | | |
+| | +----------------+---+--+ |
+| | |
+----------+-----------------------------------------------+
| Orient | Sensor orientation |
+----------+-----------------------------------------------+
2023-02-13 08:34:58 +11:00
Andy Piper
61064a1efe
AP_HAL_ChibiOS: probe external compasses on foxeer reaper f745
2023-02-12 18:02:01 +11:00
Andy Piper
33f359b8e8
AP_HAL_ChibiOS: enable VTX power on MambaH743v4
2023-02-12 18:00:54 +11:00
Andrew Tridgell
6bf633d5d9
AP_Scripting: added parameters for EFI_SkyPower
2023-02-12 07:02:15 +11:00
Andrew Tridgell
46370a7b2c
AP_Scripting: added param docs for ship landing
2023-02-12 07:02:15 +11:00
bugobliterator
090ef6f2e4
AP_HAL_ChibiOS: add HAL_WITH_MCU_MONITORING define for H757
2023-02-11 16:07:07 +11:00
Andrew Tridgell
04c6fc6ea3
AP_Scripting: added param docs for VTOL-quicktune.lua
2023-02-11 12:56:05 +11:00
Iampete1
a75dc0a49d
AP_Scripting: Docs: correct update_rpm and set_rpm_scale markup
2023-02-11 11:14:25 +11:00
Peter Barker
67500cce36
AP_HAL: SITL: add defaults for Rover frame class and string
2023-02-11 10:36:33 +11:00
Peter Barker
2af6a05fa2
AP_NavEKF3: include writeWheelOdom symbol even if no body-odom
...
like the method above it, we need this symbol or we won't compile
2023-02-11 10:36:33 +11:00
Bob Long
7889afc452
AP_Baro: fix bug in alt error arming check
...
get_altitude_difference already subtracts MSL altitude
2023-02-10 06:46:08 +11:00
Peter Barker
b4fc6b2215
AP_HAL_ChibiOS: do not detect extra bmm150 instances on SkyViper-v2450
2023-02-09 17:52:52 +11:00
Peter Barker
9035de80ca
AP_Compass: do not detect extra bmm150 instances on SkyViper-v2450
2023-02-09 17:52:52 +11:00
Peter Barker
a7a2779a0f
AP_HAL_ChibiOS: add and use AP_COMPASS_BMM150_ENABLED
2023-02-09 17:52:52 +11:00
Peter Barker
feb809fbb7
AP_Compass: add and use AP_COMPASS_BMM150_ENABLED
2023-02-09 17:52:52 +11:00
Peter Barker
0b127e0437
AP_HAL_ChibiOS: exclude more code based on HAL_WITH_IO_MCU
2023-02-09 17:52:10 +11:00
Andrew Tridgell
080d7615fc
AP_BattMonitor: support EFI "battery" backend
...
this maps Ah to Litres and Amps to Litres/hour
2023-02-09 07:12:39 +11:00
Andrew Tridgell
7d12095deb
AP_Arming: added last_arm_method()
2023-02-09 07:02:32 +11:00
Andrew Tridgell
b06df0da49
AP_Scripting: added quadplane payload place script
2023-02-09 07:02:12 +11:00
Andrew Tridgell
64810f5713
AP_Scripting: added docs for new bindings
2023-02-09 07:02:12 +11:00
Andrew Tridgell
2e5c5074af
AP_Scripting: added bindings for quadplane package place
2023-02-09 07:02:12 +11:00
Andrew Tridgell
510d979b79
AP_Vehicle: added set_land_descent_rate scripting method
2023-02-09 07:02:12 +11:00
Peter Barker
8259f3f870
GCS_MAVLink: add and use AP_ADVANCEDFAILSAFE_ENABLED
2023-02-08 19:00:13 +11:00
Peter Barker
c12486829a
hwdef: SkyViper doesn't need AP_AdvancedFailsafe
2023-02-08 19:00:13 +11:00
Peter Barker
6ce546d2fb
AP_AdvancedFailsafe: add and use AP_ADVANCEDFAILSAFE_ENABLED
2023-02-08 19:00:13 +11:00
Andrew Tridgell
28690d66b2
AP_Camera: make trigger dist a float
...
the parameters and the callers all use float, we unnecessarily lose
precision here
thanks to D Przybysz for finding the issue
2023-02-08 16:59:45 +11:00
Andrew Tridgell
9b5246735e
AP_Scripting: removed unused aerobatics code and params
2023-02-08 16:25:39 +11:00
Andrew Tridgell
581bf77b0d
AP_Scripting: new rudder offset for aerobatics
2023-02-08 16:25:39 +11:00
Andrew Tridgell
84944bbf53
AP_Scripting: added set_rudder_offset binding
2023-02-08 16:25:39 +11:00
Andrew Tridgell
63e5261406
AP_Vehicle: added set_rudder_offset()
2023-02-08 16:25:39 +11:00
Andrew Tridgell
988028f765
AP_RCProtocol: on IOMCU don't allow protocol to change once detected
...
this prevents a crash where in-flight noise causes an incorrect
protocol detection, such as DSM for a SBUS input
2023-02-08 10:08:23 +11:00
murata
f04cab917b
AP_Terrain: Explicitly state that they are at the same latitude
2023-02-08 08:54:35 +11:00
Tom Pittenger
b0f0733ec3
A_HAL_ChibiOS: add HAL_NMEA_OUTPUT_ENABLED 0
2023-02-07 21:12:07 +11:00
Tom Pittenger
3f5276c3d7
AP_NMEA_Output: add params and optimized
2023-02-07 21:12:07 +11:00
Tom Pittenger
9ac0514e8e
AP_AHRS: move AP_NMEA_OUTPUT to a first class library
2023-02-07 21:12:07 +11:00
Tom Pittenger
468d773391
AP_Vehicle: move AP_NMEA_OUTPUT to a first class library
2023-02-07 21:12:07 +11:00
Tom Pittenger
ea35b28b22
AP_Common: add NMEA output to a buffer
2023-02-07 21:12:07 +11:00
Tom Pittenger
a929a5006a
AP_NMEA_Output: add msg sentence $PASHR
2023-02-07 21:12:07 +11:00
Peter Barker
9d3ca88002
RC_Channel: add support for AP_VIDEOTX_ENABLED
2023-02-07 16:54:40 +11:00
Peter Barker
e4d827a3d6
AP_RCTelemetry: add support for AP_VIDEOTX_ENABLED
2023-02-07 16:54:40 +11:00
Peter Barker
1096b7de3c
AP_OSD: add support for AP_VIDEOTX_ENABLED
2023-02-07 16:54:40 +11:00
Bill Geyer
8d1a362db7
SITL: fix heli RPM for heli SITL models
2023-02-07 11:05:29 +11:00
murata
b31883a8a4
AP_Mission: Match variable types
2023-02-07 08:56:28 +09:00
Peter Barker
9b8a61c048
AP_EFI: correct EFI ignition_voltage flag values
2023-02-07 10:40:50 +11:00
Peter Barker
1d57ada441
AP_UAVAN: pass error_count from ESC Status packet to AP_ESC_Telem
2023-02-07 10:39:16 +11:00
Iampete1
c5c7863829
AP_Scripting: add bindings for E-stop, Interlock and Safety state
2023-02-07 10:24:18 +11:00
Peter Barker
22feb3c08a
AP_Compass: add and use AP_COMPASS_AK8963_ENABLED
2023-02-07 10:21:06 +11:00
Peter Barker
ccb56e573a
GCS_MAVLink: tidy valid-channel check in set_message_interval
...
rely on chan returning nullptr on invalid channel
2023-02-07 10:07:39 +11:00