Commit Graph

53432 Commits

Author SHA1 Message Date
Andrew Tridgell 7928fa6e69 Filter: added a NotchFilter test suite 2022-06-12 15:39:44 +10:00
Andrew Tridgell 7c782dda88 Filter: fixed ordering of samples in notch reset 2022-06-12 15:39:44 +10:00
Andrew Tridgell d653499efc AP_InertialSensor: count filters to match notch options
this allows for much more complex filter setups as long as not
filtering on all IMUs
2022-06-12 15:39:44 +10:00
Andrew Tridgell d07761cfd9 Filter: fixed reset of notch filters
when we reset a notch we need to init the stored values to the current
value, rather than assuming that zero is the right value

this matters when switching IMUs in flight when we are only running
notch filters on the active gyro
2022-06-12 15:39:44 +10:00
Andrew Tridgell a37f268dc6 Ap_Inertialsensor: by default only run harmonic notch on the active gyro
this should save quite a lot of CPU. Only the active gyro impacts
vehicle flight
2022-06-12 15:39:44 +10:00
Andrew Tridgell 9e3a29bf86 Filter: added EnableOnAllIMUs option to harmonic notch filter 2022-06-12 15:39:44 +10:00
Peter Barker 74bd48f1d1 Rover: stop passing serialmanager into beacon constructor 2022-06-11 16:02:37 +10:00
Peter Barker cb46764bad ArduCopter: stop passing serialmanager into beacon constructor 2022-06-11 16:02:37 +10:00
Peter Barker 39b7f63140 AP_Beacon: stop passing serialmanager into beacon constructor 2022-06-11 16:02:37 +10:00
Dr.-Ing. Amilcar do Carmo Lucas d3eae308da Filter: NFC spell corrections in comments 2022-06-11 08:43:03 +09:00
Andrew Tridgell 8441f4a130 autotest: fixed FETTec bad mask test
can support up to 15 outputs with FETTec now
2022-06-10 13:46:43 +10:00
Andrew Tridgell c01e21dcb3 AP_FETtecOneWire: cleanup mask handling
use unsigned masks
2022-06-10 13:46:43 +10:00
Andrew Tridgell 3a1fc0f338 AP_ESC_Telem: disable ESC telem with zero channels
this prevents a build error and saves flash
2022-06-10 13:46:43 +10:00
Andrew Tridgell cd8ff2b37a AP_ESC_Telem: added ESC_TLM_MAV_OFS parameter
this allows for the ESC telemetry to be remapped to a lower range for
GCS displays. Users often want their quadplane ESCs to show up as ESCs
1 to 8 instead of the high numbers used internally
2022-06-10 13:46:43 +10:00
Andrew Tridgell 42624bdbeb AP_Vehicle: added parameter table for ESC telemetry 2022-06-10 13:46:43 +10:00
Andrew Tridgell aedf465049 AP_ESC_Telem: support ESC telem for ESCs 13 to 32
also fix a mavlink buffer starvation issue
2022-06-10 13:46:43 +10:00
Randy Mackay 104e9202af Tools: remove AP_ToshibaCAN from waf 2022-06-10 12:08:05 +09:00
Randy Mackay cedac30a62 Copter: remove ToshibaCAN support 2022-06-10 12:08:05 +09:00
Randy Mackay b9f4998fd8 AP_Periph: remove ToshibaCAN from param descriptions 2022-06-10 12:08:05 +09:00
Randy Mackay a358357951 AP_Scripting: remove ToshibaCAN support 2022-06-10 12:08:05 +09:00
Randy Mackay 2a264b0331 SRV_Channel: remove ToshibaCAN support 2022-06-10 12:08:05 +09:00
Randy Mackay 85b9e6e57c GCS_MAVLink: remove ToshibaCAN support 2022-06-10 12:08:05 +09:00
Randy Mackay 533a16287e AP_CANManager: remove ToshibaCAN support 2022-06-10 12:08:05 +09:00
Randy Mackay d503246be2 AP_Arming: remove ToshibaCAN support 2022-06-10 12:08:05 +09:00
Randy Mackay 02faacf448 AP_ToshibaCAN: remove support 2022-06-10 12:08:05 +09:00
Andrew Tridgell d85fe81537 AP_EFI: fixed bug in Lutan driver
we need to send an initial request pkt if no data from Lutan
2022-06-09 21:10:37 +10:00
Andrew Tridgell 9ddd1afb34 AP_EFI: added DroneCAN EFI driver 2022-06-09 21:10:37 +10:00
Andrew Tridgell 465dbd89f4 AP_UAVCAN: support DroneCAN EFI 2022-06-09 21:10:37 +10:00
Andrew Tridgell f728894eec AP_Periph: added EFI support 2022-06-09 21:10:37 +10:00
Andrew Tridgell b7ddcdfb71 Tools: added MatekL431-EFI bootloader 2022-06-09 21:10:37 +10:00
Andrew Tridgell 085413865a hwdef: added MatekL431-EFI 2022-06-09 21:10:37 +10:00
Andrew Tridgell 0fad35112f AP_EFI: allow EFI to be used in AP_Periph 2022-06-09 21:10:37 +10:00
Andrew Tridgell 25d231187f AP_Periph: added RNGFND_MAX_RATE parameter
prevent duplicate samples and allow setting of maximum rate we sample
rangefinder
2022-06-09 16:51:56 +10:00
Andrew Tridgell 998072f600 AP_Scripting: setup axis filters when starting an axis 2022-06-09 13:15:13 +10:00
Andrew Tridgell 4bc697dfa2 AP_Scripting: added QUIK_AUTO_SAVE option
allows tuning with 2 position switch
2022-06-09 13:15:13 +10:00
Andy Piper 3935971e46 Tools: add MambaH743 to manifest generator 2022-06-08 21:44:21 +10:00
Andy Piper fafa4158dd AP_HAL_ChibiOS: hwdef for MambaH743v4
support BMI270 on MambaH743v4 and increase flash SPI clock
add bi-directional dshot to MambaH743
add README and pinout for MambaH743
2022-06-08 21:44:21 +10:00
Andy Piper 11f5d1974a AP_InertialSensor: don't print error when probing non-existant BMI270
fix device locking at startup on BMI270
2022-06-08 21:44:21 +10:00
Andy Piper f666ed8ec7 AP_Logger: support W25N01GV flash chips
add separate driver for W25N01GV triggered via HAL_LOGGING_DATAFLASH_DRIVER
move flash_test() into AP_Logger_Block.
cleanup use of 4k sector commands to account for chips that only have block commands
2022-06-08 21:44:21 +10:00
Andy Piper f952fe8a37 AP_Bootloader: add MambaH743v4 board id 2022-06-08 21:44:21 +10:00
Andy Piper 77928b5688 bootloaders: add MambaH743v4 bootloader 2022-06-08 21:44:21 +10:00
Peter Barker 686f2f8ef4 Rover: reduce and move includes
A lot of this stuff has moved up to AP_Vehicle or is only used in Parameters.h
2022-06-08 21:14:57 +10:00
Andy Piper 6cacdd1b34 AP_InertialSensor: properly reset MPU6000 signal path at startup
failure to reset the signal path as per the register spec leads to
very poor temperature response early on in startup.
2022-06-08 17:44:17 +10:00
Andy Piper fe29324828 AP_RCProtocol: check for bad frames in CRSF decoding. 2022-06-08 17:35:03 +10:00
Iampete1 702245f89e AP_Math: calc_lowpass_alpha_dt: remove unused constrain 2022-06-08 17:11:08 +10:00
Iampete1 34609d327d Plane: Quadplane: force convertions of Q_M_PMW_* params if invalid and add arming check 2022-06-08 17:08:23 +10:00
Andrew Tridgell eed14b3688 AP_Airspeed: fixed autotest for copter param parse
This command was failing:

  Tools/autotest/param_metadata/param_parse.py --vehicle Copter

I don't understand why it starts to fail now, but this is the fix
2022-06-08 09:23:04 +10:00
Pierre Kancir 02e23302be Tools: fix line ending 2022-06-08 08:16:42 +09:00
Pierre Kancir 83dd5be637 AP_NavEKF: fix line ending 2022-06-08 08:16:42 +09:00
Pierre Kancir 0c9060753e AP_MSP: fix line ending 2022-06-08 08:16:42 +09:00