Commit Graph

31744 Commits

Author SHA1 Message Date
Henry Wurzburg ed5ca01e47 AP_OSD:add aspect ratio correction for DisplayPort 2023-02-21 11:24:17 +11:00
Andrew Tridgell bddd716cf9 AP_Arming: added is_armed_and_safety_off() 2023-02-21 07:44:09 +11:00
Samuel Tabor 49fb4f37c5 SITL: Send VCAS in Flightgear packet. 2023-02-20 05:37:21 -08:00
Andrew Tridgell 5a4fee6ac3 SITL: fixed orientation of XPlane11 gyro data 2023-02-20 06:59:13 +11:00
Andrew Tridgell 13fbca7455 AP_OpenDroneID: fixed static msg timing
required by ASTM F3411, thanks to Brian H for noticing
2023-02-19 10:22:17 -08:00
Iampete1 6d552a32d7 AP_TECS: protect against low airspeed in reset 2023-02-19 10:20:03 -08:00
Leonardo Garcia 9706642855 hwdef: Initial support for M10126_canpwm board 2023-02-19 17:17:31 +11:00
Andrew Tridgell 3bead4f88a AP_RCTelemetry: fixed warning with gcc 12.2 2023-02-19 13:26:54 +11:00
Bill Geyer 78720e9816 AP_MotorsHeli: patch for manual autorotation 2023-02-18 10:19:50 -05:00
Andrew Tridgell fd0bf49ca5 AP_GPS: don't try and configure M10 options on non-M10 GPS
this fixes a pre-arm failure "GPS 1 failing configuration checks" on
non-M10 GPS modules, including AP_Periph

it also adds the ublox unconfigured msgs to the DroneCAN GNSS.Status
errors field for easier diagnosis of this type of issue in the future
2023-02-18 15:33:13 +11:00
Peter Barker 7d244e3451 AP_Compass: add and use AP_COMPASS_LIS3MDL_ENABLED 2023-02-17 23:05:48 +11:00
Peter Barker ddf62cc060 AP_Math: add waf argument to get consistent builds 2023-02-17 20:48:45 +11:00
Peter Barker c7605e11bd AP_InternalError: add waf argument to get consistent builds 2023-02-17 20:48:45 +11:00
Peter Barker 5f916a7fed AP_HAL: add waf argument to get consistent builds 2023-02-17 20:48:45 +11:00
alexklimaj 96ba25b144 AP_HAL_ChibiOS:Default CAN Term to off on ARK GPS 2023-02-16 20:59:42 -08:00
Peter Barker d6b5dc206e AP_Mount: make get_attitude_euler non-virtual
If a backend ever needs to override this method then we can make it virtual, in the meantime we can save flash by re-using the quaternion getter in the frontend
2023-02-17 10:04:49 +11:00
Randy Mackay 0797cdf6fe AP_Scripting: viewpro mount driver 2023-02-16 16:49:51 +09:00
Randy Mackay a84cf91dd0 AP_Scripting: add get_camera_state binding 2023-02-16 16:49:51 +09:00
Randy Mackay 04e8fffc53 AP_Mount: add get_camera_state method 2023-02-16 16:49:51 +09:00
Andrew Tridgell ab723a6fd4 SITL: stop cygwin from trying to create FIFOs
some users find the error message annoying
2023-02-15 09:05:59 -08:00
Peter Barker fe9461242e AP_Compass: add and use AP_COMPASS_LSM9DS1_ENABLED 2023-02-15 20:03:55 +11:00
Iampete1 dcd55155af AP_Scripting: fix uint32 bitwise not 2023-02-15 19:39:21 +11:00
Iampete1 11f6b5c3ea AP_Scripting: docs: ignore luacheck warnings 2023-02-15 19:38:46 +11:00
Iampete1 02e9bf6ff5 AP_Scripting: drivers: ignore luacheck warnings 2023-02-15 19:38:46 +11:00
Iampete1 e2fe2d3c57 AP_Scripting: tests: ignore luacheck warnings 2023-02-15 19:38:46 +11:00
Iampete1 03167d41db AP_Scripting: examples: ignore luacheck warnings 2023-02-15 19:38:46 +11:00
Iampete1 3deaece3b7 AP_Scripting: applets: ignore luacheck warnings 2023-02-15 19:38:46 +11:00
Iampete1 068328f2df AP_HAL_ChibiOS: hwdef: HerePro: ignore luacheck warnings 2023-02-15 19:38:46 +11:00
Iampete1 fd1a72cc6d AP_Scripting: add luacheck config 2023-02-15 19:38:46 +11:00
Andy Piper e1db6e38e2 AP_VideoTX: protect vtx from pitmode changes when not enabled or not armed 2023-02-15 19:30:28 +11:00
rishabsingh3003 5cb77d9f81 AC_WPNav: Allow changing circle rate without changing parameter 2023-02-15 19:14:43 +11:00
Randy Mackay eb752a8397 AP_Scripting: djirs2 comment fix 2023-02-15 18:03:39 +11:00
Randy Mackay 4b8d99b25d AP_Scripting: djirs2 roll direction fix 2023-02-15 18:03:39 +11:00
Randy Mackay 00b9838c08 AP_Scripting: djirs2 driver gets missing wrap_360 2023-02-15 18:03:39 +11:00
yaapu f15d939823 AP_MSP: Increase DisplayPort UART TX buffer to prevent OSD corruption
Note: UART RX buffer has been decreased by the same amount to keep the memory footprint constant
2023-02-15 12:31:37 +11:00
Tom Pittenger 6fe732e8bd AP_BattMonitor: verify MPPT writes 2023-02-14 08:14:38 -08:00
Tom Pittenger bc555c9082 AP_UAVCAN: add Volz servo feedback handling 2023-02-14 08:13:54 -08:00
Tom Pittenger 0eb6f49ed6 AP_FlashStorage: fix spelling 2023-02-14 14:33:01 +00:00
Tom Pittenger 0144c594a3 StorageManager: fix spelling 2023-02-14 14:33:01 +00:00
xiao c43591291c AP_HAL_ChibiOS: added PixPilot-V3 and PixSurveyA2 2023-02-14 15:31:41 +11:00
Peter Barker b26d771c9f AP_Compass: add and use AP_COMPASS_IST8310_ENABLED 2023-02-14 12:23:55 +11:00
Henry Wurzburg 4d79c6b9d6 AP_OSD:Add avg resting cell and refactor
Co-authored-by: MichelleRos
2023-02-14 11:06:26 +11:00
Bill Geyer 978086490d SITL: improved dual heli model 2023-02-13 18:32:37 -05:00
Bill Geyer 062dade189 SITL: add tradheli support for autorotation simulation 2023-02-13 18:32:37 -05:00
Andrew Tridgell ab0768871b AP_IOMCU: add internal errors for unresponsive IOMCU
if IOMCU stops responding completely or stops giving status update
then give an internal error to help with diagnostics
2023-02-14 09:12:34 +11:00
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