Commit Graph

42989 Commits

Author SHA1 Message Date
Randy Mackay
03ea646e50 GCS_MAVLink: send_battery_status uses memcpy for cell voltages
Co-authored-by: WickedShell <Wicked.Shell.Scripts@gmail.com>
2020-06-24 10:19:15 +09:00
Randy Mackay
77d6b19d86 AP_BattMonitor: Generic driver timeout definition in seconds
also remove unnecessary init of local data variable
also change assert to be more forgiving
2020-06-24 10:19:15 +09:00
Randy Mackay
3e519b25a4 AP_BattMonitor: fix comments re voltage scaling 2020-06-24 10:19:15 +09:00
Randy Mackay
912e089c18 AP_Logger: fix BCL voltage scaling
voltages are in millivolts
2020-06-24 10:19:15 +09:00
Randy Mackay
65aea0e9c1 GCS_MAVLink: send_battery_status sends min of cell 10 11 and 12 2020-06-24 10:19:15 +09:00
Randy Mackay
82423384bf AP_Logger: BCL msg logs up to 12 battery cell voltages 2020-06-24 10:19:15 +09:00
Randy Mackay
cc6298e7ac AP_BattMonitor: SMBus Generic reads up to 12 cell voltages
Checks for the highest cell for 15 seconds and then reduces the cell voltage calls to cover only those cells that actually exist

also renames SMBus _last_cell_update_us
2020-06-24 10:19:15 +09:00
Iampete1
b1c3ea467b AC_Circle: constantly update velocity from params 2020-06-24 08:57:08 +09:00
Peter Barker
bb14746517 autotest: re-enable Rover BendyRuler test
This appears to now be working
2020-06-24 08:53:04 +09:00
Randy Mackay
473b027e03 AP_Vehicle: minor formatting fix 2020-06-24 08:34:41 +09:00
Randy Mackay
5b90c98e02 AP_Scripting: add rover-set-steering-and-throttle example script 2020-06-24 08:34:41 +09:00
Randy Mackay
d665a0a440 AP_Scripting: add binding for set_desired_steering_and_throttle 2020-06-24 08:34:41 +09:00
Randy Mackay
35f0402b47 Rover: Guided mode supports direct steering and throttle control 2020-06-24 08:34:41 +09:00
Randy Mackay
73508564f7 AP_Vehicle: add set_steering_and_throttle
only for use with scripting on rover
2020-06-24 08:34:41 +09:00
Andy Piper
88cda25d62 AP_Compass: enable LIS3MDL and friends 2020-06-23 19:59:10 +10:00
Iampete1
c27bdafea4 AC_PosControl: correct VELXY_D_FILT Description 2020-06-23 11:40:12 +09:00
Rishabh
c53d42e665 AP_Scripting: Remove send_text if directory is created 2020-06-23 10:42:41 +10:00
Michael du Breuil
e4d0484b75 RC_Channel: Cope with selective overrides and no RC reciever in a healthier way 2020-06-23 09:33:30 +10:00
Michael du Breuil
e02145efa0 AP_Arming: Use control_in rather then in_trim_dz() to cope with override only vehicles 2020-06-23 09:33:30 +10:00
Leonard Hall
edadbae240 AC_AttitudeControl: Handle zero accel value correctly in angle correction. 2020-06-23 08:21:47 +09:00
Michael du Breuil
7fae084793 GCS_MAVLink: Only send a single battery status per call 2020-06-23 09:18:56 +10:00
Peter Barker
f8acc211cf Tools: AP_Bootloader: remove unused BL_WAIT_MAGIC define
This has been replaced with RTC_BOOT_HOLD
2020-06-23 09:16:42 +10:00
Henry Wurzburg
fe2a468b14 RC_Channel: fix metadata order on _OPTIONS 2020-06-22 20:56:39 +10:00
MATEKSYS
903b44da7d HAL_ChibiOS: Add DPS310 for MatekF405-WING,F765-WING and H743 2020-06-22 19:35:01 +10:00
Andy Piper
07ad4798dc AP_BLHeli: allow all motor frequencies to be returned
cater for ESCs not returning telemetry all the time
slew rpm updates for the harmonic notch
2020-06-21 19:09:35 +10:00
Andy Piper
cb524b7d3d AP_Vehicle: add function to log dynamic notch frequencies
move harmonic notch update here
2020-06-21 19:09:35 +10:00
Andy Piper
5bedf44734 Sub: log harmonic notch even if FFT is disabled 2020-06-21 19:09:35 +10:00
Andy Piper
9077d41df1 Plane: add support for tracking fft peaks and individual motor rpms with harmonic notches
log harmonic notch even if FFT is disabled. Fallback to throttle notch for BLHeli
move harmonic notch update to AP_Vehicle
2020-06-21 19:09:35 +10:00
Andy Piper
25dcc1a623 Copter: add support for individually tracking fft peaks and motor rpms with harmonic notches
log harmonic notch even if FFT is disabled. Fallback to throttle notch for BLHeli
move harmonic notch update to AP_Vehicle
2020-06-21 19:09:35 +10:00
Andy Piper
d402761a4b AP_GyroFFT: allow all three peaks to be returned so that we can have three independent harmonic notches
log dynamic harmonic notch per-peak
move health check into update() and make accessors const
use AP_Vehicle log function when necessary
2020-06-21 19:09:35 +10:00
Andy Piper
c6415136ed autotest: add a test for dynamic harmonics 2020-06-21 19:09:35 +10:00
Andy Piper
71f99542a8 Filter: allow harmonic notch center frequencies to be updated individually 2020-06-21 19:09:35 +10:00
Andy Piper
61bb42cc0c AP_InertialSensor: allow up to four distinct notch center frequencies to be updated
apply the LPF after the notch filters to reduced notch-induced noise
2020-06-21 19:09:35 +10:00
Rishabh
bd7190767e AP_Scripting: Create scripts folder automatically 2020-06-20 21:39:06 +10:00
Pierre Kancir
653a6bd0a4 Tools: remove xmlpretty, xmlint do a better job 2020-06-20 20:05:35 +10:00
Pierre Kancir
77b461fee4 Tools: add --debug-ekf to debug the EKF 2020-06-20 19:59:05 +10:00
Pierre Kancir
431468452c AP_NavEKF3: add --debug-ekf to debug the EKF 2020-06-20 19:59:05 +10:00
Pierre Kancir
9bbd2b19c2 AP_NavEKF2: add --debug-ekf to debug the EKF 2020-06-20 19:59:05 +10:00
andresrcdev
90d24042cf Tools: Added my name to GIT_Success.txt 2020-06-20 08:18:15 +09:00
Michael du Breuil
43526e718e Plane: Remove the use of RTL_RADIUS from LOITER_UNLIM mission items 2020-06-19 11:10:29 -07:00
Pierre Kancir
645ebe21e9 Tools: remove unmaintained uncrustify scripts 2020-06-19 19:03:29 +10:00
Randy Mackay
ca0ae57b56 AP_NavEKF3: protect against position-delta sensor data being NaN 2020-06-19 13:46:52 +09:00
Randy Mackay
331f2f5fe7 AP_NavEKF3: writeExtNavData stores pos to buffer first
This is a non-functional change
2020-06-19 13:46:52 +09:00
Randy Mackay
578800dfbb AP_NavEKF3: protect against ExtNav being NaN 2020-06-19 13:46:52 +09:00
Randy Mackay
989ffb79cd AP_NavEKF2: minor format fix 2020-06-19 13:46:52 +09:00
Randy Mackay
966d59a26d AP_NavEKF2: protect against ExtNav being NaN 2020-06-19 13:46:52 +09:00
Peter Barker
349c11d631 RC_Channel: comment some of our range conventions on RC channel options 2020-06-19 10:03:02 +09:00
Rishabh
47e4e9f7c9 AC_Avoid: Store 3D data in OA_DB and use 3D distance in BendyRuler 2020-06-19 09:45:34 +09:00
Rishabh
9b5922786e AP_Proximity: Push 3D data into OA_DB 2020-06-19 09:45:34 +09:00
Rishabh
0779cf436e AP_Math: Added function to calculate shortest distance betwwen point and line segment in 3D 2020-06-19 09:45:34 +09:00