mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-20 04:25:42 +08:00
Regularly request remote aircraft data from X-Plane
This includes * ground elevation * model offset (to be implemented) ref T259
This commit is contained in:
committed by
Klaus Basan
parent
2ab6a96d57
commit
72497fdefc
@@ -70,6 +70,9 @@ namespace XSwiftBus
|
||||
//! Signal emitted for each simulator rendering frame
|
||||
void simFrame();
|
||||
|
||||
//! Remote aircraft data
|
||||
void remoteAircraftData(const QString &callsign, double latitude, double longitude, double elevation, double modelVerticalOffset);
|
||||
|
||||
public slots:
|
||||
//! Initialize the multiplayer planes rendering and return true if successful
|
||||
bool initialize();
|
||||
@@ -124,6 +127,9 @@ namespace XSwiftBus
|
||||
//! Set interpolation mode for a traffic aircraft
|
||||
void setInterpolatorMode(const QString &callsign, bool spline);
|
||||
|
||||
//! Request traffic plane data. A signal remoteAircraftData will be emitted for each known plane
|
||||
void requestRemoteAircraftData();
|
||||
|
||||
private:
|
||||
bool m_initialized = false;
|
||||
bool m_enabled = false;
|
||||
|
||||
Reference in New Issue
Block a user