Commit Graph

76 Commits

Author SHA1 Message Date
Peter Barker 1ce391c6e8 AP_RCTelemetry: re-order initialiser lines so -Werror=reorder will work 2024-09-24 22:50:28 +10:00
Peter Barker 5c3aa91721 AP_RCTelemetry: add missing gate for AP_VIDEOTX_ENABLED
possible nullptr issue?
2024-08-12 17:52:04 +10:00
Andy Piper 651f4f15eb AP_RCTelemetry: use get_max_rpm_esc() 2024-06-26 17:36:54 +10:00
Andrew Tridgell 01f02867a6 AP_RCTelemetry: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +10:00
Peter Barker db6245bb66 AP_CRSF_Telem: add missing VideoTX include
We use the vtx singleton in here, so we need the header.

... also fix up the includes and ifdefs a little.
2024-06-03 17:51:47 +10:00
Andy Piper 304751e162 AP_RCTelemetry: only update VTX parameters if CRSF provider was enabled 2024-05-29 17:49:08 +10:00
Andy Piper 3a4fdb16a8 AP_RCTelemetry: add support for baro/vario CRSF frames 2024-05-22 17:15:04 +10:00
rmaia 30ea932e9b AP_RCTelemetry: add extended RC link stats OSD fields
Adds RSSI dBm, SNR, LQ, Tx power and active antenna OSD fields
2024-04-02 10:30:24 +11:00
Andy Piper c3ba0dd95e AP_RCTelemetry: convert Spektrum telemetry to use telemetry library 2024-03-18 14:12:25 +11:00
Andrew Tridgell dd4bd3de69 AP_RCTelemetry: fixed check for BLHeli support 2024-03-18 14:12:25 +11:00
Andy Piper cd6ed219f7 AP_RCTelemetry: add CRSF binding API 2024-03-12 10:16:08 +11:00
Peter Barker cca292f222 AP_RCTelemetry: correct CSRF->CRSF
Co-authored-by: Andy Piper <github@andypiper.com>
Co-authored-by: Andrew Tridgell <andrew@tridgell.net>
2024-02-19 21:38:39 +11:00
Peter Barker b48b26ddb8 AP_RCTelemetry: add and use AP_BATTERY_ENABLED 2024-02-06 11:01:02 +11:00
Andy Piper 567c7a2b1b AP_RCTelemetry: check that CRSF and GHST have been detected before sending a version ping or doing rf changes 2024-01-17 18:31:15 +11:00
Peter Barker 57b1ab3ad9 AP_RCTelemetry: make AHRS attitude member variables private 2024-01-14 12:47:47 +11:00
Andy Piper 0da6989c8e AP_RCTelemetry: IRC Ghost protocol 2024-01-10 18:32:53 +11:00
olliw42 61aec54ea7 AP_RCTelemetry: throttle CRSF request RX device info messages 2023-11-14 10:36:56 +11:00
Peter Barker 93cd64ad36 AP_RCTelemetry: allow for compilation without AP_RTC_ENABLED 2023-10-11 19:17:27 +11:00
Peter Barker 0cc9484b2d AP_RCTelemetry: remove some uses of gcs singleton 2023-10-03 09:47:38 +11:00
Peter Barker a8d11db490 AP_RCTelemetry: allow more libraries to compile with no HAL_GCS_ENABLED 2023-09-05 22:23:51 +10:00
Henry Wurzburg 4ae8379616 AP_RCTelemetry:Surpress DMA warning on H7 bds 2023-08-27 16:18:10 +01:00
Peter Barker 8dad537b6f AP_RCTelemetry: remove intermediate option_is_enabled methods for RC_Channel 2023-06-14 17:39:43 +10:00
Peter Barker 1f565295a3 AP_RCTelemetry: use minimize_features.inc for more features 2023-06-06 10:14:02 +10:00
Peter Barker c50b996015 AP_RCTelemetry: add and use AP_RCPROTOCOL_CRSF_ENABLED 2023-04-27 18:31:30 +10:00
Peter Barker 6ebd73f144 AP_RCTelemetry: add and use AP_RCTelemetry_config.h 2023-03-21 08:47:53 +11:00
Andrew Tridgell 3bead4f88a AP_RCTelemetry: fixed warning with gcc 12.2 2023-02-19 13:26:54 +11:00
Peter Barker e4d827a3d6 AP_RCTelemetry: add support for AP_VIDEOTX_ENABLED 2023-02-07 16:54:40 +11:00
Andy Piper 78c70c74dc AP_RCTelemetry: report CRSF link rate rather than mode.
Encode actual protocol being used
cleanup is_elrs() and version numbers
2022-12-22 18:38:31 +00:00
Mingchen Zhang bb18372d95 Add RC_OPTIONS feature gating of crsf flight mode star 2022-11-29 10:30:47 +11:00
Mingchen Zhang ad6355c029 Add * to the end of flight mode string in CRSF 2022-11-29 10:30:47 +11:00
Peter Barker 720bfc8dc8 AP_RCTelemetry: CRSF telemetry depends on SPortPassthrough 2022-11-15 18:44:45 +11:00
Peter Barker 6f9a6d2973 AP_RCTelemetry: tidy AP_SerialManager.h includes 2022-11-08 09:49:19 +11:00
Peter Barker c3c6842e5a AP_RCTelemetry: include required AP_Vehicle_Type header 2022-11-02 18:35:48 +11:00
Peter Barker 79b22a7ed8 AP_RCTelemetry: move defaulting of HAL_CRSF_TELEM_ENABLED to minimize_features.inc 2022-11-01 10:59:14 +11:00
jackhong12 4a4f361a17 all: use CLASS_NO_COPY() macro 2022-10-04 11:23:04 +11:00
Peter Barker bdc848743d AP_RCTelemetry: add and use AP_RPM_ENABLED 2022-09-20 09:28:27 +10:00
Andy Piper 25785e12d9 AP_RCTelemetry: don't spam mode changes on CRSF startup
rewrite device ping bootstrap to avoid ping flood
enable device pings on CRSF in the event of TX loss.
only send pings if not negotiating the version
2022-06-15 17:20:36 +10:00
Peter Barker 0e8ac68af4 AP_RCTelemetry: tidy includes 2022-05-03 09:14:58 +10:00
Andy Piper 13464ebb20 AP_RCTelemetry: check EKF checks against failsafe defaults. 2022-04-12 11:14:44 +10:00
Josh Henderson 56a30617e2 AP_RCTelemetry: add define AP_AIRSPEED_ENABLED 2022-01-19 18:21:32 +11:00
yaapu c0663da918 AP_RCTelemetry: added ExpressLRS support 2021-12-22 18:48:49 +11:00
Andrew Tridgell 178ae9e0c1 AP_RCTelemetry: use have_serial when detecting
avoid find_serial() as it changes port options
2021-12-21 11:07:44 +11:00
Jaaaky 8512652511 AP_RCTelemetry: Fix multi #include's 2021-12-21 10:38:46 +11:00
Hwurzburg a18a4e5719 AP_RCTelemetry: add RC option to report CRSF LQ as RSSI
Co-author: Jules Gilson <julesgilson@yahoo.co.uk>
2021-12-21 10:04:33 +11:00
yaapu b97e335940 AP_CRSF_Telem: adjusted status text frame size based on actually used bytes 2021-11-01 21:32:24 +11:00
yaapu 1850851869 AP_CRSF_Telem: adjusted flight mode frame length based on actually used bytes 2021-11-01 21:32:24 +11:00
Andy Piper e1fdab8423 AP_RCTelemetry: don't enter parameter mode while armed.
exit parameter mode quickly on ping
construct and respond to ping frames correctly
2021-09-21 10:41:58 +10:00
Willian Galvani c08e04a16a AP_RCTelemetry: update to use capacity_remaining_pct() as a bool 2021-09-08 17:17:41 +10:00
yaapu d91e2008d3 AP_RCTelemetry: incremented WFQ scheduler slots to 20 2021-08-25 17:13:16 +10:00
Andrew Tridgell fed927f1a4 AP_RCTelemetry: fixed CRSF build dependency issue
found on custom.ardupilot.org
2021-08-20 06:46:15 +10:00