Mat Sutcliffe
2ccee127e9
[XP] Get the ground elevation under the own aircraft
2022-02-03 20:43:45 +00:00
Mat Sutcliffe
3f57c66784
Issue #95 [XPlane] Get velocity data from xswiftbus in fast update timer timeout
2022-01-03 16:38:47 +00:00
Mat Sutcliffe
57d32da826
Use nested namespaces (C++17 feature)
2021-09-18 15:07:48 +01:00
Mat Sutcliffe
a89ca2d59a
Issue #37 Reset FPS counter when network is connected
2021-08-21 18:38:56 +01:00
Mat Sutcliffe
31c0f20ac6
Style
2021-07-13 17:51:57 +01:00
Mat Sutcliffe
2ae0352e75
[doxygen] Fix broken groupings
2020-08-01 19:48:37 +01:00
Klaus Basan
026e19add0
Ref T786, use identifier based requestWeatherGrid in simulator plugins
2020-06-12 18:42:50 +01:00
Klaus Basan
ea4a8f2462
[XP] Minor fixes/style XPlane driver
2020-06-12 18:42:49 +01:00
Klaus Basan
70f487cd01
Ref T778, turn XCSL models offset NULL into 0 (zero)
2020-06-12 18:42:45 +01:00
Klaus Basan
03dc641a5e
Ref T778, CSimulatorXPlane::handleProbeValue use isWater
2020-06-12 18:42:45 +01:00
Mat Sutcliffe
22ebf6c5ea
Ref T778 XSwiftBus traffic service prodives water/land flag for elevations
2020-06-12 18:42:44 +01:00
Klaus Basan
8206fc6bb9
Ref T778, special terrain probe value handling for XP
...
* only request terrain probe up to a max. distance
* detect "isSuspiciousTerrainValue"
* See also https://discordapp.com/channels/539048679160676382/539925070550794240/696786452855390218
2020-06-12 18:42:44 +01:00
Klaus Basan
4d75c1576e
[XPlane] Avoid elevation requests and minor style fixes in XPlane driver
2020-06-12 18:42:39 +01:00
Klaus Basan
785dc7f016
[XPlane][FG] Q_UNREACHABLE removal follow up
...
* removed CSimulatorXPlane::connectionFromString as this only works for session DBus
* renamed to "checkConnectionViaSessionBus"
* discussed around here: https://discordapp.com/channels/539048679160676382/539925070550794240/668105458300485652
2020-01-18 18:46:19 +01:00
Mat Sutcliffe
20a2f3b9e7
[XP driver] Using unsigned for timer call counters, to avoid UB on overflow
2020-01-13 18:53:30 +00:00
Klaus Basan
72c3abb1e7
[xswiftbus] display FPS in simulator data window
...
* added driver getAverageFPS function
* display in simulator component
2020-01-07 19:57:28 +00:00
Klaus Basan
f80e093a0a
Ref T717, function to send parts/situation for testing and in the model browser
2019-09-16 22:41:37 +01:00
Klaus Basan
d1fac2e1a4
Ref T610, support for XPlane COM volume and receive/transmit
...
* proxy and
* DBus service functions
2019-09-16 22:41:26 +01:00
Klaus Basan
8845d1d35c
Ref T709, style
2019-09-16 22:40:57 +01:00
Klaus Basan
cbd93da1c6
Ref T709, send XSwiftBusSettings when driver is connected
...
* send from swift -> XPlane side
* also send if settings on swift side are updated
2019-09-16 22:40:56 +01:00
Klaus Basan
49a9a767a3
Ref T709, change XPlane driver to TXSwiftBusSettings, send/receive functions
2019-09-16 22:40:55 +01:00
Klaus Basan
b8ba7940ff
Style
2019-09-16 22:40:35 +01:00
Roland Rossgotterer
8943db5b2b
Revert "[xSwiftBus] Automatically find and load CSL packages"
...
This reverts commit 61adfefa7a .
2019-05-15 17:19:56 +02:00
Roland Rossgotterer
61adfefa7a
[xSwiftBus] Automatically find and load CSL packages
...
ref T657
2019-05-13 11:21:05 +02:00
Klaus Basan
599064fe6c
Use models from centralized model cache
...
* no copy needed
* cache is synchronized when loading models
2019-05-13 11:20:40 +02:00
Klaus Basan
9fd3925238
Style
2019-05-13 11:20:40 +02:00
Mat Sutcliffe
e9a4c49d68
Ref T547 Update license masthead in all source code files.
2019-02-22 20:36:43 +00:00
Roland Rossgotterer
db7ed76bc5
Refactor listening for and connecting to XSwiftBus
...
- Use common function for Session and P2P connections
- Don't use the DBus service watcher as it did not allow to test in regular intervals
- Add a XSwiftBus version check to X-Plane listener
- Try to initialize and acquire multiplayer planes in checkConnection() already and warn the user if any of those failed. The plugin will be loaded only if everything succeeded.
2018-11-29 20:54:26 +01:00
Roland Rossgotterer
ec8245ea53
[XSwiftBus] Give PQ variables a unit
...
ref T313
2018-11-29 20:54:26 +01:00
Klaus Basan
93bcbc0755
Ref T421, function to get interpolation messages from the simulator drivers
2018-11-04 17:42:47 +01:00
Klaus Basan
a871579479
Ref T370, added public removeAllRemoteAircraft
...
* protected clearAllRemoteAircraftData
* ISimulator::clearAllRemoteAircraftData no longer calls clearAllRemoteAircraftData (circular)
2018-09-25 02:14:00 +02:00
Klaus Basan
7e9f3a6c7f
Ref T342, distance of airport can be recalculated
2018-09-12 17:40:38 +02:00
Klaus Basan
68beaa6d9d
Ref T312, added checkImpl/check in simulator listeners
2018-08-27 18:58:15 +02:00
Roland Winklmeier
488ff96ce6
Add DBus P2P support to XSwiftBus
...
ref T291
2018-08-07 20:40:43 +02:00
Klaus Basan
52513db63f
Ref T290, XPlane refactoring
...
* typo getRemoteAircraftsData -> getRemoteAircraftData (no "s")
* typo getEelevationAtPosition (double "Ee")
* get functions "const"
* added unit for some variables such as latitudeDeg
2018-07-17 19:04:50 +02:00
Klaus Basan
d0adcc98cb
Ref T289, merge CSimulatorCommonn/ISimulator
2018-07-12 18:29:36 +02:00
Klaus Basan
df869373e8
Ref T268, XPlane driver improvements
...
* 2 queues, one for pending "to be added" aircraft and one for "adding in progress" (easier timeout detection)
* disconnect DBus when unloading
* check if aircraft "are still in range" before adding
* adding to XPlane only in one place
* data for aircraft can be explicitly request and are requested directly when an aircraft has been added
2018-07-09 22:30:48 +02:00
Klaus Basan
79c1691fdc
Ref T268, Xplane driver style/renaming
2018-07-09 22:30:47 +02:00
Klaus Basan
1ba99b5392
Ref T268, XPlane to do not request updates of values "not near ground"
2018-07-09 22:30:44 +02:00
Klaus Basan
bc0b4502cf
Ref T275, move some simple implementations into ISimulator
...
Goal: merge CSimulatorCommon/ISimulator
2018-06-27 12:49:08 +02:00
Klaus Basan
0f931eeeb3
Ref T268, moved changeRemoteAircraftModel/Enabled to CSimulatorCommon and removed duplicated code
2018-06-13 14:00:09 +02:00
Roland Winklmeier
33963041cc
Implement followAircraft for X-Plane
...
ref T266
2018-06-13 13:59:13 +02:00
Roland Winklmeier
794137fc94
Align the CSimulatorXPlane API with its base class
...
Some functions were protected in the base class and in a different order.
This is all corrected now.
2018-06-02 02:08:48 +02:00
Klaus Basan
2ae8f5b03f
Ref T270, added CSimulatorPluginCommon as base class in driver project
...
* unlike BlackCore::CSimulatorCommon we can add also UI aspects here
* used by emulated driver, XP and the FS series
2018-05-18 00:25:11 +02:00
Roland Winklmeier
d743ec98fa
Remove unused code
2018-05-12 21:40:04 +02:00
Roland Winklmeier
2fd4d286d6
Refactor retrieving remote aircraft data
...
Instead of requesting it individually for each callsign and waiting for a
signal from xswiftbus, pass in a list of callsigns and use async callback
to read the data.
2018-05-08 16:06:57 +02:00
Roland Winklmeier
bf8ed5c006
Load X-Plane remote aircrafts one by one sequentially
2018-05-08 16:06:57 +02:00
Roland Winklmeier
848da69fe1
Group sending of all plane positions and surfaces into a single DBus call
2018-05-08 16:06:56 +02:00
Klaus Basan
0808cdb223
Ref T261, further unify interpolator handling
...
* return interpolation results parts/situation in one step
* base class init for each interpolation step, less redundant code
* removed old interpolation/parts function
* adjusted unit tests and simulator objects (such as SimObject)
2018-05-08 16:06:52 +02:00
Klaus Basan
3d2a74a652
Ref T261, interpolator mode is now part of setup
...
* added attribute in setup
* adjusted UI
* adjusted interpolator / simulator functions
2018-05-08 16:06:49 +02:00