Klaus Basan
ac953de6fd
Ref T261, FSX driver improvements
...
* sending gnd flag can be disabled
* check position before adding object
* do not stop requested data if aircraft is pending -> causes FSX SimConnect exception
2018-05-08 16:06:45 +02:00
Klaus Basan
1f3e5c6abf
Formatting, minor tweaks
2018-05-08 16:06:43 +02:00
Klaus Basan
456cb5d1ea
SimConnect config: Allow to enable tracing of sendid via UI
2018-05-08 16:06:40 +02:00
Klaus Basan
4bef444f40
Ref T260, implemented 1st version of FSX terrain probe
2018-05-08 16:06:39 +02:00
Klaus Basan
1b8383bee1
Guarding QTimer::singelShot operations, avoid to access dangling pointers
2018-05-08 16:06:39 +02:00
Klaus Basan
b5ba4013dd
Formatting
2018-05-08 16:06:38 +02:00
Klaus Basan
efac4f1f27
Ref T260, added functions for probes to CSimConnectObject
2018-05-08 16:06:37 +02:00
Klaus Basan
94a334ad75
Ref T259, Ref T243 use "getInterpolatedOrGuessedParts" in XPlane
2018-05-08 16:06:36 +02:00
Klaus Basan
6061a61d50
Ref T260, changed elevation handling in provider, simulator and FSX common driver
...
* split functions, added findClosestElevationWithinRangeOrRequest
* obtain elevation ids (separate ids are easier to track)
* also added experimental "physicallyAddAITerrainProbe" (FSX) for the FSX elevation probing
* callback / signal when requested elevation is received (async)
2018-05-08 16:06:35 +02:00
Klaus Basan
0d76cc8d3e
Formatting
2018-05-08 16:06:33 +02:00
Klaus Basan
5c6a37c669
Ref T259, Ref T243 removed guessing from FSX driver code (now in interpolator) and also use guessing in emulated driver
2018-05-08 16:06:33 +02:00
Klaus Basan
f1faeef84a
Ref T259, Ref T243 added functions to use guessed parts in
...
* sim object
* XPlane aircraft
* forward aircraft model to interpolator for guessing
2018-05-08 16:06:32 +02:00
Roland Winklmeier
6a8ae67e06
[xswiftbus] Make xswiftbus completely Qt free
2018-05-08 16:06:30 +02:00
Roland Winklmeier
b278d9ee2f
Group own aircraft DBus calls together
...
Previously all own aircraft values were request via single DBus calls.
Since DBus allows up to 8 values in its reply, use this mechanism
to group the requests and reduce the amount of single calls.
2018-05-08 16:06:29 +02:00
Roland Winklmeier
d77931e5ec
[xswiftbus] Replace QtDBus with a libevent driven C++ wrapper on top of libdbus
...
QtDBus was the main component of xswiftbus' Qt dependency. This is the
first preparation step to get xswiftbus Qt free.
The new implementation is based on the low level libdbus library, which
was also in use by QtDBus itself. But instead of QtDBus, we use now a thin
C++ wrapper. To keep DBus handling async, libevent is used to monitor
timeouts and fds.
2018-05-08 16:06:29 +02:00
Klaus Basan
225d05d22f
Ref T259, Ref T243 prepared sim.env.provider to request elevations
2018-05-04 23:03:28 +02:00
Klaus Basan
852abf1232
Marked deprecated functions in proxy (doxygen)
2018-05-04 23:03:12 +02:00
Klaus Basan
52dd7a754c
Ref T259, Ref T243 access to last interpolated situation to check if near ground
2018-05-04 23:03:08 +02:00
Klaus Basan
a7f1e15f39
Ref T259, Ref T243 pass the providers along the hierarchy
2018-04-13 23:37:49 +02:00
Klaus Basan
785e35ee88
Formatting
2018-04-13 23:37:48 +02:00
Roland Winklmeier
e1538573fe
Remove old xswiftbus interpolator code
...
ref T259
2018-04-13 23:37:45 +02:00
Klaus Basan
66b661fe9c
Ref T259, Ref T243 added number of parts/situations and last modified timestamp
...
* the spline interpolator might need the timestamp to create a new interpolant
* number of parts/situations is for info only
2018-04-13 23:37:44 +02:00
Klaus Basan
9abc57bb3d
Ref T259, Ref T243 remove aircraft parts and situations from interpolator
...
* no longer using the add parts/situations signals
* will use the remote aircraft provider parts directly
Result: all parts/situations are stored only once in memory and in one single place
2018-04-13 23:37:37 +02:00
Klaus Basan
4248c1b689
Ref T259, Ref T243 improved utility function to store elevations in multiple providers
2018-04-13 23:37:36 +02:00
Klaus Basan
fba301adcc
Ref T259, Ref T243 FSX data defintions renamings
2018-04-13 23:37:30 +02:00
Klaus Basan
3f9ec92fb4
Ref T259, Ref T243 removed guessing from sim classes
2018-04-13 23:37:22 +02:00
Klaus Basan
6a92ea4cb6
Ref T259, Ref T243 situation/parts/lights adjustments
...
* guessing now in parts/lights (so it can be used with all sims)
* minor renamings
* init FSX data definitions from parts
2018-04-13 23:37:20 +02:00
Klaus Basan
0c06ac26f7
Ref T259, Ref T243 removed interpolation hints
...
* no longer needed with providers in that form
* pure refactoring commit, just guarantees compilation
* already minor adjustments to use providers
2018-04-13 23:37:18 +02:00
Klaus Basan
06b07ac4c6
Formatting
2018-04-13 23:36:58 +02:00
Klaus Basan
b8de29201a
Ref T259, Ref T243 adjusted simulator classes to use new setup provider
2018-04-13 23:36:42 +02:00
Klaus Basan
011f31ad2b
Formatting
2018-04-13 23:36:37 +02:00
Klaus Basan
333a92ff63
Ref T259, Ref T243 renaming to CInterpolationAndRenderingSetupPerCallsign
2018-04-13 23:36:34 +02:00
Klaus Basan
55534cbb09
Formatting
2018-04-13 23:36:12 +02:00
Klaus Basan
4b7237ce1b
Ref T259, Ref T243 adjusted providers to use common base classes
2018-04-06 02:56:57 +02:00
Klaus Basan
3346a92b56
Ref T259, Ref T243 simulator environment provider
...
* access to elevation
* future: more data such as airport info
2018-04-05 02:54:32 +02:00
Klaus Basan
8021cf76fd
Ref T259, Ref T243 formatting
2018-04-05 02:54:30 +02:00
Klaus Basan
67e8f94481
Ref T259, Ref T243 renaming and adding flags in situation to also represent inbound situations
2018-04-05 02:54:20 +02:00
Klaus Basan
03af49348b
Ref T259, Ref T243 formatting
2018-04-05 02:53:55 +02:00
Roland Winklmeier
d4e4cc2dad
Always use cyan color for X-Plane messages
2018-04-05 02:53:15 +02:00
Klaus Basan
79d898baec
Ref T259, error message if proxy signal cannot be connected
...
Do not relay some signals
2018-04-05 02:52:58 +02:00
Klaus Basan
9517ce7d7c
Ref T259, formatting
2018-04-05 02:52:50 +02:00
Klaus Basan
34502b6b76
Ref T259, renamed CXPlaneMPAircrafts to CXPlaneMPAircraftObjects
...
* there is no plural for aircraft
* so the same style as for simObjects was used
2018-04-05 02:52:48 +02:00
Klaus Basan
13ede9fac1
Ref T259, only remove aircraft after data have been used, otherwise a dangling reference causes a crash
2018-04-05 02:52:45 +02:00
Klaus Basan
41109dd761
Ref T259, some adjustments to our latest style
...
* no private slots
* timers as members
2018-04-05 02:52:43 +02:00
Klaus Basan
2b8883eef8
Ref T259, formatting
2018-04-05 02:52:41 +02:00
Roland Winklmeier
09de945242
Add experimental X-Plane CG offset fetching
...
ref T231
2018-04-05 02:52:28 +02:00
Roland Winklmeier
72497fdefc
Regularly request remote aircraft data from X-Plane
...
This includes
* ground elevation
* model offset (to be implemented)
ref T259
2018-04-05 02:52:26 +02:00
Roland Winklmeier
4db0b83310
Move X-Plane interpolation into driver
...
ref T259
2018-04-05 02:52:20 +02:00
Klaus Basan
63d7e36389
Ref T251, also set GND info for own aircraft
2018-02-16 12:13:38 +01:00
Klaus Basan
78e61e25ac
Formatting
2018-02-16 12:13:35 +01:00