Iampete1
ad59c62899
AP_Frsky_Telem: change AC_FENCE to AP_FENCE_ENABLED
3 years ago
Iampete1
df3affc38c
AP_Frsky_Telem: fix complation without fence
3 years ago
Andy Piper
6a31e4d816
AP_Frsky_Telem: nuke clang warnings
3 years ago
murata
127f356c86
AP_Frsky_Telem: Remove meaningless semicolons
3 years ago
Peter Barker
423bd1e8a4
AP_Frsky_Telem: rename AP_AHRS::get_position to get_location
3 years ago
Josh Henderson
f219d56e9c
AP_Frsky_Telem: add define AP_AIRSPEED_ENABLED
3 years ago
Iampete1
5e38f34a5d
AP_Frsky_Telem: use set_and_save_by_name directly
3 years ago
yaapu
c6c285b5a2
AP_Frsky_Telem: added frame 0x500D for waypoint data
3 years ago
Peter Barker
64aaf9d93d
AP_Frsky_Telem: move from ENABLE_SCRIPTING to AP_SCRIPTING_ENABLED
3 years ago
Peter Barker
39a4f0b3b2
AP_Frsky_Telem: ensure ENABLE_SCRIPTING is always defined
3 years ago
Tom Pittenger
fcfaab4beb
AP_Frsky_Telem: fix periph-heavy compile errors with different things enabled
3 years ago
Willian Galvani
467554ee0e
AP_Frsky_Telem: update to use capacity_remaining_pct() as a bool
3 years ago
yaapu
617b023c6f
AP_Frsky_Telem: added frame 0x500C for true/apparent WIND info
4 years ago
yaapu
afa6e30b94
AP_Frsky_Telem: added airspeed flag to frame 0x5005 enabled by a new parameter
4 years ago
yaapu
c615706971
AP_Frsky_Telem: added a parameter to set the default FRSky sensor ID for passthrough telemetry
4 years ago
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.
4 years ago
yaapu
a5e1a45e7a
AP_Frsky_Telem: added hud throttle [-100,100] to frame 0x5001 scaled to [-63,63] on 7bits
4 years ago
yaapu
c32676adf5
AP_Frsky_Telem: added (generic) failsafe status bit to frame 0x5001
4 years ago
yaapu
dcf85bcf3b
AP_Frsky_Telem: added healthy status bit to terrain frame 0x500A
4 years ago
yaapu
e1f97becab
AP_Frsky_Telem: added fence status data to frame 0x5001
4 years ago
Andrew Tridgell
d3e3e58466
AP_Frsky_Telem: change for AP::terrain as a pointer
4 years ago
yaapu
b62c2d9518
AP_Frsky_Telem: added new capabilities param to frame 0x5007
4 years ago
yaapu
592fba7416
AP_Frsky_Telem: frame 0x5007 refactoring
4 years ago
yaapu
45f7cb0c82
AP_Frsky_Telem: added passthrough frame 0x500B for height above terrain
4 years ago
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)
4 years ago
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.
4 years ago
Patrick José Pereira
aa55578008
AP_Frsky_Telem: Add missing const in member functions
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
4 years ago
yaapu
d5868e3c7d
AP_Frsky_Telem: added telemetry support for RPM sensors 1 and 2 for SPort, FPort/FPort2 and passthrough over crossfire
4 years ago
yaapu
24382e25fc
AP_Frsky_Telem: added support for sending frsky telemetry data from scripting
4 years ago
yaapu
6b26a64f77
AP_Frsky_Telem: added support for passthrough telemetry over crossfire
4 years ago
yaapu
e044cdfde7
AP_Frsky_Telem: fix for conditional compilation of bidir support
4 years ago
Andrew Tridgell
12acc0724e
AP_Frsky_Telem: implement BRD_OPTIONS bit for setting of internal parameters
4 years ago
Peter Barker
ee43663c7a
AP_Frsky_Telem: get airspeed sensor from singleton not AHRS object
4 years ago
Peter Barker
9aec1e48af
AP_Frsky_Telem: tidy mavlite message handling
...
Including calling into reboot-vehicle rather than the hal reboot method.
4 years ago
Peter Barker
e0f8e003ec
AP_Frsky_Telem: move mavlite message handling to own object
4 years ago
Peter Barker
b4e12da2c8
AP_Frsky_Telem: rework SPort-to-MAVlite conversion
...
Breaks the single object into three distinct parts objects, and hidesas
much information from the other parts as possible.
4 years ago
yaapu
988af83fce
AP_Frsky_Telem: added support for frsky sport/fport bidirectional telemetry
4 years ago
yaapu
a4297bcdd7
AP_Frsky_SPort: reduce acceptable response delay to 6500us
4 years ago
yaapu
33f19eec27
AP_Frsky_Telem: tidy parsers and splitting of statustexts
4 years ago
yaapu
6abf4ec2b5
AP_Frsky_Telem: tidy creation of frsky data
4 years ago
Peter Barker
6cbb553adc
AP_Frsky_Telem: reformat new filed using astyle.sh; no history to lose
4 years ago
Peter Barker
9c211d9847
AP_Frsky_Telem: move #defines to be static const members of AP_Frsky_Backend
4 years ago
Peter Barker
0bb7a31850
AP_Frsky_Telem: move all method implementations into correct files
4 years ago
Peter Barker
05d7950261
AP_Frsky_Telem: frontend/backend split
4 years ago
yaapu
683df64d86
AP_Frsky_Telem: fix frsky serial 10 parameters
...
param rotation now is frame_type, battery_1, battery_2 (only if present)
5 years ago
yaapu
13592cef91
AP_Frsky_Telem: removed time constraint to allow SITL regression testing
5 years ago
yaapu
6303c700d4
AP_Frsky_Telem: prevent SPort frame fragmentation by writing whole 8byte frames vs writing single bytes
...
general scheduler delays could introduce small delays when writing SPort frames to the uart one byte
at the time potentially leading to rx desyncs on the SPort bus.
This fix replaces single byte writes with full frame writes.
The library has around 10ms to repond to polling so to guarantee frame integrity responses taking
longer than 7500us are discarded
5 years ago
Andy Piper
44e5171f2b
AP_Frsky_Telem: refactor common code into AP_RCTelemetry
...
refactor naming
when using external data AP_Frsky_Telem::init() has to call AP_RCTelemetry::init() and exit.
No need to initialize serial ports
5 years ago
yaapu
fed8ecc3b0
AP_Frsky_Telem: fix for protocol=4 GAlt=0 and GSPd=0
...
This fixes protocol 4 GPS altitude and speed error, both were reported as constant 0
for cal_gps_position() was never called
5 years ago
yaapu
0c5618c9e7
AP_Frsky_Telem: add semaphores to ahrs access and fix potential array out of bounds access
...
use a semaphore for non atomic ahrs calls and fix a potential array out of bounds
access for faster than sport telemetry links.
5 years ago