Commit Graph

140 Commits

Author SHA1 Message Date
Roland Winklmeier
2ab7071423 Update libxplanemp 2017-02-25 02:11:18 +00:00
Mathew Sutcliffe
e67b5fccc4 refs #863 Change callsign parameter to be a member instead. 2017-02-24 15:22:32 +00:00
Mathew Sutcliffe
8d351d8279 refs #863 Added cubic spline interpolator. 2017-02-24 15:22:31 +00:00
Mathew Sutcliffe
9c918b8799 refs #863 Interpolator inheritance based on CRTP rather than virtual methods. 2017-02-24 15:22:26 +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
Mathew Sutcliffe
36474f65a0 Parametrized position of xbus text message box. 2017-02-24 15:22:20 +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
9e56213633 Inhibit MacOSX warning in libxplanemp. 2017-02-24 00:18:24 +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
Roland Winklmeier
7f21dae378 Pin QtDBus shared library on Windows after being loaded by X-Plane
refs #850
2017-01-10 23:47:21 +00:00
Roland Winklmeier
dcbddf8e5e Update libxplanemp 2017-01-10 23:46:41 +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
Klaus Basan
534b9fb09e refs #840, style and const-correctness 2017-01-10 23:45:24 +00:00
Mathew Sutcliffe
7e85422da7 refs #837 CAircraftSituation altitude is part of its position. 2017-01-10 23:44:40 +00:00
Roland Winklmeier
d7a0a0ee79 libxplanemp update
CSLLoaderThread files got removed, so remove their exception as well
2016-12-13 18:32:26 +00:00
Roland Winklmeier
aa368c45ea Don't include private libxplanemp headers 2016-12-13 18:32:26 +00:00
Roland Winklmeier
745e09ddb8 Support installing of mingw 64bit products 2016-12-13 19:01:09 +01:00
Mathew Sutcliffe
cb266f0326 refs #800 Fixed missing virtual destructor on base class. 2016-12-13 19:00:40 +01:00
Mathew Sutcliffe
95a82f37a0 refs #800 QtInfoMsg severity was added in Qt 5.5, we can remove the category suffix workaround. 2016-12-13 19:00:36 +01:00
Mathew Sutcliffe
5791de6860 refs #800 Fixed some implicit conversion warnings. 2016-12-13 19:00:26 +01:00
Mathew Sutcliffe
c43c1458f4 Minor cleanup in qmake files. 2016-12-13 19:00:24 +01: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
a98441c315 Latest libxplanemp and harmonize with our github repo. 2016-08-27 03:00:56 +01:00
Mathew Sutcliffe
4b441c5d56 Latest libxplanemp. 2016-06-15 14:10:27 +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
b671089c66 Finish workaround for xbus causing X-Plane infinite loop on Mac OS X
In the first commit of this workaround, not all QApplications were
replaced by QCoreApplications. For unknown reasons, the single
replacement solved the problem. With Qt 5.6 it appeared again. This
commit finishes now the workaround.

refs #293
2016-05-20 01:42:50 +02:00
Roland Winklmeier
31b20bb2fb Fix size of allocated memory in xbus strdup 2016-05-20 01:41:22 +02:00
Roland Winklmeier
25482f5d35 Let xbus retry to connect to dbus in case it is not available
refs #615
2016-05-20 01:41:16 +02: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
71d9439537 Install all xbus dependencies
refs #615
2016-05-20 01:40:16 +02:00
Roland Winklmeier
cc302bd4fd Add xbus legacy data without CSL
refs #615
2016-05-20 01:40:15 +02:00
Roland Winklmeier
7b5e306bab xbus install target
refs #615
2016-05-20 01:36:50 +02:00
Mathew Sutcliffe
1801616953 refs #624 Use conditional SUBDIRS instead of REQUIRES for enabling/disabling subprojects. 2016-03-22 16:03:00 +00:00
Mathew Sutcliffe
a895cc2c54 refs #624 Removed many workarounds, no longer needed. 2016-03-22 16:02:58 +00:00
Mathew Sutcliffe
6f1cf8e3d7 refs #624 Replace typedef with using. 2016-03-22 16:02:50 +00:00
Mathew Sutcliffe
a8fc899219 refs #624 Use std alias traits. 2016-03-22 16:02:48 +00:00
Mathew Sutcliffe
3001ca1f44 refs #624 Use std::make_unique instead of BlackMisc::make_unique. 2016-03-22 16:02:29 +00:00
Klaus Basan
41a88266ab refs #485, improved p2p address handling 2016-03-18 01:08:10 +00:00