Commit Graph

18 Commits

Author SHA1 Message Date
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
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
5d6952031d Formatting 2018-06-13 13:59:20 +02:00
Klaus Basan
4bef444f40 Ref T260, implemented 1st version of FSX terrain probe 2018-05-08 16:06:39 +02:00
Klaus Basan
78e61e25ac Formatting 2018-02-16 12:13:35 +01:00
Klaus Basan
67426b755f Ref T229, FSX/P3D character encoding
* we have to use an encoding function for FSX/P3D string
* encapsulated, so we can later can/improve it
2018-01-30 20:29:43 +01:00
Roland Winklmeier
de4fe44156 Fix sending the correct pressure altitude for a pilot position
* Before this commit, only the true altitude was known for an aircraft situation. The pressure altitude was not available anywhere yet.
* This caused a wrong altitude in radar clients.
* We fix this reading the pressure altitude from the simulators and set it in the own aircraft situation.
* MS Flight Simulators have the pressure altitude in the APIs available.
* For X-Plane and emulated simulator, we need to calculate it from the pressure at sea level.
* Finally, we use the new available pressure altitude to send it to the FSD server.

Maniphest Tasks: Ref T223
2018-01-15 22:49:08 +01:00
Klaus Basan
8e761f35f1 Ref T197, simulator info
* CSimulatorInfo only initialized once and not over and over again in plugin info
* getSimulatorInfo() no longer virtual, as we can access the member CSimulatorInfo directly
* display exact simualtor in FSX/P3D driver
* renamed to identifierToSimulator and fixed typo "Identifier"
2017-12-21 19:46:17 +01:00
Klaus Basan
05ec07edf3 Ref T180, allow to trace send ids
(Rational: hope to get more details about exceptions of FSX)

* trace functions
* command line parsing to set tracing on/off
2017-11-05 20:02:01 +01:00
Klaus Basan
ce7ae9701d Ref T180, formatting and minor fixes of FSX driver
* timer no longer a pointer
* formatting/comments
* unified naming to simObject
* default model initialized in derived class (P3D/FSX)
2017-11-04 21:44:45 +01:00
Klaus Basan
d5bb1733f4 Ref T180, formatting / const 2017-11-04 16:03:40 +01:00
Klaus Basan
61a23d700b Ref T171, driver formatting 2017-10-18 22:58:22 +02:00
Klaus Basan
645faf8373 Ref T27, improved adding of sim objects
* only add one object at a time
* only query object values (from sim) when object is confirmed
* better debug logging (can be switched on)
* physicallyAddRemoteAircraftImpl for better tracing of added objects
* wait until light state is available
2017-09-24 19:48:57 +01:00
Klaus Basan
6d26c96569 Ref T27, preparation for refactoring, turned private slots into normal member functions
* Motivation: slots no longer required, and in the driver the (small) slot overhead might matter
* renamed some members to better reflect future use
* timer intervals as constexpr
* fixed some typos and comments
2017-06-27 20:50:26 +02:00
Klaus Basan
8a2eef66ae refs #911, formatting FSX/P3D connect info 2017-04-18 00:00:45 +01:00
Klaus Basan
4a984ea1de refs #908, formatting 2017-04-17 23:59:28 +01:00
Klaus Basan
70045c046d refs #891, moved common parts for FSX/P3D to fsxcommon
* driver / listener common parts
* config common parts
2017-04-17 23:57:14 +01:00