Commit Graph

34 Commits

Author SHA1 Message Date
Mathew Sutcliffe
8d351d8279 refs #863 Added cubic spline interpolator. 2017-02-24 15:22:31 +00:00
Mathew Sutcliffe
1c2533f5d2 refs #863 Moved nested status classes to namespace scope. 2017-02-24 15:22:25 +00:00
Mathew Sutcliffe
a167cc8e43 refs #863 Each aircraft gets its own interpolator instance,
so each one can cache calculations from one frame to the next.
The recent situations and parts are members of the interpolator.
2017-02-24 15:22:22 +00:00
Mathew Sutcliffe
2181702c5c refs #863 Change interpolation setup member to be a method parameter instead. 2017-02-24 15:22:21 +00:00
Klaus Basan
e3d81c6c44 refs #865, use same function for removing outdated aircraft parts
* in airspace monitor
* in XP traffic.cpp
2017-02-24 00:19:09 +00:00
Klaus Basan
af15929b30 refs #865, allow to enable interpolator/parts logging
* removed debug messages from interpolator
* added callsign to getInterpolatedParts / getInterpolatedSituation signatures
* config for logging via CInterpolationAndRenderingSetup::addCallsignToLog etc.
2017-02-24 00:18:56 +00:00
Klaus Basan
38585d10b2 refs #865, hints get ground elevation from provider or from set value
* using CAltitude for elevation provider
* null() for CAltitude
* formatting of members
* fixme in fs9 client
2017-02-24 00:18:40 +00:00
Mathew Sutcliffe
a3212ab37d refs #852 To avoid sudden movements, don't bother trying to interpolate
when we have less than two position updates.
2017-02-24 00:18:10 +00:00
Mathew Sutcliffe
6cabdf5b77 refs #852 Added a fudge factor to ground elevation so planes are not partially submerged in the ground. 2017-02-24 00:18:09 +00:00
Mathew Sutcliffe
5b4f672c75 refs #852 Use X-Plane terrain probe to provide ground elevation to the interpolator. 2017-02-24 00:18:03 +00:00
Mathew Sutcliffe
c9b1647e72 refs #852 Extend xbus traffic service to maintain a CAircraftPartsList with onGround flags. 2017-02-24 00:18:00 +00:00
Mathew Sutcliffe
ec44c100b7 refs #852 Const-correctness. 2017-02-24 00:17:42 +00:00
Klaus Basan
667009c85e refs #840, moved interpolator classes into Simulation namespace 2017-01-10 23:45:27 +00:00
Klaus Basan
46fafde7a0 refs #840, add support for interpolation hints 2017-01-10 23:45:25 +00:00
Mathew Sutcliffe
7e85422da7 refs #837 CAircraftSituation altitude is part of its position. 2017-01-10 23:44:40 +00:00
Roland Winklmeier
aa368c45ea Don't include private libxplanemp headers 2016-12-13 18:32:26 +00:00
Klaus Basan
9deedf1e10 refs #789, improvements when addressing FSX driver issue
* added new utility funtion is model list / aircraft list
* added setters/getters for CSimConnectObject
* added setters/getters for InterpolationStatus / PartsStatus
* added CSimConnectObjects (better encapsulation)
2016-12-06 09:47:04 +01:00
Mathew Sutcliffe
6134b3d0a3 refs #667 XBus: use the thread-agnostic interpolator method, to avoid an unnecessary dynamic memory allocation. 2016-06-08 23:59:55 +01:00
Mathew Sutcliffe
4c2bc31975 refs #666 XBus expects timestamp relative to current time, in case core and sim PCs run with different clock times. 2016-06-08 23:54:13 +01:00
Mathew Sutcliffe
73156c2e6d refs #666 XBus does interpolation using CInterpolatorLinear. 2016-06-08 23:54:13 +01:00
Mathew Sutcliffe
37b4b81b9b refs #666 XBus receives aircraft situations with timestamps. 2016-06-08 23:54:13 +01:00
Roland Winklmeier
21fe8d46ea xbus modifies library search path in order for QtDBus to find libdbus
refs #615
2016-05-20 01:41:15 +02:00
Roland Winklmeier
37bff8cc85 Use double in xbus DBus API instead of float
float is not supported by DBus and all slots fail to be registered
if they have float arguments.
2016-03-01 23:07:38 +01:00
Roland Winklmeier
1ea2f34f75 Fix doxygen documentation in src, samples and tests
refs #594
2016-02-16 20:01:33 +01:00
Roland Winklmeier
bd251b5de6 Fix license headers 2016-02-16 20:01:21 +01:00
Mathew Sutcliffe
7d51ffba5d refs #271 Random time offset of strobe lights so different planes' lights flash at different times. 2015-11-19 21:01:48 +00:00
Mathew Sutcliffe
f757adbf5a refs #466 Resolved TODO items in xbus. 2015-11-19 21:01:12 +00:00
Roland Winklmeier
1ac89d477f refs #444 Use CAircraftMatcher to match a model and send it to xbus
In case the model name is empty, xbus falls back to its former
behaviour and lets libxplanemp do the matching. If aircraft matcher
does provide a model this will be used instead.
Until model mapping database is ready, a dummy provider has been added.
Hence CAircraftMatcher will always return a default model.
2015-11-19 20:57:09 +00:00
Roland Winklmeier
25cdff54f3 refs #435 Read installed models from X-Plane via xbus 2015-11-19 20:51:09 +00:00
Mathew Sutcliffe
bf84b01ff7 refs #294 fixed X-Plane paths on Mac 2014-08-27 00:02:37 +01:00
Mathew Sutcliffe
891bfbba28 fixed MinGW warning about NOMINMAX 2014-07-18 23:32:57 +01:00
Mathew Sutcliffe
1e89771de0 refs #282 changes to get xbus to compile on OSX 2014-07-04 00:09:51 +01:00
Klaus Basan
8fda6daee4 Fixed XPlane plugin warnings / issues
I came across when first compiling master with latest classes on my place
VC2013
2014-06-28 18:53:03 +02:00
Mathew Sutcliffe
1a3a1e175e refs #272 added new DBus service object XBus::CTraffic providing access to traffic aircraft in the sim 2014-06-28 14:31:18 +01:00