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
arBalasquide
10b4eebce4
AP_BattMonitor: Add calculate_mah, add unit tests
2021-12-22 07:52:03 +11:00
Josh Henderson
74fa47a3bb
Tools: fix flash size reporting due to crash_log
2021-12-21 20:33:00 +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
Andrew Tridgell
db0f06fb58
Plane: update release notes for 4.1.6beta1
2021-12-21 13:21:50 +11:00
Andrew Tridgell
244f0f3e45
Tools: auto-build PixC4-Jetson
2021-12-21 13:05:34 +11:00
Brad Stinson
55d82a4cd8
Tools: build 8MHz IO firmware
2021-12-21 13:05:34 +11:00
Brad Stinson
cd39110b68
hwdef: add support for PixC4-Jetson
...
add support for building IOMCU with F103 and 8MHz clock
2021-12-21 13:05:34 +11:00
Brad Stinson
0b7d7017e6
Tools: add prebuilt iofirmware for f103 8MHz
2021-12-21 13:05:34 +11:00
Andrew Tridgell
a39040d864
AC_AutoTune: limit autotune target rates to parameter limits
...
this makes it safer to autotune a large vehicle which may become
unstable at very high target rates
2021-12-21 11:02:51 +09:00
Andrew Tridgell
53f1fc1295
AC_AttitudeControl: added get_ang_vel_yaw_max_rads()
2021-12-21 11:02:51 +09:00
Peter Barker
7ebf45616d
Tools: scripts: copy param_parse.py JSON output as part of build_parameters.sh
...
This will populate https://autotest.ardupilot.org/Parameters/ArduCopter/
with the json output
2021-12-21 11:55:51 +11:00
Peter Barker
dfa373c1d7
autotest: param_parse.py: correct JSON output
2021-12-21 11:55:51 +11:00
Andrew Tridgell
178ae9e0c1
AP_RCTelemetry: use have_serial when detecting
...
avoid find_serial() as it changes port options
2021-12-21 11:07:44 +11:00