Commit Graph

51164 Commits

Author SHA1 Message Date
Peter Barker
79536ca2e5 ArduSub: adjust for rename of OpticalFlow.cpp 2021-12-28 10:16:20 +11:00
Peter Barker
d7fae5263f ArduPlane: adjust for rename of OpticalFlow.cpp 2021-12-28 10:16:20 +11:00
Peter Barker
70dcad26f7 ArduCopter: adjust for rename of OpticalFlow.cpp 2021-12-28 10:16:20 +11:00
Peter Barker
20c91c03a2 AP_OpticalFlow: rename OpticalFlow.cpp to AP_OpticalFlow.cpp 2021-12-28 10:16:20 +11:00
Peter Barker
6936a8eb6e GCS_MAVLink: adjust for rename of OpticalFlow.h to AP_OpticalFlow.h 2021-12-28 10:16:20 +11:00
Peter Barker
f99f2bd8ab AP_Scripting: adjust for rename of OpticalFlow.h to AP_OpticalFlow.h 2021-12-28 10:16:20 +11:00
Peter Barker
3030c0b4f8 AP_OpticalFlow: adjust for rename of OpticalFlow.h to AP_OpticalFlow.h 2021-12-28 10:16:20 +11:00
Peter Barker
e8fc4b33e1 AP_OpticalFlow: move OpticalFlow.h to AP_OpticalFlow.h 2021-12-28 10:16:20 +11:00
Andrew Tridgell
6a2303f72d hwdef: enable telem3 (SERIAL5) TX on Pix32v5
this is now safe as we disable the TX/RX pins on ports with
SERIALn_PROTOCOL = -1

as this board defaults to protocol -1 for SERIAL5, we can enable this
if the user wishes to use telem3
2021-12-28 10:13:58 +11:00
Andrew Tridgell
97fee2d1cc AP_VisualOdom: added VOXL backend type
this will make it easier to have custom behaviour for VOXL
2021-12-27 12:32:41 +11:00
Andrew Tridgell
8654ea886d AP_VisualOdom: support error estimates with quaternion 2021-12-27 12:32:41 +11:00
Andrew Tridgell
20dd667fdc GCS_MAVLink: support ODOMETRY message for VIO
used by VOXL
2021-12-27 12:32:41 +11:00
Andrew Tridgell
05f112ea17 SITL: support simulation of ODOMETRY message 2021-12-27 12:32:41 +11:00
Samuel Tabor
71596c2c9f autotest: Add a test for GLIDE_SLOPE_THR 2021-12-27 11:27:52 +11:00
Samuel Tabor
a715472353 Plane: Specify starting location to set_offset_altitude_location 2021-12-27 11:27:52 +11:00
Nikolay March
cceae1acf3 hwdef: Redefine DMA priority PH4-mini
BUG.
Without redefining priority there is no DMA on any RX of serial ports.
Now it is.
Without DMA, you cannot normally use the serial port for the CRSF protocol.
2021-12-27 11:25:51 +11:00
Shiv Tyagi
442e783214 Tools: fix DataFlashSITL autotest
Co-Authored-By: Peter Barker <7077857+peterbarker@users.noreply.github.com>
2021-12-25 09:14:31 +11:00
Shiv Tyagi
fa6adc0beb SITL: add JEDEC dataflash simulator
We currently use AP_Logger_SITL for this purpose but we can instead add a dataflash simulator which can work with existing AP_Logger_Dataflash backend instead of using AP_Logger_SITL.

Co-Authored-By: Divyateja Pasupuleti <divyateja2004@gmail.com>
2021-12-25 09:14:31 +11:00
Shiv Tyagi
3533e1e0ed AP_Logger: remove AP_Logger_SITL
We now use jedec dataflash simulator for this purpose. Hence, we should remove these files and all references to HAL_LOGGING_SITL_ENABLED

Co-Authored-By: Divyateja Pasupuleti <divyateja2004@gmail.com>
2021-12-25 09:14:31 +11:00
Shiv Tyagi
af950e266b AP_HAL_SITL: add dataflash to spi device table
We simulate jedec flash for logging. Hence, we need to add dataflash to device table. Also, we need to remove HAL_LOGGING_SITL_ENABLED since we no longer need it

Co-Authored-By: Divyateja Pasupuleti <divyateja2004@gmail.com>
2021-12-25 09:14:31 +11:00
Hwurzburg
18e427d27d Plane: add Q_OPTION to force fw trans on fail instead of QLAND 2021-12-24 13:55:15 +11:00
Peter Barker
939407a26f AP_NMEA_Output: remove pointless use of intermediate res variables 2021-12-23 21:04:18 +11:00
Leonard Hall
8c7414e932 Copter: Constrain vertical speed in loiter_to_alt_run 2021-12-23 11:21:40 +09:00
Peter Barker
97ea8b52af AP_Baro: KellerLD: clean up reading of calibration data
Co-authored-by: Josh Henderson <hendjoshsr71@gmail.com>

Checks all return values from transfer functions to avoid use of
uninitialised data.
2021-12-22 18:50:58 +11:00
yaapu
c0663da918 AP_RCTelemetry: added ExpressLRS support 2021-12-22 18:48:49 +11:00
yaapu
55bfa41d13 AP_RC_Protocol: added ExpressLRS support 2021-12-22 18:48:49 +11:00
yaapu
76bd10bf02 AP_RCProtocol: added custom telemetry frame types and subtypes to debug trace 2021-12-22 18:48:49 +11:00
mateksys
ac49b2a3c8 Tools: add MatekF405-TE bootloader and autobuild 2021-12-22 18:47:37 +11:00
mateksys
be601acd89 AP_HAL_ChibiOS: add MatekF405-TE hwdef 2021-12-22 18:47:37 +11:00
Iampete1
2154738421 Plane: Quadplane: only advance to QPOS_POSITION2 once tilts have finished slewing 2021-12-22 18:46:14 +11:00
Iampete1
eac52fe08f Plane: quadplane: don't ouput VTOL throttle on tiltrotor with no VTOL motors and till fully forward 2021-12-22 18:46:14 +11:00
Peter Hall
98c5704b92 AP_TECS: add reset throttle I function 2021-12-22 18:46:14 +11:00
Iampete1
6116eaeb32 Plane: quadplane: enhance tiltrotor transtion to better deal with tiltrotors with all motors tilting 2021-12-22 18:46:14 +11:00
Andy Piper
fbaa2e7b09 AP_Math: allow selection of inline version of vector operations for performance. 2021-12-22 18:23:33 +11:00
Andy Piper
fbdeea2d03 Filter: optimize hot parts of notch filter updates 2021-12-22 18:23:33 +11:00
Andy Piper
6e3b502110 AP_InertialSensor: inline vector ops for backends and temp cal 2021-12-22 18:23:33 +11:00
Andy Piper
dbcc8215fa autotest: setup FFT harmonics correctly for dynamic harmonics.
octacopter notches test
2021-12-22 18:13:38 +11:00
Andy Piper
9ba1cbc9d8 AP_Vehicle: log up to 12 harmonic notch frequencies 2021-12-22 18:13:38 +11:00
Andy Piper
c50ccd1d09 AP_GyroFFT: use harmonics for harmonics and number of notches elsewhere
modify energy based on peak width
always log harmonic notch frequencies
2021-12-22 18:13:38 +11:00
Andy Piper
aefc97fafa Plane: use calculated number of notches for dynamic harmonic 2021-12-22 18:13:38 +11:00
Andy Piper
e1c75b2c15 Copter: use calculated number of notches for dynamic harmonic 2021-12-22 18:13:38 +11:00
Andy Piper
5259272326 AP_HAL_Empty: remove redundant harmonics from DSP 2021-12-22 18:13:38 +11:00
Andy Piper
fa91e74fde AP_HAL_SITL: remove redundant harmonics from DSP 2021-12-22 18:13:38 +11:00
Andy Piper
2fab99d647 AP_HAL_ChibiOS: remove redundant harmonics from DSP 2021-12-22 18:13:38 +11:00
Andy Piper
d4024d9216 AP_HAL: allow configuration of maximum number of notches based on MCU type
increase notch filters in SITL
remove redundant harmonics from DSP
2021-12-22 18:13:38 +11:00
Andy Piper
d44478ff59 AP_InertialSensor: calculate number of notches based on motor count
configure default harmonics if dynamic harmonics
set number of notches correctly for FFT operation
include static notch in filter calculation and allow harmonic options on static notch
2021-12-22 18:13:38 +11:00
Andy Piper
34920ebd60 Filter: allow harmonics and notch-per-motor in harmonic notch
allow default harmonics to be configured
allow combination of harmonics and indpendent centre frequencies
pre-calculate number of harmonics
2021-12-22 18:13:38 +11:00
Randy Mackay
4e405244b9 Rover: 4.1.3-rc2 release notes 2021-12-22 11:02:42 +09:00
Randy Mackay
541fae5d4f Copter: 4.1.3-rc2 release notes 2021-12-22 11:02:33 +09:00
arbalasquide
fd3c83c0d1 AP_Math: Add AUS_TO_MAH definition 2021-12-22 07:52:03 +11:00