Commit Graph

6070 Commits

Author SHA1 Message Date
Klaus Basan
202b6b7c6a Ref T261, calculate scenery deviation and provide hint on which basis it is calculated 2018-05-08 16:06:51 +02:00
Klaus Basan
999803bc2e Ref T261, common base class for interpolant 2018-05-08 16:06:51 +02:00
Klaus Basan
d50498fa39 Ref T261, also log. scenery offset 2018-05-08 16:06:51 +02:00
Klaus Basan
2a5261f3f6 Ref T261, interpolator PBH in own file 2018-05-08 16:06:50 +02:00
Klaus Basan
cb522fedd7 Formatting 2018-05-08 16:06:50 +02:00
Klaus Basan
c4a900084e Ref T261, internals component adds client capability when client is not parts enabled 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
eb815ab987 Ref T261, improved value classes 2018-05-08 16:06:49 +02:00
Klaus Basan
ab0c34b16a Ref T261, added toFullJson in parts
* needed, since the "is full" attribute needs to be added
* fixed usage in network vatlib
2018-05-08 16:06:49 +02:00
Klaus Basan
5bf21c2937 Ref T261, correct implementation of client provider
* made the interface a "real" interface and provided implementation as CCLientProvider
* aligned some function names with networl context
* network context "impl" also implements ICLientProvider
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
2a86378f79 Ref T261, calculate scenery deviation 2018-05-08 16:06:48 +02:00
Klaus Basan
29407d113e Ref T261, encapsulated groundInterpolationFactor
Rational: Less compilation time when need to change
2018-05-08 16:06:48 +02:00
Klaus Basan
756b1a1ada Ref T261, engine type as QChar 2018-05-08 16:06:48 +02:00
Klaus Basan
2d66fd470a Ref T261, a global altitude offset can be enabled for testing 2018-05-08 16:06:47 +02:00
Klaus Basan
a2ab62a25a Shutdown guard 2018-05-08 16:06:47 +02:00
Klaus Basan
ad10470eb1 Ref T261, improved "finding" for elevation, "findFirst" for small radius 2018-05-08 16:06:47 +02:00
Klaus Basan
ae8d9abf0d Improved ATIS update in ATC station component
* signal for ATIS received
* reload ATC statiosns when ATIS changes
2018-05-08 16:06:47 +02:00
Klaus Basan
0b7706471c Ref T261, guess push back 2018-05-08 16:06:46 +02:00
Klaus Basan
6a2f76f4d7 Ref T261, interpolate (spline) from last interpolated situation -> new situation whenever interpolant is recreated.
Prefill functions for "m_s" values.
2018-05-08 16:06:46 +02:00
Klaus Basan
a1b2e92684 Ref T261, move default offset times to FSD setup
* make it available in "blackmisc"
* remove dependency from "VATSIM"
2018-05-08 16:06:46 +02:00
Klaus Basan
4fe09aa618 gitignore file 2018-05-08 16:06:46 +02:00
Klaus Basan
7db8823770 Ref T261, interpolator changes
* use CAircraftSituationChange
* recalculate interpolant if situation changed (due to elevation update)
* keep extra info string for debugging
* improved situation checking
2018-05-08 16:06:46 +02:00
Klaus Basan
4876569a9d Ref T261, minor airspace monitor improvements and formatting 2018-05-08 16:06:45 +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
9c7134ff56 Ref T261, setup support for isNull 2018-05-08 16:06:45 +02:00
Klaus Basan
46f509c367 Ref T261, logger support for situation change 2018-05-08 16:06:44 +02:00
Klaus Basan
adeea182da Ref T261, provider support for CG/elevation update 2018-05-08 16:06:44 +02:00
Klaus Basan
c7d11975f0 Ref T261, unit tests 2018-05-08 16:06:44 +02:00
Klaus Basan
f330e91350 Ref T261, simulated aircraft get/set CG 2018-05-08 16:06:44 +02:00
Klaus Basan
3f7b229e66 Ref T261, aircraft ICAO/parts guessing 2018-05-08 16:06:43 +02:00
Klaus Basan
bed79237bf Ref T261, aircraft situation
* null altitude
* ground functions
* CG ("member")
* supporting CAircraftSituationChange
2018-05-08 16:06:43 +02:00
Klaus Basan
1f3e5c6abf Formatting, minor tweaks 2018-05-08 16:06:43 +02:00
Klaus Basan
a8ab2a37b8 Ref T261, CG in aircraft model 2018-05-08 16:06:42 +02:00
Klaus Basan
784cf29af5 Ref T261, aircraft changes class reflecting delta/average values
* math utils for standard deviation etc.
* CAircraftSituationChange value class
2018-05-08 16:06:42 +02:00
Klaus Basan
d1f5635bd1 Ref T261, timestamp utility functions 2018-05-08 16:06:42 +02:00
Klaus Basan
d390116666 Relay when simulator isAvailable, otherwise FSX/P3D misses all calls when loading scenery or paused 2018-05-08 16:06:42 +02:00
Klaus Basan
f94fb8e7fb Use Qt::QueuedConnection for cross context (xCtx) to decouple 2018-05-08 16:06:41 +02:00
Klaus Basan
5243682124 Ref T260, interpolator improvements
* use last interpolated situation when recalculating interpolant
* flag if interpolation factor is to be calculated, or guessed
2018-05-08 16:06:41 +02:00
Klaus Basan
d0addd547a Ref T260, ext. version of updating ground elevation, allows to guess gnd. again with updated elevation 2018-05-08 16:06:41 +02:00
Klaus Basan
075ffa8ccb Ref T260, utility functions for interpolation/guessing 2018-05-08 16:06:40 +02:00
Klaus Basan
d021e2dcce Formatting, renaming 2018-05-08 16:06:40 +02:00
Klaus Basan
eb0fa92e7e Ref T260, function to add an offset to received situations for testing
* "dot" command
* context function
* provider functions
2018-05-08 16:06:40 +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
7ba9a35c52 Mapping component, do not allow to change model set when connected to simulator
* selector read-only color
* fixed read-only mode
* renamings, init improved
2018-05-08 16:06:39 +02:00
Klaus Basan
4bef444f40 Ref T260, implemented 1st version of FSX terrain probe 2018-05-08 16:06:39 +02:00
Klaus Basan
51f7b5aeb7 Ref T260, regenerate interpolant if situations have been updated (normally with elevation) 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