Iampete1
c31e54b5bb
AP_CustomRotations: fix param refrencing
3 years ago
Andy Piper
6355934a36
AP_HAL: add bitwidth hal definitions.
...
revert to original bitwidths for neopixel and profiled
add proper neopixel test that observes spec'ed timings
3 years ago
Andy Piper
df35cb6243
AP_HAL_ChibiOS: move bitwidths to AP_HAL
3 years ago
Andy Piper
89ea5dc12c
AP_RCProtocol: flush CRSF telemety writes
3 years ago
Andy Piper
eaa414bb0c
AP_HAL_ChibiOS: implement pseudo-flushing for buffered UARTS
3 years ago
Andrew Tridgell
05bda89516
Tools: rebuild peripheral bootloaders
...
get longer timeout to make updating firmware remotely using CAN over
mavlink possible over slow links. This helps with supporting users
remotely
3 years ago
Andrew Tridgell
51fa26c505
Tools: added options to board_list.py
...
make it easier to rebuild all bootloaders for AP_Periph with:
./Tools/scripts/board_list.py AP_Periph --per-line | xargs -i ./Tools/scripts/build_bootloaders.py '{}'
3 years ago
yuri-rage
eaa62fb490
AP_HAL: remove BRD_PWM_COUNT reference
3 years ago
Andrew Tridgell
e73f868fc0
HAL_ChibiOS: disable fatal exceptions for DMA errors
...
this zeros-watchdog was caused by a SPI DMA error on STM32F405:
https://discuss.ardupilot.org/t/crash-with-4-2-0-beta-and-4-3-0-daily-bdshot/83297
we had incorrectly left these internal errors enabled when asserts
were not enabled. That led to a osalSysHalt()
without these we get an spi_fail internal error, caught by the
SPIDevice code
3 years ago
Lee Yong Ler
c523aa3460
Tools: Update GIT_Success.txt
3 years ago
Henry Wurzburg
0d01ac389c
Plane: add Q_OPTION for RTL always on RC failsafe for ship landing
3 years ago
Andrew Tridgell
ed1a5c086b
AP_Logger: removed annoying message on missing logs
3 years ago
Andrew Tridgell
93b55e367e
AP_Logger: fixed log listing with gap, and EKF error on log list
...
this fixes two issues:
The first issue that if we are missing a log file in the middle of the
list then it was not possible to download recent logs, as we get the
incorrect value for total number of logs. This happened for me with
107 logs, with log62 missing from the microSD. It would only show 45
available logs, so the most recent logs could not be downloaded.
The second issue is that get_num_logs() was very slow if there were a
lot of log files in a directory. This would cause EKF errors and ESC
resets. Using a opendir/readdir loop is much faster (approx 10x faster
in my testing with 107 logs on a MatekH743).
3 years ago
Peter Barker
29785dabca
Rover: use rangefinder distance() rather than distance_cm
3 years ago
Peter Barker
348f0ad590
SITL: add SIM_SONAR_ROT, use it for measuring horizontal distances
3 years ago
Peter Barker
1340132f6f
autotest: add rangefinder test
3 years ago
xianglunkai
f7f053191a
AP_Logger: must set default fd = -1
3 years ago
Iampete1
a7abfeeb4a
SITL: allow cutom motor postions and thrust vectors to be specified
3 years ago
Iampete1
c4518e5cb7
SITL: motor: use postion and thrust vector
3 years ago
Iampete1
47f327b500
SITL: allow Vector3f inertia to be set via JSON
3 years ago
Iampete1
6272dc33dd
SITL: move moments inertia to frame property
3 years ago
Iampete1
7936f3bb0a
SITL: move motor related constants to motor object
3 years ago
Andrew Tridgell
db14ba46dc
AP_InertialSensor: call notch param update with semaphore held
3 years ago
Andrew Tridgell
bccca9ed2e
AP_GyroFFT: added defaults for FFT with no notch
...
allow for testing with FFT enabled, and defaulting number of
frequencies to look for
3 years ago
Andrew Tridgell
dff0e5ecc1
AP_InertialSensor: fixed the last notch values to be per-instance
...
thanks to Andy for noticing this
3 years ago
Andrew Tridgell
e0bb717231
AP_GyroFFT: skip disabled notches
3 years ago
Andrew Tridgell
184f84f4ee
AP_InertialSensor: don't update disabled notches
3 years ago
Andrew Tridgell
492e203fd2
AP_GyroFFT: allow for 2 FFT based notches
3 years ago
Andrew Tridgell
301c56d30a
AP_Vehicle: implement common harmonic notch update code
3 years ago
Andrew Tridgell
15084cb6f3
Plane: moved harmonic notch update code to AP_Vehicle
3 years ago
Andrew Tridgell
eb4a70f613
Copter: moved harmonic notch update code to AP_Vehicle
3 years ago
Andrew Tridgell
e6b56ce9ba
AP_RPM: use HarmonicNotch class
3 years ago
Andrew Tridgell
86db91e3b4
AP_GyroFFT: use HarmonicNotch class
3 years ago
Andrew Tridgell
ddab3f02ca
AP_Arming: use HarmonicNotch class
3 years ago
Andrew Tridgell
e2e1e74da5
AP_InertialSensor: switch to HarmonicNotch class
...
this makes the logic much easier to follow, without indexes into
arrays
3 years ago
Andrew Tridgell
d7d04bc7cf
Filter: removed parameters from the old notch filter
...
saves some flash space
3 years ago
Andrew Tridgell
782e4887bc
AP_GyroFFT: only allow one harmonic notch filter to be linked to FFT
3 years ago
Andrew Tridgell
ae1e9e06c1
AP_Arming: added arming check for conflicting notch modes
3 years ago
Andrew Tridgell
7aafd5cf98
Plane: param conversion for INS_NOTCH to INS_HNTC2
3 years ago
Andrew Tridgell
1cd1519a4f
Filter: clarify meaning of 1st harmonic
3 years ago
Andrew Tridgell
d57abb1230
Plane: support harmonic notch on 2nd RPM sensor
3 years ago
Andrew Tridgell
13107dfa6d
Copter: support harmonic notch on 2nd RPM sensor
3 years ago
Andrew Tridgell
7272a29b7b
Filter: added RPM2 harmonic notch type
3 years ago
Andrew Tridgell
c03436b5e4
Copter: update for changed INS_NOTCH parameter name
3 years ago
Andrew Tridgell
c1d841dd93
Plane: support two full harmonic notch filters
3 years ago
Andrew Tridgell
8d187f4bc6
Copter: support two full harmonic notch filters
3 years ago
Andrew Tridgell
a2fc4d909d
AP_Vehicle: support two full harmonic notch filters
3 years ago
Andrew Tridgell
ac50d3cc9f
AP_RPM: support two full harmonic notch filters
3 years ago
Andrew Tridgell
e67d9b4179
AP_InertialSensor: support two full harmonic notch filters
3 years ago
Andrew Tridgell
622ad2a088
AP_GyroFFT: support two full harmonic notch filters
3 years ago