Commit Graph

176 Commits

Author SHA1 Message Date
Peter Barker 2ddec1f9f4 AP_Frsky_Telem: re-order initialiser lines so -Werror=reorder will work 2024-09-24 22:50:28 +10:00
yaapu 5b7aaae008 AP_Frsky_Telem: fix for HAL_WITH_FRSKY_TELEM_BIDIRECTIONAL = 0 2024-07-26 20:12:40 +10:00
Andy Piper d16615923d AP_Frsky_Telem: use fence enable_configured() 2024-07-24 08:24:06 +10:00
Peter Barker f3a75661d9 AP_Frsky_Telem: avoid use if int16-t read call 2024-07-02 10:14:28 +10:00
Peter Barker 6e5198a50c AP_Frsky_Telem: make AP_RANGEFINDER_ENABLED remove more code 2024-07-02 09:17:26 +10:00
Andrew Tridgell ab408bf3af AP_Frsky_Telem: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +10:00
Andy Piper 1e2621466c AP_Frsky_Telem: factor out vspeed and nav alt 2024-05-22 17:15:04 +10:00
Peter Barker 423198cef0 AP_Frsky_Telem: avoid manipulation of alt frames outside of Location object 2024-04-16 19:14:12 +10:00
Andrew Tridgell e6528eaaae AP_FrskyTelem: fixed warning on ESP32 2024-01-07 20:51:55 +11:00
Mykhailo Kuznietsov 590db701d0 AP_Frsky_Telem: Fix some typos
Fixed some typos found in the code.
2023-10-12 18:30:42 +11:00
Peter Barker 397d0baa41 AP_Frsky_Telem: allow more libraries to compile with no HAL_GCS_ENABLED 2023-09-05 22:23:51 +10:00
Peter Barker e54baf41f6 AP_Frsky_Telem: add build_options.py option to remove fencepoint protocol
also gate more code on defines

Saves ~2kB
2023-08-09 17:53:54 +10:00
Peter Barker 0d64dc5a14 AP_Frsky_Telem: rename HAL_INS_ENABLED to AP_INERTIALSENSOR_ENABLED 2023-01-03 10:28:42 +11:00
Peter Barker 10028771ea AP_Frsky_Telem: remove GCS.h from library header files 2022-11-16 18:29:07 +11:00
Peter Barker 6eae090fc8 AP_Frsky_Telem: allow FRSky to be compiled out 2022-11-15 18:44:45 +11:00
yaapu 89c30ae345 AP_Frsky_Telem: fixed roll and pitch for VTOL view 2022-10-19 18:36:58 +11:00
jackhong12 4a4f361a17 all: use CLASS_NO_COPY() macro 2022-10-04 11:23:04 +11:00
Peter Barker 7eedc88646 AP_Frsky_Telem: add and use AP_RPM_ENABLED
... and backend-specific equivalents
2022-09-20 09:28:27 +10:00
Andrew Tridgell b44a084a1e AP_Frsky_Telem: fixes from --ubsan autotest 2022-09-06 10:49:50 +10:00
Iampete1 ad59c62899 AP_Frsky_Telem: change AC_FENCE to AP_FENCE_ENABLED 2022-07-27 19:04:56 +10:00
Iampete1 df3affc38c AP_Frsky_Telem: fix complation without fence 2022-07-27 19:04:56 +10:00
Andy Piper 6a31e4d816 AP_Frsky_Telem: nuke clang warnings 2022-03-03 16:34:14 +11:00
murata 127f356c86 AP_Frsky_Telem: Remove meaningless semicolons 2022-02-07 08:27:34 +09:00
Peter Barker 423bd1e8a4 AP_Frsky_Telem: rename AP_AHRS::get_position to get_location 2022-01-25 10:47:22 +11:00
Josh Henderson f219d56e9c AP_Frsky_Telem: add define AP_AIRSPEED_ENABLED 2022-01-19 18:21:32 +11:00
Iampete1 5e38f34a5d AP_Frsky_Telem: use set_and_save_by_name directly 2022-01-04 11:26:29 +11:00
yaapu c6c285b5a2 AP_Frsky_Telem: added frame 0x500D for waypoint data 2021-12-15 18:15:47 +11:00
Peter Barker 64aaf9d93d AP_Frsky_Telem: move from ENABLE_SCRIPTING to AP_SCRIPTING_ENABLED 2021-11-15 20:27:40 +11:00
Peter Barker 39a4f0b3b2 AP_Frsky_Telem: ensure ENABLE_SCRIPTING is always defined 2021-11-15 20:27:40 +11:00
Tom Pittenger fcfaab4beb AP_Frsky_Telem: fix periph-heavy compile errors with different things enabled 2021-09-24 10:47:13 -05:00
Willian Galvani 467554ee0e AP_Frsky_Telem: update to use capacity_remaining_pct() as a bool 2021-09-08 17:17:41 +10:00
yaapu 617b023c6f AP_Frsky_Telem: added frame 0x500C for true/apparent WIND info 2021-08-25 17:13:16 +10:00
yaapu afa6e30b94 AP_Frsky_Telem: added airspeed flag to frame 0x5005 enabled by a new parameter 2021-07-07 11:53:12 +10:00
yaapu c615706971 AP_Frsky_Telem: added a parameter to set the default FRSky sensor ID for passthrough telemetry 2021-06-03 13:58:55 +10:00
yaapu 870c280946 AP_Frsky_Telem: upgraded SERIAL_PROTOCOL 4 telemetry to 2 bytes data IDs
This upgrades standard SPort telemetry from older 1byte IDs to newer 2bytes IDs.

Older 1 byte data IDs are not supported by the FRSky ETHOS ecosystem so this
migration is required to allow ArduPilot to seamlessly work with ETHOS.
This migration requires users to do a new sensor discovery in OpenTX.
2021-06-02 17:33:15 +10:00
yaapu a5e1a45e7a AP_Frsky_Telem: added hud throttle [-100,100] to frame 0x5001 scaled to [-63,63] on 7bits 2021-06-02 17:30:09 +10:00
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
yaapu e1f97becab AP_Frsky_Telem: added fence status data to frame 0x5001 2021-05-12 17:46:00 +10:00
Andrew Tridgell d3e3e58466 AP_Frsky_Telem: change for AP::terrain as a pointer 2021-04-07 20:56:01 +10:00
yaapu b62c2d9518 AP_Frsky_Telem: added new capabilities param to frame 0x5007 2021-03-19 22:35:16 +11:00
yaapu 592fba7416 AP_Frsky_Telem: frame 0x5007 refactoring 2021-03-19 22:35:16 +11:00
yaapu 45f7cb0c82 AP_Frsky_Telem: added passthrough frame 0x500B for height above terrain 2021-03-18 21:43:48 +11:00
Peter Barker 4d2cf8c95b AP_Frsky_SPort: correct handling of RPM sensor data
Nails support down to just two RPM sensors for the time being.

Simplifies things (there was an issue here when I corrected RPM-in-SITL)
2021-03-02 15:41:44 +11:00
Peter Barker c059338386 AP_Frsky_Telem: use location from AHRS not GPS
The AHRS may be able to supply information even in the absense of an
actual GPS unit.
2021-03-02 15:41:44 +11:00
Patrick José Pereira aa55578008 AP_Frsky_Telem: Add missing const in member functions
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2021-02-03 18:45:14 +11:00
yaapu d5868e3c7d AP_Frsky_Telem: added telemetry support for RPM sensors 1 and 2 for SPort, FPort/FPort2 and passthrough over crossfire 2021-02-03 12:49:38 +11:00
yaapu 24382e25fc AP_Frsky_Telem: added support for sending frsky telemetry data from scripting 2021-01-29 09:55:22 +11:00
yaapu 6b26a64f77 AP_Frsky_Telem: added support for passthrough telemetry over crossfire 2021-01-20 18:06:24 +11:00
yaapu e044cdfde7 AP_Frsky_Telem: fix for conditional compilation of bidir support 2020-12-09 19:19:06 +11:00