Andrew Tridgell
146f394d64
HAL_ChibiOS: include fatfs format code
2021-12-28 16:04:57 +11:00
Andrew Tridgell
45bfc75e4b
AP_Compass: added register checking for AK09916 mode
...
this allows AK09916 on I2C to recover from a power outage in flight
2021-12-28 16:04:36 +11:00
Andrew Tridgell
336b666f83
Plane: fixed stick mixing and throttle nudge in QRTL approach
...
thanks to Henry for noticing this
2021-12-28 16:04:12 +11:00
Andrew Tridgell
a33febd90a
AP_NavEKF3: fixed gaps in EKF logging
...
timestamps should not be static as otherwise some lanes will not be
logged
2021-12-28 16:03:47 +11:00
Andrew Tridgell
52209d9d1a
AP_NavEKF2: fixed gaps in EKF logging
...
timestamps should not be static as otherwise some lanes will not be
logged
2021-12-28 16:03:47 +11:00
Andrew Tridgell
281f041abb
hwdef: fixed debug pins on two boards bootloaders
2021-12-28 10:31:25 +11:00
Andrew Tridgell
237e71b95f
AP_BoardConfig: disable STLink debug pins by default
...
this avoids leaving the debug pins in a state where they may be
vulnerable to ESD issues
2021-12-28 10:31:25 +11:00
Josh Henderson
d410533424
Tools: fix Build_Summary when more than one targert
2021-12-28 10:27:10 +11:00
Peter Barker
d8d73eb44c
AP_OpticalFlow: adjust for backend file name change
2021-12-28 10:16:20 +11:00
Peter Barker
3a22ee2cc7
AP_OpticalFlow: rename OpticalFlow_backend files to include AP_
2021-12-28 10:16:20 +11:00
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