Dr.-Ing. Amilcar do Carmo Lucas
f61523b378
AP_Frsky_Telem: replace location_offset() and get_distance() function calls with Location object member function calls
...
This allows removing duplicated code
6 years ago
Peter Barker
9023e6eb7d
AP_Frsky_Telem: use rangefinder singleton
6 years ago
Peter Barker
4776183554
AP_Frsky_Telem: use battery singleton
6 years ago
Peter Barker
53111129f2
AP_Frsky_Telem: use AHRS singleton
6 years ago
Peter Barker
db4b1aa7aa
AP_Frsky_Telem: use serialmanager singleton
6 years ago
Peter Barker
38a649033f
AP_Frsky_Telem: adjust for location flags being moved out of union
6 years ago
Peter Barker
902bd7dda6
AP_Frsky_Telem: use mavlink definition to get statustext size
...
Also, add one for null-termination
6 years ago
Jochen Anglett
1c60417d03
AP_Frsky_Telem: add IMU temperature reporting
6 years ago
Peter Barker
4168bd709c
AP_Frsky_Telem: use AP_FWVersion singleton
7 years ago
Michael du Breuil
3f581d0479
AP_Frsky_Telem: Remove unneeded battery failsafe parameters
7 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
7d8aeefee4
AP_Frsky_Telem: NFC adapt to new AP_Battery method name
7 years ago
night-ghost
739c873991
AP_Frsky_Telem: fixed build warnings
7 years ago
Peter Barker
aea460df2c
AP_FrSky: use GPS singleton
7 years ago
Andrew Tridgell
c618a27ee0
AP_Frsky_Telem: removed create() method for objects
...
See discussion here:
https://github.com/ArduPilot/ardupilot/issues/7331
we were getting some uninitialised variables. While it only showed up in
AP_SbusOut, it means we can't be sure it won't happen on other objects,
so safest to remove the approach
Thanks to assistance from Lucas, Peter and Francisco
7 years ago
Florent Martel
fee79afb8e
AP_Frsky_Telem: add second battery info
7 years ago
Florent Martel
5d9299d72f
AP_Frsky_Telem: add second battery capacity parameter
7 years ago
Lucas De Marchi
8b5d799885
AP_Frsky_Telem: add static create method
7 years ago
Florent Martel
949aa4d9ca
AP_Frsky_Telem: replace VDOP with extra GPS status bits
...
This removes VDOP (not really that useful) and replaces two of those
bits with GPS status info that now allows to differentiate between 3D
fix, DGPS, RTK Float, and RTK Fixed. This is written to maximize
backwards compatibility (by not shifting any other bits of the
gps_status variable)
8 years ago
Francisco Ferreira
c0238be345
AP_FrSky_Telem: fix sending messages 3 times
...
Initialize variable
Also some small style changes
8 years ago
Florent Martel
02c0885cfd
AP_Frsky_Telem: fixes #5862
...
MAVLink strings of exactly 50 characters are not NULL terminated, so
instead we must check that the 50th character has been reached.
8 years ago
Randy Mackay
65c8f87b17
AP_Frsky_Telem: only use downward facing rangefinder
8 years ago
Peter Barker
89afa913f1
AP_Frsky_Telem: Support for a GCS singleton
8 years ago
Florent Martel
abc2cdb61b
AP_FrSky_Telem: fixed sign of vertical velocity (+ve up)
8 years ago
floaledm
60c59bea4d
AP_Frsky_Telem: make frsky_telemetry available to GCS_MAVLINK
8 years ago
Florent Martel
530955c15f
AP_Frsky_Telem: remove arming check for transmitting params
...
Otherwise, on Plane, if ARMING REQUIRED is set to 0 (automatically
armed), no parameters are transmitted.
8 years ago
Florent Martel
5a96db5a44
AP_Frsky_Telem: replaced timer cond > with >=
8 years ago
Florent Martel
e43b2a73da
AP_Frsky_Telem: increase sending params priority
...
If there's a lot of messages in the queue, params would not be
transmitted for a while, until the queue is empty, which can take a bit
of time during init.
8 years ago
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
floaledm
68b10979c3
AP_Frsky_Telem: added extra parentheses around pointed to values for readability
...
As suggested by tridge
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
murata
c808ee2f49
Global: To nullptr from NULL.
...
RC_Channel: To nullptr from NULL.
AC_Fence: To nullptr from NULL.
AC_Avoidance: To nullptr from NULL.
AC_PrecLand: To nullptr from NULL.
DataFlash: To nullptr from NULL.
SITL: To nullptr from NULL.
GCS_MAVLink: To nullptr from NULL.
DataFlash: To nullptr from NULL.
AP_Compass: To nullptr from NULL.
Global: To nullptr from NULL.
Global: To nullptr from NULL.
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
floaledm
7045013933
AP_Frsky_Telem: use airspeed value w/o constraints of ground speed and AHRS_WIND_MAX
8 years ago
floaledm
6869dace08
AP_Frsky_Telem: moved msg queueing of fw string
8 years ago
floaledm
56432f04d3
AP_Frsky_Telem: fixed airspeed; now same as VFR_HUD
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
49e47fd679
AP_Frsky_Telem: airspeed scaling factor fix
8 years ago
floaledm
602b81a4d7
AP_Frsky_Telem: add ekf_status check
8 years ago
Tom Pittenger
99d48d8bbd
AP_FrSky_Telem: cleanup, non-functional change
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
b3d5375aa0
AP_Frsky_Telem: simplify init by assuming everything is nullptr
...
- also always queue the firmware message regardless of protocol type
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
Tom Pittenger
8eb7a062c7
AP_Frsky_Telem: tiny text change in statusText
9 years ago