Klaus Basan
1755463ec4
Improved way to get situation with altitude offset
2018-08-26 15:26:51 +02:00
Klaus Basan
d010f6f15a
Utility functions to improve resolution in auto stash component
2018-08-26 15:25:08 +02:00
Roland Winklmeier
3267d1ec38
Fix implicit conversion warning
2018-08-25 22:12:03 +02:00
Roland Winklmeier
29e50ee516
Fix missing function argument
2018-08-25 22:12:03 +02:00
Klaus Basan
9ec59514dc
Small improvements of auto stash component
...
- airline can be set in model
- fallback if there is no airline, but livery code
2018-08-22 12:32:07 +02:00
Klaus Basan
12f6e006ab
Ref T308, loading JSON from DB optimizations
...
- info about time consumed for parsing (so we can benchmark)
- using the "optimized" YYYYmmdd parsing
2018-08-22 12:31:54 +02:00
Klaus Basan
f1312bbb50
Style
2018-08-21 22:10:27 +02:00
Klaus Basan
dc534fc88c
Ref T298, improved matching log messages
2018-08-17 01:43:07 +02:00
Klaus Basan
e21328a5a6
Style
2018-08-16 14:44:11 +02:00
Klaus Basan
38e2a3ee3d
Ref T301, some transponder code style fixes
2018-08-13 02:59:38 +02:00
Klaus Basan
2461cfb0ba
Ref T302, register metadata functions
2018-08-13 02:59:37 +02:00
Klaus Basan
9bb3f98489
Style
2018-08-13 02:59:35 +02:00
Klaus Basan
68607a3cb8
Ref T298, better string handling/messages
2018-08-09 01:25:30 +02:00
Klaus Basan
ff9d6147c8
Ref T299, pitch bank heading info
2018-08-07 20:41:03 +02:00
Klaus Basan
c8fc50e787
Ref T296, adding scenery offset as situation member plus utility functions
...
* frontOrNull/backOrNull
* added offset in model
* style/renaming
2018-07-31 01:43:36 +02:00
Klaus Basan
9c0e4356b2
Fix finding of std. livery for a given airline.
...
This was ambigous in the past and could show wrong liveries if 2 or more liveries had the same airline code.
2018-07-20 18:05:57 +02:00
Klaus Basan
52513db63f
Ref T290, XPlane refactoring
...
* typo getRemoteAircraftsData -> getRemoteAircraftData (no "s")
* typo getEelevationAtPosition (double "Ee")
* get functions "const"
* added unit for some variables such as latitudeDeg
2018-07-17 19:04:50 +02:00
Klaus Basan
6af1998f58
Style and comments
2018-07-12 18:29:42 +02:00
Klaus Basan
dd4ce91744
Situation change fix, typo
2018-07-12 18:29:41 +02:00
Klaus Basan
a5acd0a1ec
Ref T268, elevation handling improvements
...
* utility functions
* made storeAircraftSituation virtual and return Aviation::CAircraftSituation
* coordinate toQString in deg/rad
2018-07-11 23:44:11 +02:00
Klaus Basan
b74de43ce0
Ref T268, compare for CAltitude
2018-07-10 17:17:34 +02:00
Klaus Basan
62f9beae89
Ref T268, aircraft situation improvements
...
* Transfer gnd. elevation
* find closest elevation
2018-07-10 17:17:24 +02:00
Klaus Basan
ead1a93597
Style
2018-07-09 22:30:54 +02:00
Klaus Basan
c168262159
Ref T275, utility functions in simulated aircraft, sim object ..
2018-07-09 22:30:21 +02:00
Klaus Basan
fc1a2bbb0f
Ref T275, Ref T280, avoid nan (not a number) values in PQs/elevation
2018-06-20 00:58:45 +02:00
Klaus Basan
984f06f79f
Ref T275, Ref T280, fix parts guessing: do not return after initial guessing, also do 2nd step
2018-06-20 00:58:39 +02:00
Klaus Basan
65c94cf2c3
Style
2018-06-20 00:58:36 +02:00
Klaus Basan
7cc350974c
Ref T275, added "latestOnGroundProviderElevation" to improve average elevation
2018-06-18 20:55:09 +02:00
Klaus Basan
2c55015d26
Ref T275, ctor and option to check if gnd elevation "is better"
2018-06-18 20:55:06 +02:00
Klaus Basan
2625c3fb6b
Ref T275, new function to estimate ground elevation and some provider functions
...
* added "averageElevationOfNonMovingAircraft". Idea: aircraft in the vicinity not moving or on ground likely have the same airport elevation
* added "isWithinRange"
* added "latestRemoteAircraftSituations" / "remoteAircraftSituation" in provider
2018-06-18 03:21:15 +02:00
Klaus Basan
c24e1d9c16
Ref T275, extrapolate elevation function
...
* extrapolate will be used to "guess" elevation when a new network situation is received
* we guess the elevation until we receive it from provider
2018-06-18 03:04:44 +02:00
Klaus Basan
5a22b79299
Ref T275, defined the pairs we are using
2018-06-18 03:04:43 +02:00
Klaus Basan
d1157bb5c6
Ref T275, moved "preset" of elevation to situation class (from interpolator)
2018-06-18 03:04:41 +02:00
Klaus Basan
5b171e7b94
Ref T280, fixed usage for aircraft change
...
* calculate only simple changes (without deviations) if those are not needed
* return "change" object so it can be re-used
2018-06-18 03:04:40 +02:00
Klaus Basan
3467bef45c
Ref T280, provider improvements
...
* store the changes per callsign
* aircraft stored per callsign
* moved "guessOnGroundAndUpdateModelCG" down to IRemoteAircraftProvider (from airspace monitor, "one level deeper in base class"
2018-06-18 03:04:34 +02:00
Klaus Basan
d49831abc4
Ref T280, QHash for aircraft and models and some minor improvements
...
* CValueObject::comparePropertyByIndex
* bool "true" if value has been changed
2018-06-18 03:04:33 +02:00
Klaus Basan
9777bf963c
Style
2018-06-18 03:04:32 +02:00
Klaus Basan
edde558f29
Ref T280, definitions for QHash<CCallsign, T> for
...
* situation
* situation list
* client
* parts
* parts list
* functions to convert standard swift containers into QMap/QHash<CCallign, T>
2018-06-14 14:40:15 +02:00
Klaus Basan
69e1c3f4c2
Ref T275, CAircraftSituationChange view/model
...
* added some more indexes
* CAircraftSituationChangeListModel
* CAircraftSituationChangeListView
2018-06-13 14:00:28 +02:00
Klaus Basan
169dca8d84
Ref T275, aligned classes with new "comparePropertyByIndex" in base class
2018-06-13 14:00:27 +02:00
Klaus Basan
88b2da94a3
Ref T275, elevation plane improvements
...
* setRadiusOrMinimum
* ASSERT if there is no radius
2018-06-13 14:00:11 +02:00
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