Commit Graph

31733 Commits

Author SHA1 Message Date
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
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