Commit Graph

47412 Commits

Author SHA1 Message Date
yaapu
e1f97becab AP_Frsky_Telem: added fence status data to frame 0x5001 2021-05-12 17:46:00 +10:00
Andy Piper
1700ab814e AP_Bootloader: change id to AP range 2021-05-12 17:26:35 +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
319a6404c4 Tools: add KakuteF4Mini to board types and scripts 2021-05-12 17:26:35 +10:00
Andy Piper
43ea90f264 Tools: KakuteF4Mini bootloader 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
bugobliterator
4b2552b32b bootloaders: rebuild bootloaders 2021-05-12 17:21:14 +10:00
bugobliterator
3edf26dff9 Bootloader: complete GET_DEVICE commands before allowing timeout reset 2021-05-12 17:21:14 +10:00
Leonard Hall
ff2ae1d7d1 Plane: integrate AC_PosControl::get_roll_cd rename 2021-05-12 17:16:00 +10:00
Leonard Hall
74d22594db Sub: integrate AC_PosControl::get_roll_cd rename 2021-05-12 17:16:00 +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
1ce63bf433 Plane: minor format and comment fixes 2021-05-12 17:16:00 +10:00
Leonard Hall
a780759221 Copter: minor format fixes 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
2df7b5453e autotest: add test for ESC telemetry driven notches. 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
8e744a4a25 Plane: generalise ESC telemetry to allow harmonic notch handling with other ESCs 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
e19bf8149b Copter: generalise ESC telemetry to allow harmonic notch handling with other ESCs 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
Peter Barker
d2f78c69be autotest: add a simple test for SMART_RTL 2021-05-12 13:01:50 +10:00
Peter Barker
9965f1a31d autotest: add some helpers for local-position movement 2021-05-12 13:01:50 +10:00
Peter Barker
7ab094f3a1 autotest: tidy fly_guided_move_local 2021-05-12 13:01:50 +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
4f77f7545a Rover: disable turning at low speeds when simple avoidance is active 2021-05-11 15:31:17 +09:00
Randy Mackay
b4fd9848df AR_AttitudeControl: add get_stop_speed accessor 2021-05-11 15:31:17 +09:00
Peter Barker
1d6efbd56f autotest: fix loiter_to_ne
Co-Authored-By: leonardthall@gmail.com
2021-05-11 14:51:28 +10:00