Commit Graph

25992 Commits

Author SHA1 Message Date
yaapu
c32676adf5 AP_Frsky_Telem: added (generic) failsafe status bit to frame 0x5001 2021-05-17 13:39:58 +10:00
yaapu
dcf85bcf3b AP_Frsky_Telem: added healthy status bit to terrain frame 0x500A 2021-05-17 13:39:08 +10:00
Hwurzburg
8b0bb44cd7 fix metadata to emit RCMAP_FORWARD and _LATERAL for Rover 2021-05-17 13:38:17 +10:00
Iampete1
19dfbb19e9 AP_Windvane: set raw wind to zero if no speed sensor 2021-05-16 15:04:00 +01:00
mikeSITL
2f69281040 AP_Windvane: true wind if no windspeed fixed 2021-05-16 15:04:00 +01:00
Peter Barker
3de3f57501 RC_Channel: log which RC channels are being overridden 2021-05-15 14:49:20 +10:00
Peter Barker
f30ad1d2dc AP_Logger: log which RC channels are being overridden 2021-05-15 14:49:20 +10:00
Andrew Tridgell
45daff9f47 GCS_MAVLINK: mag health reported in SYS_STATUS should not depend on AHRS use
When using external yaw, EKF3 always reports use_compass as false,
which causes the GCS to get a bad compass health message.

thanks to Argosdyne for reporting
2021-05-14 08:05:08 +09:00
Andy Piper
f8a59a4a72 AP_HAL_ChibiOS: set inbound bitrate correctly for bi-directional dshot1200 2021-05-14 07:23:59 +10:00
Andrew Tridgell
7c7d58d2a0 HAL_SITL: fixed constructoring ordering bug in AP_ESC_Telem
on cygwin RCOutput was being constructed before AP_ESC_Telem, leading
to a panic
2021-05-13 10:21:03 +09:00
Andy Piper
8deeae7146 SRV_Channel: consolidate digital and reversible outputs to make clear the dependency 2021-05-12 21:02:42 +10:00
Andy Piper
df1086c4f3 AP_BLHeli: clean-up up digital outputs settings 2021-05-12 21:02:42 +10:00
Andy Piper
db85df1051 SRV_Channel: initialize BLHeli
make sure digital output settinsg are preserved
add accessor for digital outputs
2021-05-12 21:02:42 +10:00
Andy Piper
d70b8425f7 AP_Motors: trigger digital throttle range with digital outputs 2021-05-12 21:02:42 +10:00
Andy Piper
4905b5152d AP_BLHeli: initialize separately so that overrides work
make sure that only digital outputs are marked as digital
only rotate telemetry between digital channels
2021-05-12 21:02:42 +10:00
Leonard Hall
3530d9121f AP_Math: minor format fix to SCurve::advance_target_along_track 2021-05-12 19:53:57 +09:00
Andy Piper
db06de5c9c AP_VideoTX: correctly deal with unresolvable options requests
move power changes to middle of RC range
2021-05-12 18:03:28 +10:00
yaapu
e1f97becab AP_Frsky_Telem: added fence status data to frame 0x5001 2021-05-12 17:46:00 +10:00
Andy Piper
b33b07e43f AP_HAL_ChibiOS: fixes for KakuteF4Mini 2021-05-12 17:26:35 +10:00
Andy Piper
387812bb01 AP_HAL_ChibiOS: avoid startup scream on KakuteF4 and variants 2021-05-12 17:26:35 +10:00
Andy Piper
f0ff4a2cd4 AP_HAL_ChibiOS: hwdef for KakuteF4Mini 2021-05-12 17:26:35 +10:00
Leonard Hall
ccf06f66f7 AC_WPNav: integrate AC_PosControl::get_roll_cd rename 2021-05-12 17:16:00 +10:00
Leonard Hall
b17042078a AC_Loiter: integrate AC_PosControl::get_roll_cd rename 2021-05-12 17:16:00 +10:00
Leonard Hall
d650df3e28 AC_Circle: integrate AC_PosControl::get_roll_cd rename 2021-05-12 17:16:00 +10:00
Leonard Hall
7f1f29c1ae AC_PosControl: rename get_roll_cd get_pitch_cd 2021-05-12 17:16:00 +10:00
Leonard Hall
91e32a8339 AC_Loiter: minor format fix 2021-05-12 17:16:00 +10:00
Leonard Hall
f24a0988f4 AC_PosControl: minor formatting fixes 2021-05-12 17:16:00 +10:00
Leonard Hall
772cec5101 AC_AttitudeControl: minor format fix 2021-05-12 17:16:00 +10:00
Leonard Hall
eb07bfee2b AC_PID: minor format fixes 2021-05-12 17:16:00 +10:00
Dr.-Ing. Amilcar do Carmo Lucas
c323ee4f56 AP_Logger: improve unit names in comments.
added Ampere hours unit in LOG_ESC_MSG
log ESC volts, amps and consumption as floats
update ESC log file structures
consumption in mAh
Correct the current_tot unit,
motor_temp unit and error_rate unit in comments (<amilcar.lucas@iav.de>)
move ESC_Telem logging to the AP_ESC_Telem class (<amilcar.lucas@iav.de>)
correct log structure (<amilcar.lucas@iav.de>)
2021-05-12 17:01:11 +10:00
Andy Piper
71e7f7e476 AP_BattMonitor: refector to use AP_ESC_Telem
rename AP_BattMonitor_BLHeliESC -> AP_BattMonitor_ESC
record volts, amps and consumption as floats
Correct ESC-telemetry-based voltage and temperature (<amilcar.lucas@iav.de>)
Correct ESC-telemetry-based voltage and temperature when less than 12 ESCs are used (<amilcar.lucas@iav.de>)
fix jumps in consumed current (<amilcar.lucas@iav.de>)
Implement temperature readings (<amilcar.lucas@iav.de>)
Fix temperature scaling (<amilcar.lucas@iav.de>)
2021-05-12 17:01:11 +10:00
Andy Piper
f1078d00a3 AP_Scripting: add in ESC telemetry bindings and make optional 2021-05-12 17:01:11 +10:00
Andy Piper
8df4e0f127 AP_ESC_Telem: generalise ESC telemetry to allow harmonic notch handling with other ESCs
refactor to capture and output slewed rpm values
enable with HAL_WITH_ESC_TELEM
move notch calculation to front end
refactor telemetry data into frontend
cope with blended data
add mavlink send function
log telemetry data in frontend
add SITL ESC telemetry
record volts, amps and consumption as floats
report telemetry transmission errors
disable ESC Telemetry inclusion when there is no need for it
move ESC_Telem logging to the AP_ESC_Telem class (by amilcar.lucas@iav.de)
various cleanups (by amilcar.lucas@iav.de)
add support for raw ESC rpm
check RPM validity for mavlink output
Use const when applicable
2021-05-12 17:01:11 +10:00
Andy Piper
15fe14289d SITL: add SIM_ESC_TELEM 2021-05-12 17:01:11 +10:00
Andy Piper
fca6925129 GCS_MAVLink: use generic send_esc_telemetry_mavlink() from AP_ESC_Telem 2021-05-12 17:01:11 +10:00
Andy Piper
5d154b138a AP_Vehicle: generalise ESC telemetry to allow harmonic notch handling with other ESCs
log ESC telemetry data in frontend
2021-05-12 17:01:11 +10:00
Andy Piper
f513b1d1c2 AP_UAVCAN: add esc telemetry updates
remove send_esc_telemetry_mavlink()
remove datastructures and semaphore obsoleted by AP_ESC_Telem* (<amilcar.lucas@iav.de>)
record volts, amps and consumption as floats
2021-05-12 17:01:11 +10:00
Andy Piper
677d863401 AP_ToshibaCAN: generalise ESC telemetry to allow harmonic notch handling with other ESCs
remove send_esc_telemetry_mavlink()
log telemetry data in frontend
remove datastructures and semaphore obsoleted by AP_ESC_Telem* (<amilcar.lucas@iav.de>)
record volts, amps and consumption as floats
2021-05-12 17:01:11 +10:00
Andy Piper
70fae36a89 AP_PiccoloCAN: add ESC telemetry support
remove send_esc_telemetry_mavlink()
log telemetry data in frontend
record volts, amps and consumption as floats
2021-05-12 17:01:11 +10:00
Andy Piper
45e1b56f17 AP_OSD: generalise ESC telemetry to allow data from other ESCs 2021-05-12 17:01:11 +10:00
Andy Piper
fcc8853244 AP_MSP: generalise ESC telemetry to allow data from other ESCs
enable with HAL_WITH_ESC_TELEM
2021-05-12 17:01:11 +10:00
Andy Piper
b63d19533d AP_KDECAN: support ESC telemetry
remove send_esc_telemetry_mavlink()
log telemetry data in frontend
remove datastructures and semaphore obsoleted by AP_ESC_Telem* (<amilcar.lucas@iav.de>)
record volts, amps and consumption as floats
scale rpm correctly
2021-05-12 17:01:11 +10:00
Andy Piper
5b992de959 AP_HAL_SITL: update ESC telemetry in rcout 2021-05-12 17:01:11 +10:00
Andy Piper
6447bd1cdd AP_HAL_ChibiOS: use AP_ESC_Telem to record erpm data and error rate
don't output RPM data if bi-dir dshot is not enabled
2021-05-12 17:01:11 +10:00
Andy Piper
4f547d2acc AP_HAL: allow motor poles to be recorded
enable ESC telemetry for SITL
2021-05-12 17:01:11 +10:00
Andy Piper
6d50549476 AP_BLHeli: generalise ESC telemetry to allow harmonic notch handling with other ESCs
move part of frequency calculation into AP_ESC_Telem_Backend
factor out duplicate code into AP_ESC_Telem_Backend
remove send_esc_telemetry_mavlink()
log telemetry data in frontend
remove datastructures and API obsoleted by AP_ESC_Telem* (<amilcar.lucas@iav.de>)
record volts, amps and consumption as floats
fix wrong motor channel in telemtry update
2021-05-12 17:01:11 +10:00
Hwurzburg
7e677d1e75 SRV_Channel: Add function names for trad heli functions and tricopter 2021-05-11 22:50:09 -04:00
murata
747de2c28c AP_GPS: Change to STM32's faster processing operations 2021-05-12 06:49:03 +10:00
Andrew Tridgell
0cd97ce3d8 AP_GPS: fixed GPS yaw for GPS_INPUT mavlink 2021-05-11 17:45:46 +10:00
Randy Mackay
b4fd9848df AR_AttitudeControl: add get_stop_speed accessor 2021-05-11 15:31:17 +09:00