Klaus Basan
44f01d8d97
Ref T275, asynchronous version triggerUpdateRemoteAircraftFromSimulator and only fast updates for moving aircraft
2018-06-13 14:00:24 +02:00
Klaus Basan
a27f2b3a9c
Style, typos
2018-06-13 14:00:21 +02:00
Klaus Basan
4975ecd712
Ref T275, improved tracing for FSX
...
* getStatisticsSimulatorSpecific for simulator specific traces/logs
* trace CSimulatorFsxCommon::SimConnectProc times
* trace which receive id is handled in SimConnectProc
* allow to limit aircraft updates (max FPS)
* handle airport updates outside SimConnectProc
2018-06-13 14:00:19 +02:00
Klaus Basan
bdf58ff538
Ref T275, utility functions to trace request ids
2018-06-13 14:00:18 +02:00
Klaus Basan
f728efb3be
Ref T270, Ref T275 FSX/P3D moved the common parts of the .pro files into .pri files and included those
...
Remark: See also https://swift-project.slack.com/archives/G7GD2UP9C/p1528277800000196
2018-06-13 14:00:07 +02:00
Klaus Basan
78747782e4
Ref T270, Ref T275 FSX/P3D .pro files adjusted
2018-06-13 14:00:06 +02:00
Klaus Basan
11aa3052f7
Ref T270, Ref T275 FSX/P3D auto trace sendId
...
In case of problems sendId tracing is automatically switched on for some tome
2018-06-13 14:00:05 +02:00
Klaus Basan
8f336a9631
Ref T273, Ref T275 FSX/P3D uses simulator common function to skip sending equal parts/situations
2018-06-13 13:59:57 +02:00
Klaus Basan
6ed541b6ab
Ref T243, Ref T273, added info about elevation (where did we obtain it?)
2018-06-13 13:59:52 +02:00
Klaus Basan
181ed36f3d
Ref T270, interpolator optimization by passing aircraft number
...
Rational: Except for FS9 we interpolate all aircraft in one loop at the same time. This can cause that some steps are always done at the same time for all aircraft of that loop. By passing the number we can more equally distribute such tasks, avoiding peaks.
2018-06-13 13:59:39 +02:00
Klaus Basan
686b27af6e
Ref T270, style
2018-06-13 13:59:28 +02:00
Klaus Basan
aa7363dcad
Ref T270, Ref T268, plugin common / simulator improvements
...
* connect with "about to quit"
* added interface declarations
* sim statistics, use common function setStatsRemoteAircraftUpdate and double for average values
2018-06-13 13:59:22 +02:00
Klaus Basan
5d6952031d
Formatting
2018-06-13 13:59:20 +02:00
Roland Winklmeier
4aaccb44c3
Cleanup the enabled modules in all sub projects
...
Most modules were just enabled to add include path for dependent headers
2018-06-02 02:08:46 +02:00
Klaus Basan
8a522b5e6d
Ref T270, signal requestedElevation
2018-05-29 00:56:37 +02:00
Klaus Basan
e851934ce8
Ref T261, FSX clamped logging to avoid "status message overflow" if something goes wrong in interpolator.
...
In interpolator scenarios it can happen plenty of error log messagesa re generated in a short time. This can cause hanging.
2018-05-14 02:27:36 +02:00
Klaus Basan
6c50c4ea72
Formatting, minor tweaks
2018-05-12 21:40:23 +02:00
Klaus Basan
43cc99710a
Shutdown guard
2018-05-12 21:40:20 +02:00
Klaus Basan
2e7e210010
Ref T261, allow to enable/disable "fix scenery offset" via setup
...
* added UI functions
* fixed setup model
* use setup in interpolator
2018-05-08 16:06:55 +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
cb522fedd7
Formatting
2018-05-08 16:06:50 +02:00
Klaus Basan
0dca6db4bf
Check pointer for QTimer::singleShot
2018-05-08 16:06:50 +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
Klaus Basan
3031e5b648
Ref T261, set client provider in simulator
...
Needed to obtain client capabilities
2018-05-08 16:06:48 +02:00
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
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
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
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
b8de29201a
Ref T259, Ref T243 adjusted simulator classes to use new setup provider
2018-04-13 23:36:42 +02:00
Klaus Basan
333a92ff63
Ref T259, Ref T243 renaming to CInterpolationAndRenderingSetupPerCallsign
2018-04-13 23:36:34 +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
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
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
Klaus Basan
5aad426ced
Ref T239, removed "QTimer m_xxx { this };" pattern
...
* not in worker classes as parent might have a relevance there
* in UI classes it is useless
2018-02-02 21:26:50 +01:00