Randy Mackay
57f8a46339
AP_Scripting: add winch bindings
2022-10-06 14:39:28 +11:00
Andrew Tridgell
2faa0fd2f2
AP_Vehicle: implement 1M/2M warnings
...
encourage users to run the right firmware for their boards
2022-10-06 10:58:46 +11:00
Andrew Tridgell
861bd06034
hwdef: added warning messages about flash size
2022-10-06 10:58:46 +11:00
Andrew Tridgell
07f80c2442
HAL_ChibiOS: make check_limit_flash_1M() available in main firmware
2022-10-06 10:58:46 +11:00
Andrew Tridgell
e5b46eb2a7
HAL_ChibiOS: fixed build error with gcc 11.3
2022-10-06 10:45:49 +11:00
Andrew Tridgell
b5b1aee954
AP_Scripting: fixed use of clock and time in lua
...
not available on stm32
2022-10-06 10:45:49 +11:00
Andrew Tridgell
9f5f7e018e
GCS_MAVLINK: fixed warning in ftp build with gcc 11.3
2022-10-06 10:45:49 +11:00
Andrew Tridgell
d919a7f8f4
hwdef: reduce flash usage to allow build
2022-10-06 10:31:51 +11:00
Peter Barker
dc85169cb1
AP_Compass: send report if we are in the BAD_RADIUS state
2022-10-06 10:31:09 +11:00
murata
272e719a14
SITL: Make the same process into a method
2022-10-06 08:42:13 +11:00
Peter Barker
05a638a639
AP_Compass: correct is_calibrating check
...
before this we only ever looked at the first backend
2022-10-06 08:21:03 +11:00
Peter Barker
75919171b7
AP_Compass: remove default clause from calibrator status switch
...
bad_radius should almost certainly be treated just like bad orientation
2022-10-06 08:21:03 +11:00
Peter Barker
d6c5a0ab2b
AP_Compass: correct compilation when COMPASS_MAX_INSTANCE>1 and no diagonals
2022-10-06 08:21:03 +11:00
Iampete1
4668e1b61e
AP_InertialSensor: Logging: only log single notch frequency unless per-motor, never log fixed
2022-10-05 18:30:24 +11:00
Andy Piper
ce481af167
AP_HAL: correct prescaler calculation and add testing debug.
...
use normalized bitwidths for neopixel.
make sure low prescaler values are allowed.
significantly tighten clocking prescaler tests
add assertions around expected prescaler values
2022-10-05 18:27:43 +11:00
jackhong12
4a4f361a17
all: use CLASS_NO_COPY() macro
2022-10-04 11:23:04 +11:00
Peter Barker
0f359c6a4e
GCS_MAVLink: remove individual static members for fence, mission and rally
2022-10-04 11:17:35 +11:00
Peter Barker
61c4320e89
RC_Channel: add AP_GRIPPER_ENABLED
2022-10-04 10:58:34 +11:00
Peter Barker
9c7c29b2a7
GCS_MAVLink: add AP_GRIPPER_ENABLED
2022-10-04 10:58:34 +11:00
Peter Barker
aea7b0a097
AP_Mission: add AP_GRIPPER_ENABLED
2022-10-04 10:58:34 +11:00
Peter Barker
0bd08a4a82
AP_HAL_ChibiOS: add AP_GRIPPER_ENABLED
2022-10-04 10:58:34 +11:00
Peter Barker
a3be41c3b0
AP_Gripper: add AP_GRIPPER_ENABLED
2022-10-04 10:58:34 +11:00
Peter Barker
670a1dbdb1
hwdef: disable RPM on skyviper
2022-10-04 10:58:34 +11:00
Andrew Tridgell
ad6bf648e9
AP_Scripting: ALT_OFFSET example for copter
...
this was requested by a user that has GCS function for setting
ALT_OFFSET for magnetometer surveys
2022-10-03 17:31:23 +11:00
Andrew Tridgell
a14b77db74
hwdef: added MatekL431-GPS build
...
this sets up for DMA on GPS UARTs, disables unnecessary UARTs and SPI
and disables unnecessary sensor types
the changes make moving baseline GPS with two DroneCAN GPS modules on
MatekL431 much more reliable
2022-10-03 17:30:59 +11:00
Andy Piper
cfdf6306ef
AP_Logger: ensure that we don't read the same block more than once, dramatically increasing performance.
2022-10-03 07:52:43 +11:00
MatthewHampsey
10f355b05b
AP_Scripting: Fix bug with local variable
2022-10-02 16:58:37 +11:00
MatthewHampsey
7dbc1690e9
AP_Scripting: Added extra argument node
2022-10-02 16:58:37 +11:00
MatthewHampsey
527b0e5ba9
AP_Math: Add comments to quaternion methods
2022-10-02 16:58:37 +11:00
MatthewHampsey
1dba013e4a
AP_Scripting:Improve speed controller, various other fixes
2022-10-02 16:58:37 +11:00
Andrew Tridgell
6555682fa8
AP_Scripting: delay getting EFI backend
...
allow for AP_EFI startup after scripting
2022-10-02 08:15:06 +11:00
Andrew Tridgell
c00c13d011
AP_Scripting: changed bindings to ap_object
2022-10-02 08:15:06 +11:00
Andrew Tridgell
c3499f12c4
AP_Scripting: convert HFE driver to get_backend
2022-10-02 08:15:06 +11:00
Andrew Tridgell
fed4909dd1
AP_EFI: convert to using ap_object approach
2022-10-02 08:15:06 +11:00
Andrew Tridgell
6e308814ad
AP_Scripting: added mag_heading example
2022-10-02 08:15:06 +11:00
Andrew Tridgell
1f42453bb4
AP_Scripting: added EFI HFE driver
2022-10-02 08:15:06 +11:00
Andrew Tridgell
7f7b8893e3
AP_Scripting: added EFI_HFE tester
2022-10-02 08:15:06 +11:00
Andrew Tridgell
24b83135e0
AP_HAL: added id_signed for CANFrame
...
makes for more efficient lua processing
2022-10-02 08:15:06 +11:00
Andrew Tridgell
acb18cf946
AP_Scripting: update bindings for new fields
2022-10-02 08:15:06 +11:00
Andrew Tridgell
698c25a060
AP_EFI: added more fields
...
fill in 3 remaining fields available in MAVLink
2022-10-02 08:15:06 +11:00
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