Andrew Tridgell
b514f44b7a
AP_Scripting: added EFI testing script
2022-10-02 08:15:06 +11:00
Andrew Tridgell
a08c4b6761
AP_Scripting: added EFI_SkyPower driver
2022-10-02 08:15:06 +11:00
Andrew Tridgell
fd52ff923d
AP_EFI: removed array from cylinder_status
...
this array was never used and just makes doing drivers harder. Removed
to reduce complexity
2022-10-02 08:15:06 +11:00
Joshua Henderson
f74ad276a9
AP_EFI: add EFI scripting driver
2022-10-02 08:15:06 +11:00
Andrew Tridgell
d3c014ca35
AP_Scripting: update docs
2022-10-02 08:15:06 +11:00
Joshua Henderson
d74081b22b
AP_Scripting: add scripting EFI bindings
2022-10-02 08:15:06 +11:00
Joshua Henderson
996089dc2a
AP_Vehicle: EFI increase loop rate to 50Hz
2022-10-02 08:15:06 +11:00
murata
b90079bfa6
AP_Mount: Enable debugging outputs and variables in debug definitions
2022-10-01 09:05:05 +09:00
Andrew Tridgell
805e194b0b
hwdef: disable compass cal for herePro
...
it doesn't work as diagonals and offdiagonals not available
2022-09-30 21:25:36 +10:00
Andrew Tridgell
0b9769e658
AP_Compass: removed diagonals and offdiagonals on AP_Periph
2022-09-30 21:25:36 +10:00
Andrew Tridgell
af224dab1e
AP_Compass: fixed AP_Periph compass
...
diagonals are no longer initialised to 1.0, which leaves us with zero
compass after matrix mul
2022-09-30 21:25:36 +10:00
Randy Mackay
de3d763e36
AP_Mount: minor comment fix to has_pan_control
2022-09-30 15:17:29 +09:00
Randy Mackay
47e2be6e60
RC_Channel: add camera aux functions
2022-09-30 15:17:29 +09:00
Randy Mackay
2ffe692706
AP_Camera: add record video zoom and focus
2022-09-30 15:17:29 +09:00
Randy Mackay
8c5463ec78
AP_Mount: add Siyi gimbal driver
2022-09-30 15:17:29 +09:00
Randy Mackay
53905c5f35
AP_Mount: add camera controls
2022-09-30 15:17:29 +09:00
Andrew Tridgell
17d9018a91
AP_NavEKF3: fixed EKF3 origin alt inconsistency
...
always use common origin, and adjust output posD for difference
between public and local lane origin heights
2022-09-30 07:44:42 +10:00
Andrew Tridgell
3f4c5e243e
AP_CANManager: disable SLCAN when armed
...
this disables SLCAN if enabled using CAN_SLCAN_CPORT and
SERIALn_PROTOCOL=22 when we are armed, to reduce load on the CAN
thread from the very inefficient SLCAN processing
2022-09-29 20:40:21 +10:00
Peter Barker
f225592f48
AP_GPS: use default case for sending blob
...
This structure avoids a compiler warning that a statement isn't reachable when all backends are compiled out.
2022-09-29 20:00:53 +10:00
Peter Barker
288089a158
AP_GPS: no init blobs for SBF/GSOF/NOVA/SITL
2022-09-29 20:00:53 +10:00
Peter Barker
3a3f9bdb84
AP_GPS: cycle through baud rates for SBF/GSOF/NOVA/SITL
2022-09-29 20:00:53 +10:00
Peter Barker
a56ed66aa3
SITL: make NOVA run at specific baudrate
2022-09-29 20:00:53 +10:00
AerofoxTech
5ca31ac1a1
hwdef: add AeroFox PMU module hwdef
2022-09-29 15:15:36 +10:00
Willian Galvani
c607c38cbf
AP_HAL_Linux: add missing header to RCInput_RCProtocol.cpp
...
This fixes muslhf linux build
2022-09-28 18:38:33 -03:00
Willian Galvani
4558742e39
HAL_Linux: add RC in driver for Navigator
2022-09-28 18:38:33 -03:00
Peter Barker
0717c3409b
SITL: SITL SerialDevice optionally checks baudrates match
2022-09-28 20:53:34 +10:00
Peter Barker
0d5d9c04f0
AP_HAL_SITL: SITL SerialDevice optionally checks baudrates match
2022-09-28 20:53:34 +10:00
Peter Barker
855f4fe2d2
AP_RPM: correct SITL backend compilation if RPM disabled in SITL
2022-09-28 20:10:21 +10:00
Peter Barker
86df7e1bfc
AP_Vehicle: add 0x to internal error statustext
2022-09-28 19:46:08 +10:00
Andrew Tridgell
bf89a39621
AP_UAVCAN: removed the old DroneCAN Fix message
...
only send/process Fix2 message, saving bus bandwidth and flash space
2022-09-28 17:27:32 +10:00
Andrew Tridgell
fde5c35d35
AP_GPS: removed the old DroneCAN Fix message
...
only send/process Fix2 message, saving bus bandwidth and flash space
2022-09-28 17:27:32 +10:00
Randy Mackay
b8042d57de
AP_Scripting: add mount-poi example
2022-09-28 17:09:31 +10:00
Randy Mackay
7f8448e344
AP_Scripting: add Location::offset_bearing_and_pitch binding
2022-09-28 17:09:31 +10:00
Randy Mackay
dd58cb7492
AP_Scripting: add binding for Mount get_attitude_euler
2022-09-28 17:09:31 +10:00
Randy Mackay
e9b92da241
AP_Mount: add get_attitude_euler
...
this allows external callers including Lua to retrieve the gimbal mount's current attitude
2022-09-28 17:09:31 +10:00
Randy Mackay
145adb6ae4
AP_Math: quaternion::to_euler scaling clarified with comment
2022-09-28 17:09:31 +10:00
Andrew Tridgell
124f7846c8
hwdef: reduced memory usage on MatekF405-CAN board
2022-09-28 07:16:39 +10:00
Neil Bertram
0326d5eeca
AP_HAL_Linux: Use Linux-specific TCSETS2 ioctl to enable "non-standard" UART baudrates
2022-09-26 22:12:21 -03:00
Peter Barker
2da23a218a
GCS_MAVLink: correct compilation with rally disabled
2022-09-27 10:16:47 +10:00
Peter Barker
339dd33240
AP_Terrain: correct compilation with rally disabled
2022-09-27 10:16:47 +10:00
Peter Barker
b1897cd9a4
AP_Filesystem: correct compilation with rally disabled
2022-09-27 10:16:47 +10:00
Peter Barker
0060999e69
AP_Arming: correct compilation with rally disabled
2022-09-27 10:16:47 +10:00
Peter Barker
22d8d0a0fd
AP_FileSystem: correct compilation when fence disabled
2022-09-27 10:16:47 +10:00
Peter Barker
63cb9eb07e
GCS_MAVlink: correct compilation when fence disabled
2022-09-27 10:16:47 +10:00
yaapu
e958c313a1
ArduPlane: fixed roll and pitch for OSD VTOL view
2022-09-27 10:04:10 +10:00
Bob Long
98b65299f6
AP_Mission: initialize jump-tracking in init()
2022-09-27 10:02:04 +10:00
Friedrich Beckmann
744a741b99
AP_Filesystem: Better estimation of filesize for parameter file
...
The actual filesize of the parameter downloadfile is around
15200 bytes. The indicated filesize is used in QGC for the
progressbar. This patch does not try to compute the exact filesize
but I try a better estimate. Only the full download off all
parameters is considered to avoid more complexity.
2022-09-27 09:38:25 +10:00
Andy Piper
a1960e7d07
AP_HAL_ChibiOS: make sure SkystarsH7HD has functioning VTX on Camera 1 by default
2022-09-27 09:29:43 +10:00
Andy Piper
64b31b3592
AP_HAL_ChibiOS: increase SPI clock for ICM42688 on CUAV-Nora
...
use regular speed for ICM42688 CS on Nora
2022-09-27 09:28:45 +10:00
Andy Piper
91eb72058a
AP_HAL_ChibiOS: hwdef for bdshot version of CUAV Nora/Nora+
2022-09-27 09:28:45 +10:00
Peter Barker
62c0038771
AP_EFI: correct compilation for header changes
2022-09-27 09:26:45 +10:00
Peter Barker
a638060ce5
AP_Windvane: correct compilation for header changes
2022-09-27 09:26:45 +10:00
Peter Barker
3d099b0d2f
AP_Mount: include required GCS.h header
2022-09-27 09:26:45 +10:00
Peter Barker
0107466fe4
AC_PrecLand: include required GCS.h header
2022-09-27 09:26:45 +10:00
Peter Barker
4210daaa19
AP_Follow: include required GCS.h header
2022-09-27 09:26:45 +10:00
Peter Barker
d2315fa4d0
AC_Fence: include required GCS.h header
2022-09-27 09:26:45 +10:00
Peter Barker
9b2b21e531
AP_Camera: correct compilation for header changes
2022-09-27 09:26:45 +10:00
Peter Barker
b238f95032
AC_Avoidance: correct compilation for header changes
2022-09-27 09:26:45 +10:00
Peter Barker
b7ce25c23b
AP_AccelCal: include GCS_Config.h rather than GCS.h
2022-09-27 09:26:45 +10:00
Peter Barker
3b3497eba0
GCS_MAVLink: move definition of HAL_GCS_ENABLED to GCS_config.h
2022-09-27 09:26:45 +10:00
Henry Wurzburg
b10344bac4
AP_OSD: update font files to remove blank space artifacts
2022-09-27 09:23:59 +10:00
bugobliterator
6e28839daa
AP_HAL_ChibiOS: remove unused Here devices
2022-09-27 08:48:48 +10:00
Paul Riseborough
481bec5ff5
AP_NavEKF3: Allow wind states to recover faster when airspeed sensor failed
2022-09-26 14:17:53 +10:00
Andrew Tridgell
1243605884
AP_Airspeed: allow EKF checking without wind max
2022-09-26 14:17:53 +10:00
Paul Riseborough
b11393a369
AP_Airspeed: Update documentation for used parameter index warnings
2022-09-26 14:17:53 +10:00
Andrew Tridgell
eae2bed630
AP_Logger: fixed missing doc field
2022-09-26 14:17:53 +10:00
Paul Riseborough
4808863b2d
AP_Airspeed: remove unsupported parameter units descriptor
2022-09-26 14:17:53 +10:00
Paul Riseborough
1423334f03
AP_Airspeed: Add tuning advice for ARSP_WIND_GATE
2022-09-26 14:17:53 +10:00
Paul Riseborough
5e8322700e
AP_Airspeed: Add hysteresis to consistency check
2022-09-26 14:17:53 +10:00
Paul Riseborough
3f7071772e
AP_TECS: Assume flight at cruise speed if speed measurement not available
2022-09-26 14:17:53 +10:00
Paul Riseborough
ed271e8025
AP_Airspeed: Enable use of EKF3 to check airspeed health
2022-09-26 14:17:53 +10:00
Paul Riseborough
59d4808786
AP_Logger: Fix ARSP data type string
2022-09-26 14:17:53 +10:00
Paul Riseborough
592793b510
AP_Logger: Add consistency test ratio to ASPD logging
2022-09-26 14:17:53 +10:00
Paul Riseborough
6a328c5d3b
AP_AHRS: Add accessor function for airspeed health monitoring
2022-09-26 14:17:53 +10:00
Paul Riseborough
399f30bfce
AP_NavEKF3: Allow reporting of airspeed consistency for a deselected sensor
2022-09-26 14:17:53 +10:00
Paul Riseborough
eb0e9230a1
AP_NavEKF3: Add accessor function for airspeed health monitoring
2022-09-26 14:17:53 +10:00
Paul Riseborough
608b4c0713
AP_NavEKF3: Enable monitoring of unhealthy airspeed sensors
...
Innovations and innovation test ratios will still be calculated and reported for an unhealthy sensor, but the EKF states wnd covariance matrix will not be modified.
2022-09-26 14:17:53 +10:00
Iampete1
b49ded9f8e
AP_Scripting: fix userdata skip check
2022-09-26 08:05:54 +10:00
Andy Piper
e7b1bcbd75
AP_HAL_ChibiOS: put RX on UART1 on Skystars H7HD bdshot
...
make sure VTX has power on Skystars H7HD at boot
2022-09-26 08:00:04 +10:00
Andy Piper
63fb1a2540
AP_HAL_ChibiOS: hwdef for bdshot variant of SkystarsH7HD
...
Correct bootloader storage location for SkystarsH7HD
2022-09-26 08:00:04 +10:00
Peter Barker
5e733fe849
AP_Mission: zero frame field when filling mavlink_int from mavlink_cmd
...
Callers should be filling their bits in after calling this.
2022-09-25 19:25:53 +10:00
Peter Barker
884f4dd317
Revert "AP_Mission: prevent use of uninitialised stack data"
...
This reverts commit a785ac84a3
.
2022-09-25 19:25:53 +10:00
Henry Wurzburg
fa8e5ad3f1
AP_OSD:Add HD fonts for DJI googles
2022-09-22 18:04:15 +10:00
Andy Piper
1fe7fb8f35
Filter: optimize notch filter frequency updates when the requested frequency has not changed
2022-09-22 11:48:28 +10:00
Peter Barker
e9918306fd
RC_Channel: save some bytes by excluding functions
2022-09-22 11:24:25 +10:00
Andy Piper
f651a4b6ce
AP_VideoTX: ensure that Tramp changes are broadcast to the GCS
2022-09-22 10:48:04 +10:00
Andy Piper
d20fd16a14
AP_VideoTX: fix potential buffer overrun bug
2022-09-22 10:48:04 +10:00
Andy Piper
0658f06030
AP_VideoTX: add lookup tables for VTX power settings
...
correct settings when power set is received
add support for capturing all supported power levels
learn power levels in SmartAudio 2.1
add better support for VTX power levels
don't set power to 0 if in pitmode
add option for iNav compatibility
support non-conforming SmartAudio implementations
re-enable pitmode on SmartAudio 2.0
add support for "blind" VTX setting
2022-09-22 10:48:04 +10:00
Andrew Tridgell
a653b5e8d1
AP_Scripting: simple script for plane GUIDED follow
2022-09-22 07:59:34 +10:00
MatthewHampsey
eed638c237
AP_Scripting: Updated docs for added lua bindings
2022-09-22 05:55:15 +10:00
MatthewHampsey
255b081a45
AP_Scripting: added aerobatics trajecting tracking script
2022-09-22 05:55:15 +10:00
MatthewHampsey
d17b528cab
AP_Scripting: added new functions to support trajectory script
2022-09-22 05:55:15 +10:00
MatthewHampsey
822c26f811
APM_Control: fixed yaw PID reset
2022-09-22 05:55:15 +10:00
MatthewHampsey
dabd9fbddc
AP_Math: added quaternion from_angular_velocity
2022-09-22 05:55:15 +10:00
Peter Barker
a785ac84a3
AP_Mission: prevent use of uninitialised stack data
...
Well, probably not initialised, but certainly holding values we don't want
2022-09-21 22:38:31 +10:00
Andy Piper
4cfd1ee426
AP_HAL_ChibiOS: disable DMA on I2C on bdshot boards to free up DMA channels
2022-09-21 17:59:29 +10:00
Shiv Khanna
2814605a2c
SITL: Fixed rounding lat/lng issue when running JSBSim SITL
...
Fixed an issue in recieving aircraft state data from JSBSim where
the location was being converted to degrees but as a float. This
caused rounding issues in the lat and lng. Changed the conversion to use
a double.
2022-09-21 17:58:40 +10:00
Yuri
765cb4581c
AP_HAL_ChibiOS: define skyviper short board names
2022-09-21 17:56:42 +10:00
Yuri
e165063324
GCS_MAVLink: increase short board names to 23 chars
2022-09-21 17:56:42 +10:00
Yuri
68a1f3a2db
AP_Radio: increase short board names to 23 chars
2022-09-21 17:56:42 +10:00