Florent Martel
75905be376
AP_Frsky_Telem: simplified set_is_flying and moved to header file
8 years ago
Florent Martel
bc4ab70c1c
AP_Frsky_Telem: added const to some declarations
8 years ago
Florent Martel
328e6d6886
AP_Frsky_Telem: removed sending redundant VSpd, Alt, and VFAS sensor values, which can now be handled by OpenTX
8 years ago
floaledm
5386edb791
AP_Frsky_Telem: fix setting of land_complete flag
...
When is_flying is true, land_complete should be set to 0, and
conversely.
8 years ago
floaledm
1aab5eec38
AP_Frsky_Telem: send ap_status only once initialized
...
Same as what is found in GCS_MAVLink.cpp for copter
8 years ago
Mathieu OTHACEHE
152edf7189
Global: remove mode line from headers
...
Using a global .dir-locals.el file is a better alternative than
reincluding the same emacs header in every file of the project.
8 years ago
Peter Barker
6ccf36439d
AP_Frsky_Telem: actually set _ap.value flags based in is_flying
...
Closes #5017
8 years ago
floaledm
602b81a4d7
AP_Frsky_Telem: add ekf_status check
8 years ago
floaledm
fcfaa98bb6
AP_Frsky_Telem: reworked _statustext_queue.empty() check
8 years ago
Tom Pittenger
8001cc403b
AP_Frsky_Telem: fix is_flying assignment
8 years ago
floaledm
5e022bf631
AP_Frsky_Telem: fix *_ap.value issue for Plane
...
set_is_flying does operations on a nullptr, plus we loose the ability to
update ap_status accordingly for Plane
8 years ago
floaledm
ff0d0b1aa5
AP_Frsky_Telem: use ringbuffer for Frsky message queueing
8 years ago
Tom Pittenger
6991ca53b3
AP_Frsky_Telem: allow default arguments in init() to set things to nullptr
8 years ago
floaledm
94aa6c4cfb
AP_Frsky_Telem: consolidate into a single frsky.init()
8 years ago
floaledm
5125846ac0
AP_Frsky_Telem: Plane support
9 years ago
floaledm
b2b6c88edf
AP_Frsky_Telem: renamed vars and funcs for consistency/clarity
9 years ago
floaledm
4d03be94cf
AP_Frsky_Telem: removed reliance on home_distance and home_bearing which are only in copter
9 years ago
floaledm
33bd359463
AP_Frsky_Telem: LANDCOMPLETE switched to to ISFLYING flag
9 years ago
Andrew Tridgell
a4ca4dbd9e
AP_FrSky_Telem: use a constant string for firmware version
9 years ago
Andrew Tridgell
62388fc991
AP_FrSky_Telem: use constant strings in message queueing
9 years ago
Andrew Tridgell
183283ba07
AP_FrSky_Telem: make _msg non-static
...
there are no calls to this from outside the library. If we do add some
then we can change the API as needed
9 years ago
Andrew Tridgell
185ef73684
AP_Frsky_Telem: fixed usage of sensor error bits
...
using these asyncronously via pointers is error prone as the updates
to these masks is not atomic relative to the IO callback in
AP_Frsky_Telem
9 years ago
Andrew Tridgell
f4d59d720a
AP_FrSky_Telem: removed use of pointer to control_mode
...
it is an enum, and it is invalid to take a pointer to an enum as a
uint8_t*
9 years ago
Andrew Tridgell
ab77fdfa02
AP_FrSky_Telem: removed dependency on inertialnav
...
the AP_InertialNav library is deprecated in favor of AP_AHRS. We
should not introduce a new dependency on it
9 years ago
floaledm
b71e0d73b9
AP_FrSky_Telem: added SPort passthrough protocol
9 years ago
floaledm
a9b01b470c
AP_FrSky_Telem: cosmetic changes
9 years ago
floaledm
de2a7013b4
AP_FrSky: simplified lib rework
9 years ago
Lucas De Marchi
761ed7ae03
AP_Frsky_Telem: replace header guard with pragma once
9 years ago
Gustavo Jose de Sousa
00219c5e0c
AP_Frsky_Telem: standardize inclusion of libaries headers
...
This commit changes the way libraries headers are included in source files:
- If the header is in the same directory the source belongs to, so the
notation '#include ""' is used with the path relative to the directory
containing the source.
- If the header is outside the directory containing the source, then we use
the notation '#include <>' with the path relative to libraries folder.
Some of the advantages of such approach:
- Only one search path for libraries headers.
- OSs like Windows may have a better lookup time.
10 years ago
Randy Mackay
19aa8939de
FrSky_Telem: init uart when protocol is S-Port
10 years ago
Randy Mackay
5c086acc15
FrSky_Telem: comments, formatting and reordering
...
No functional change
Added comments and moved main functions to the top
Removed spaces between function name and brackets
10 years ago
Randy Mackay
6ef996d553
FrSky_Telem: init all members to zero and move to cpp
10 years ago
Randy Mackay
d16f787bd0
Frsky_Telem: use SerialManager for init
10 years ago
Matthias Badaire
f59f85d4a4
AP_Frsky_Telem: add SBUS support
...
add sbus support using a timer on a thread
10 years ago
Matthias Badaire
c7cd1c9fde
AP_Frsky_Telem: added initial Frsky telemetry library
...
based on work from the PX4Firmware tree, this adds a library which can
create and send Frsky telemetry packets
11 years ago