MallikarjunSE
eb8cfea507
AP_HAL_ChibiOS: Sierra-F412 support
2021-12-29 10:12:40 +11:00
Andrew Tridgell
7c57e1521c
AP_Filesystem: support formatting of SDcard on ChibiOS
2021-12-28 16:04:57 +11:00
Andrew Tridgell
61ecf0c443
HAL_ChibiOS: cleanup SDMMC enable defines
...
ensure both are set
2021-12-28 16:04:57 +11:00
Andrew Tridgell
f8e4d7facd
GCS_MAVLink: support formatting of SD card
2021-12-28 16:04:57 +11:00
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
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
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
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
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
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
Peter Barker
939407a26f
AP_NMEA_Output: remove pointless use of intermediate res variables
2021-12-23 21:04:18 +11: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
be601acd89
AP_HAL_ChibiOS: add MatekF405-TE hwdef
2021-12-22 18:47:37 +11:00
Peter Hall
98c5704b92
AP_TECS: add reset throttle I function
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
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
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
arbalasquide
fd3c83c0d1
AP_Math: Add AUS_TO_MAH definition
2021-12-22 07:52:03 +11:00
arBalasquide
10b4eebce4
AP_BattMonitor: Add calculate_mah, add unit tests
2021-12-22 07:52:03 +11:00
Andrew Tridgell
08ca708347
AP_SerialManager: fixed AP_Periph GPS
...
the disable of RX/TX pins broke AP_Periph on boards that don't enable
the GCS, as they don't have the SERIALn parameters, so we disable the
UART pins of the GPS
2021-12-21 20:14:55 +11:00
Andrew Tridgell
ba58558bd1
SITL: fixed default BATT_CAPACITY for SITL
...
don't override from JSON model unless we have a value
2021-12-21 19:53:43 +11:00
Mingchen Zhang
61e0c5b6e7
AP_SmartAudio: fix a bug that would starve the lower priority thread, such as scripting.
2021-12-21 16:03:44 +09:00
Randy Mackay
e41cad8bd7
SRV_Channel: minor param desc format fix
2021-12-21 14:45:49 +09:00