Commit Graph

338 Commits

Author SHA1 Message Date
Klaus Basan
00a897f29c Better altitude null message 2018-06-13 14:00:01 +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
a3b8d776a0 Ref T273, high level functions to compare "equal" situations
Remark: "==" compares a lot of attributes, those will only compare values to determine equal PBH/vector ...
2018-06-13 13:59:48 +02:00
Klaus Basan
c518c3d0b0 Ref T270, made lights comparable and use it with parts 2018-06-13 13:59:42 +02:00
Klaus Basan
240d2777a5 Ref T270, unified some function names in CAircraftParts and set default timestamp values in parts when guessing 2018-06-13 13:59:31 +02:00
Klaus Basan
06a835a5de Ref T270, added properties for CAircraftSituation 2018-05-26 21:19:21 +02:00
Klaus Basan
6c50c4ea72 Formatting, minor tweaks 2018-05-12 21:40:23 +02:00
Klaus Basan
7ad4c29d28 Ref T261, detect gnd.flag (from network) suppport, display gnd.flag info in UI
* add flag info in simulated aircraft
* allow to display info  in UI
* unified naming to "contains" in situation list
* updated client provider
2018-05-12 21:40:13 +02:00
Klaus Basan
ea585ae166 Ref T261, CAircraftSituationChange improvements
* min/max ground distance, also added in situation list
* use model's vtol/CG info
* improved scenery deviation guessing
* adjusted interpolator scenery deviation handling
2018-05-08 16:06:55 +02:00
Klaus Basan
ed78eb5f0b Ref T261, parts guessing: only use "onGround [bool]" if the gnd. value is set (and not just the default value) 2018-05-08 16:06:55 +02:00
Klaus Basan
7aef1dcbbc Formatting and minor tweaks/renamings 2018-05-08 16:06:54 +02:00
Klaus Basan
23c54938ea Ref T261, unify unit handling in situation altitude related values
* this is an optimization, it would work without that, but there are numerous calculations in interpolation which are faster and easier to debug in the same unit
* PQ switch unit functions use "const &PQUnit"
2018-05-08 16:06:53 +02:00
Klaus Basan
8e3b55b4ca Ref T261, utility functions in value classes
* set offset values
* do not change PQs if PQ is null
* sorted by callsign
2018-05-08 16:06:52 +02:00
Klaus Basan
3ecb7b1f94 Ref T261, cppcheck "scope" warning 2018-05-08 16:06:52 +02:00
Klaus Basan
ef72cf7cd4 Ref T216, adjusted/improved ground guessing 2018-05-08 16:06:51 +02:00
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
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
2a86378f79 Ref T261, calculate scenery deviation 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
0b7706471c Ref T261, guess push back 2018-05-08 16:06:46 +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
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
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
7f4ee19d24 Ref T260, utility functions/improvements in aviation/simulation value objects 2018-05-08 16:06:36 +02:00
Klaus Basan
e3d17859a0 Ref T259, Ref T243 improved utility functions so parts can be guessed in interpolator
* engine count
* aligned naming to "getEnginesCount"
* formatting
2018-05-08 16:06:32 +02:00
Klaus Basan
c3f05ea1cd Ref T259, Ref T243 details for aircraft parts 2018-05-08 16:06:32 +02:00
Klaus Basan
bc4875afbb Ref T259, Ref T243 functions to set/get ground details (situation) 2018-05-04 23:03:31 +02:00
Klaus Basan
cf98c46231 Ref T259, Ref T243 return unit by reference 2018-05-04 23:03:27 +02:00
Klaus Basan
63e5f75a1d Ref T259, Ref T243 situation detects under and overflow
* details about altitude correction AltitudeCorrection
* function to correct altitude by detecting under/overflow
2018-05-04 23:03:13 +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
4d2a32f035 Ref T259, Ref T243 removed ground factor interpolation from parts (now in situation where it belongs) 2018-05-04 23:03:06 +02:00
Klaus Basan
dd9efc9bb1 Ref T259, Ref T243 functions for ground factor/underflow interpolation 2018-05-04 23:03:04 +02:00
Klaus Basan
785e35ee88 Formatting 2018-04-13 23:37:48 +02:00
Klaus Basan
1203c58a23 Ref T259, Ref T243 utility functions for aircraft situation/elevation plane 2018-04-13 23:37:34 +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
582347b557 Ref T259, Ref T243 added ctor for nullptr init (like other PQs) 2018-04-13 23:37:19 +02:00
Klaus Basan
74f52cf39c Ref T259, Ref T243 adjusted container, models and views to support CInterpolationSetupList
* added forward declarations
* added some utility functions
2018-04-13 23:36:38 +02:00
Klaus Basan
55534cbb09 Formatting 2018-04-13 23:36:12 +02:00
Klaus Basan
83b6578e69 Ref T259, Ref T243 use elevation plane for altitude
general idea: by using the plane class, we can set a elevation and then find a better one

* use elevation plane in situation
* adjusted depending classes such as hints, lists
* using setGroundElevationChecked so elevation can be gradually improved
2018-04-05 02:54:28 +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
55e2690ceb Ref T259, Ref T243 utility functions for timestamp based classes and parts plus renamings 2018-04-05 02:54:05 +02:00
Klaus Basan
2f7e119837 Ref T259, Ref T243 utility functions parts/engine list 2018-04-05 02:53:57 +02:00
Klaus Basan
03af49348b Ref T259, Ref T243 formatting 2018-04-05 02:53:55 +02:00
Klaus Basan
a06f59723a Ref T251, unit test for gnd flag sending 2018-02-16 12:13:40 +01:00
Klaus Basan
63d7e36389 Ref T251, also set GND info for own aircraft 2018-02-16 12:13:38 +01:00