Andy Piper
d873ec4533
AP_Vehicle: separate gyrofft gyro sampling from fft initiation
...
move FFT gyro sampling into fast loop for all vehicles
rename FFT update method
2020-05-24 07:43:34 +10:00
Andy Piper
13e40a3002
AP_HAL_Empty: add harmonics to DSP
...
add DSP vector mean function
add ObjectBuffer signature
2020-05-24 07:43:34 +10:00
Andy Piper
33c1523905
AP_HAL_ChibiOS: add harmonics to DSP
...
add vector_mean_float() to DSP
allow fft_start() to use ObjectBuffer<float> for lock-free access
2020-05-24 07:43:34 +10:00
Andy Piper
ee87ef7013
AP_HAL_SITL: make harmonics part of DSP
...
add vector mean function to dsp
allow fft_start() to use ObjectBuffer<float> for lock-free access
2020-05-24 07:43:34 +10:00
Andy Piper
e2ef0bd36e
AP_HAL: collect data for three largest peaks
...
new dsp peak detection algorithm
add DSP sketch with frequency ascii art
tool to generate gyro data frames from batch sampled DF logs
add generated data from real Y6B flight
allow fft_start() to use ObjectBuffer<float> for lock-free access
allow ObjectBuffer to be resized
2020-05-24 07:43:34 +10:00
Peter Barker
5bbb02e03b
SITL: add support for simulated proximity sensors
2020-05-22 17:06:16 +10:00
Peter Barker
be9fc57e8f
AP_HAL_SITL: add support for simulated RPLidarA2
2020-05-22 17:06:16 +10:00
Andy Piper
f5320e8816
AP_Compass: make sure SITL rotation gets initialized like all the others
...
don't remove a custom rotation that has already been set
2020-05-21 16:28:27 +10:00
bugobliterator
7b9f0f3fd7
HAL_ChibiOS: use FIFO mode instead of Queue mode in FDCAN driver
2020-05-21 15:32:53 +10:00
Gone4Dirt
b2d2bf61da
AP_Motors: Support autorotation windows on external governors
2020-05-20 21:56:09 -04:00
Henry Wurzburg
23e7e2d193
AP_RangeFinder: rename Benewake types for easier identification
2020-05-21 08:45:30 +09:00
Paul Riseborough
af19fea268
AP_NavEKF2: Fix 3-axis mag fusion per axis error handling
...
Ensure that if fusion checks for an axis fails, fusion will not be perfomred for all axes.
2020-05-20 15:09:32 +10:00
Buzz
d4df145b4b
ArduPlane: option to keep landing throttle at thr_min during flare and touchdown, not zero.
2020-05-20 11:29:45 +10:00
Buzz
dc3db0476b
AP_Landing: option to keep landing throttle at thr_min during flare and touchdown, not zero.
2020-05-20 11:29:45 +10:00
Andy Piper
9f02b1b1a8
AP_NavEKF2: fix typo in comment
...
Signed-off-by: Dr.-Ing. Amilcar do Carmo Lucas <amilcar.lucas@iav.de>
2020-05-20 07:29:31 +09:00
Andrew Tridgell
97f335396b
AP_Scripting: fixed memory leak
2020-05-19 09:09:48 +10:00
Peter Hall
b368188b01
AP_Scripting: add AP_Logger binding
2020-05-19 09:09:48 +10:00
Peter Hall
be37a8a2b6
AP_Scripting: add example logging serial to dataflash
2020-05-19 09:09:48 +10:00
Peter Hall
11dc3e05e3
AP_Scripting: add SD file and dataflash logging example
2020-05-19 09:09:48 +10:00
Peter Hall
19ba9abc89
AP_Logger: add function and make public for scripting use
2020-05-19 09:09:48 +10:00
Peter Hall
aa657626f2
AP_Scripting: examples: plane-wind-fs: read in CRT_MAH
2020-05-18 11:25:13 -07:00
Paul Riseborough
939331ae8d
AP_NavEKF3: Fix double iteration of axes in SelectMagFusion
2020-05-18 09:38:45 +10:00
bugobliterator
05fe49a51f
AP_Math: disable INEXACT flag from Float exception
2020-05-17 16:12:43 +10:00
bugobliterator
07907ac81d
HAL_SITL: fix gcc build on macosx
2020-05-17 16:12:43 +10:00
Mark Whitehorn
a54f286c1b
SITL: fixed running of example programs
2020-05-16 11:06:35 +10:00
Peter Barker
115751833b
AP_Logger: process pending rotate on arming
...
If the user arms the vehicle during the logging-persist-timeout we
should rotate the log immediately.
2020-05-15 16:02:09 +10:00
Randy Mackay
6c20264d9c
AP_NavEKF3: minor comment fix
2020-05-15 11:23:07 +09:00
Randy Mackay
5ad3611142
AP_NavEKF3: improve ext nav glitch handling
...
replaces extNavTimeout with posTimeout
replaces lastExtNavPassTime_ms with lastPosPassTime_ms
2020-05-15 11:23:07 +09:00
Randy Mackay
b2dd6446c8
SITL: add comment to SIM_VICON
2020-05-15 10:07:52 +09:00
Randy Mackay
b71403c11a
AP_VisualOdom: provide delay to ahrs:writeBodyFrameOdom
2020-05-15 10:07:52 +09:00
Randy Mackay
b2ad1caf75
AP_AHRS: writeBodyFrameOdom accepts delay
2020-05-15 10:07:52 +09:00
Randy Mackay
ef02942459
AP_NavEKF3: writeBodyFrameOdom accepts delay
2020-05-15 10:07:52 +09:00
Randy Mackay
69560ec147
AP_VisualOdom: provide delay to ahrs::writeExtNavData
2020-05-15 10:07:52 +09:00
Randy Mackay
762e82d49d
AP_AHRS: writeExtNavData accepts delay
2020-05-15 10:07:52 +09:00
Randy Mackay
c28fd27b02
AP_NavEKF3: writeExtNavData accepts delay
2020-05-15 10:07:52 +09:00
Randy Mackay
f26a2a47b4
AP_NavEKF2: writeExtNavData accepts delay
2020-05-15 10:07:52 +09:00
Randy Mackay
366d03a533
SITL: add VICON_YAWERR
...
this allows simulating an error in the camera's reported yaw
2020-05-15 09:22:07 +10:00
Randy Mackay
bf9ee4ada8
SITL: remove unused MAG_ERROR and VICON_HSTLEN params
2020-05-15 09:22:07 +10:00
Andrew Tridgell
fd32dff45a
AP_IOMCU: force safety off on IOMCU reset
...
if safety was forced off previously and we get an IOMCU reset then
force it off when the reset happens so vehicle can keep flying
2020-05-14 18:28:50 +10:00
mhefny
9f56b656e0
SITL: Revamp Examples to support multiple drones
2020-05-14 18:05:16 +10:00
mhefny
5a64156862
SITL: SITL-Webots timing is received from Webots only
2020-05-14 18:05:16 +10:00
Paul Riseborough
318811210f
AP_NavEKF3: Don't perform emergency yaw reset unless commanded externally
...
This limits the use of the reset to situations where it is a last ditch resort before a lane switch and failsafe.
This will limit false positives for general deployment, but still provide protection from fly-aways at the cost of some increase in reaction time.
2020-05-14 10:40:48 +10:00
Paul Riseborough
c94de61e29
AP_NavEKF2: Don't perform emergency yaw reset unless commanded externally
...
This limits the use of the reset to situations where it is a last ditch resort before a lane switch and failsafe.
This will limit false positives for general deployment, but still provide protection from fly-aways at the cost of some increase in reaction time.
2020-05-14 10:40:48 +10:00
Andrew Tridgell
fc28cd4fa2
GCS_MAVLink: fixed a ftp duplicate reply
...
this fixes a bug in burst replies where the duplicate reply may have
the wrong offset. This causes the "paramftp bad type" error
2020-05-14 09:53:42 +10:00
chobits
a7aa43f5d5
AP_NavEKF2: ext nav will not reset yaw if compass is used
2020-05-14 08:04:55 +09:00
Randy Mackay
45e6896d95
AP_NavEKF3: ensure extnav angle error is at least 5deg
2020-05-14 08:02:13 +10:00
Andy Piper
e9b939ccb5
AP_Scripting: build fix for macOS
2020-05-13 11:59:03 -07:00
Andrew Tridgell
36869f668b
AP_Scripting: fixed build on cygwin with deep directories
2020-05-12 19:55:21 +10:00
Andrew Tridgell
50db7f1648
AP_Scripting: update README.md
2020-05-12 19:55:21 +10:00
Andrew Tridgell
9cf464e570
AP_Scripting: removed the old Makefile
2020-05-12 19:55:21 +10:00