Bulk data transfer structur for communication with LTAPI.
More...
#include <LTAPI.h>
|
| | LTAPIBulkData () |
| | Constructor initializes some data without defaults.
|
| |
|
| uint64_t | keyNum = 0 |
| | a/c id, usually transp hex code, or any other unique id (FLARM etc.)
|
| |
| float | lat_f = 0.0f |
| | deprecated: [°] latitude
|
| |
| float | lon_f = 0.0f |
| | deprecated: [°] longitude
|
| |
| float | alt_ft_f = 0.0f |
| | deprecated: [ft] altitude
|
| |
| float | heading = 0.0f |
| | [°] heading
|
| |
| float | track = 0.0f |
| | [°] track over ground
|
| |
| float | roll = 0.0f |
| | [°] roll: positive right
|
| |
| float | pitch = 0.0f |
| | [°] pitch: positive up
|
| |
| float | speed_kt = 0.0f |
| | [kt] ground speed
|
| |
| float | vsi_ft = 0.0f |
| | [ft/minute] vertical speed, positive up
|
| |
| float | terrainAlt_ft = 0.0f |
| | [ft] terrain altitude beneath plane
|
| |
| float | height_ft = 0.0f |
| | [ft] height AGL
|
| |
| float | flaps = 0.0f |
| | flap position: 0.0 retracted, 1.0 fully extended
|
| |
| float | gear = 0.0f |
| | gear position: 0.0 retracted, 1.0 fully extended
|
| |
| float | reversers = 0.0f |
| | reversers position: 0.0 closed, 1.0 fully opened
|
| |
| float | bearing = 0.0f |
| | [°] to current camera position
|
| |
| float | dist_nm = 0.0f |
| | [nm] distance to current camera
|
| |
| struct LTAPIAircraft::LTAPIBulkData::BulkBitsTy | bits |
| | Flights phase, on-ground status, lights.
|
| |
| double | lat = 0.0f |
| | [°] latitude
|
| |
| double | lon = 0.0f |
| | [°] longitude
|
| |
| double | alt_ft = 0.0f |
| | [ft] altitude
|
| |
Bulk data transfer structur for communication with LTAPI.
- Note
- Structure needs to be in synch with LiveTraffic, version differences are handled using a struct size "negotiation", but order of fields must match.
◆ LTAPIAircraft::LTAPIBulkData::BulkBitsTy
| struct LTAPIAircraft::LTAPIBulkData::BulkBitsTy |
| Class Members |
|
bool |
bcn: 1 |
beacon light |
|
bool |
camera: 1 |
is LiveTraffic's camera on this aircraft? |
|
unsigned |
filler2: 8 |
|
|
unsigned |
filler3: 32 |
|
|
unsigned |
hidden: 1 |
aircraft not visible? (remains an 'unsigned' for backward compatibility) |
|
bool |
land: 1 |
landing lights |
|
int |
multiIdx: 8 |
multiplayer index if plane reported via sim/multiplayer/position dataRefs, 0 if not |
|
bool |
nav: 1 |
navigaton lights |
|
bool |
onGnd: 1 |
Is plane on ground? |
|
LTFlightPhase |
phase: 8 |
flight phase, see LTAircraft::FlightPhase |
|
bool |
strb: 1 |
strobe light |
|
bool |
taxi: 1 |
taxi lights |
◆ LTAPIBulkData()
| LTAPIAircraft::LTAPIBulkData::LTAPIBulkData |
( |
| ) |
|
|
inline |
Constructor initializes some data without defaults.
◆ alt_ft
| double LTAPIAircraft::LTAPIBulkData::alt_ft = 0.0f |
◆ alt_ft_f
| float LTAPIAircraft::LTAPIBulkData::alt_ft_f = 0.0f |
deprecated: [ft] altitude
◆ bearing
| float LTAPIAircraft::LTAPIBulkData::bearing = 0.0f |
[°] to current camera position
◆ bits
Flights phase, on-ground status, lights.
◆ dist_nm
| float LTAPIAircraft::LTAPIBulkData::dist_nm = 0.0f |
[nm] distance to current camera
◆ flaps
| float LTAPIAircraft::LTAPIBulkData::flaps = 0.0f |
flap position: 0.0 retracted, 1.0 fully extended
◆ gear
| float LTAPIAircraft::LTAPIBulkData::gear = 0.0f |
gear position: 0.0 retracted, 1.0 fully extended
◆ heading
| float LTAPIAircraft::LTAPIBulkData::heading = 0.0f |
◆ height_ft
| float LTAPIAircraft::LTAPIBulkData::height_ft = 0.0f |
◆ keyNum
| uint64_t LTAPIAircraft::LTAPIBulkData::keyNum = 0 |
a/c id, usually transp hex code, or any other unique id (FLARM etc.)
◆ lat
| double LTAPIAircraft::LTAPIBulkData::lat = 0.0f |
◆ lat_f
| float LTAPIAircraft::LTAPIBulkData::lat_f = 0.0f |
◆ lon
| double LTAPIAircraft::LTAPIBulkData::lon = 0.0f |
◆ lon_f
| float LTAPIAircraft::LTAPIBulkData::lon_f = 0.0f |
deprecated: [°] longitude
◆ pitch
| float LTAPIAircraft::LTAPIBulkData::pitch = 0.0f |
◆ reversers
| float LTAPIAircraft::LTAPIBulkData::reversers = 0.0f |
reversers position: 0.0 closed, 1.0 fully opened
◆ roll
| float LTAPIAircraft::LTAPIBulkData::roll = 0.0f |
◆ speed_kt
| float LTAPIAircraft::LTAPIBulkData::speed_kt = 0.0f |
◆ terrainAlt_ft
| float LTAPIAircraft::LTAPIBulkData::terrainAlt_ft = 0.0f |
[ft] terrain altitude beneath plane
◆ track
| float LTAPIAircraft::LTAPIBulkData::track = 0.0f |
◆ vsi_ft
| float LTAPIAircraft::LTAPIBulkData::vsi_ft = 0.0f |
[ft/minute] vertical speed, positive up
The documentation for this struct was generated from the following file: