Klaus Basan
1bdcd4ac9a
[Parts] Experimental try with aircraft parts, see https://discordapp.com/channels/539048679160676382/539846348275449887/701438699048796280
2020-06-12 18:42:50 +01:00
Klaus Basan
4d7468f913
[FSD] Check attributes of full JSON parts
2020-06-12 18:42:48 +01:00
Klaus Basan
2999aebf37
Ref T773, allow to update CG per model string
...
* needed if CG is overridden by "dot command"
* update all existing aircraft (in range) if changing CG per modelstring
* made "overriddenCGorDefault" public so it can be checked if overridden
* use overridden value in CContextSimulator::xCtxAddedRemoteAircraftReadyForModelMatching
* allow to clear overridden values
2020-06-12 18:42:36 +01:00
Klaus Basan
ec92b6dc46
Ref T773, use closest positions for average height/elevation values
...
Testing with XPlane:
* even in EDDF the field elevations vary from 353-368ft, which means a difference of 15ft or 4m
* that means it is important to use the closest values
2020-06-12 18:42:36 +01:00
Klaus Basan
33b1e26460
Ref T773, cache ground elevations for "on ground" planes separately
...
Rational:
* Those values represent taxiways and runways
* we cache those longer and keep more
It is much more likely we need/can use these values
2020-06-12 18:42:33 +01:00
Klaus Basan
33b3cd5461
Ref T773, elevation handling style and minor improvements
2020-06-12 18:42:32 +01:00
Klaus Basan
4237839bbd
Ref T704, split matching utils for logging in aviation context
2019-09-16 22:40:32 +01:00
Klaus Basan
6d490e9a49
Ref T681, preparations to use CG from DB
...
* renamed to "getSimulatorCG" ...
* pass simulator settings to sim.env.provider to decide what CG to use
* store DB CG and init it when aircraft is added
* style
2019-09-16 22:38:07 +01:00
Klaus Basan
a1490fd4e0
Ref T632, mix fixes
...
* avoid empty callsign CClient object (harmless, but stupid)
* better validations in client provider
* check aircraft config packets (really broadcasts)
2019-05-13 11:20:42 +02:00
Klaus Basan
991c7d59ef
Ref T566, use "configurable" reverse lookup in network/airspace monitor parts
2019-04-11 22:12:12 +01:00
Mat Sutcliffe
e9a4c49d68
Ref T547 Update license masthead in all source code files.
2019-02-22 20:36:43 +00:00
Mat Sutcliffe
077fd8c35a
Ref T525 Avoid directly calling getLogCategories.
2019-02-22 20:35:52 +00:00
Klaus Basan
62860eb30b
Ref T436, allow to set a global offset altitude for testing (example: ".altos ? -10m")
2018-11-23 02:43:11 +01:00
Klaus Basan
dd7e38b2e0
Ref T397, Ref T297 renamed parameter to "allowTestAltitudeOffset"
2018-11-04 17:42:44 +01:00
Klaus Basan
35b8b29d10
Ref T410, preparation and UI adjustments
...
Foo
2018-11-04 17:42:43 +01:00
Klaus Basan
b476da6640
Ref T397, further checks
2018-11-04 17:42:41 +01:00
Klaus Basan
dec0b12ea2
Ref T397, checks on vector to find root cause NaN/inf issue
...
* sometimes very large numbers (xxE38) in vector
* sometimes vectors which look correct, but exceed [-1,1]
2018-11-04 17:42:40 +01:00
Klaus Basan
756ee18410
Ref T379, to improve reset models added "setAircraftEnabledFlag" to just set the flag, not sending signals causing removed aircraft
2018-10-05 17:39:57 +02:00
Klaus Basan
ce192fc106
Ref T372, updateAircraftInRangeDistanceBearing with null check
2018-10-05 17:39:57 +02:00
Klaus Basan
e87740cbd0
Ref T372, timestamp list fixed/added offset/delta t min/max/mean plus function in provider
2018-10-05 17:39:56 +02:00
Klaus Basan
68b72d9c5c
Ref T335, update "enabled/"rendered" for multiple callsigns
2018-09-12 17:40:52 +02:00
Klaus Basan
7d715a909e
Ref T335, style and CLANG warnings
2018-09-12 17:40:49 +02:00
Klaus Basan
1755463ec4
Improved way to get situation with altitude offset
2018-08-26 15:26:51 +02:00
Roland Winklmeier
5e38936fd2
Fix weak vtables
2018-08-25 22:12:06 +02:00
Klaus Basan
9be7572c36
Network VATLIB refactoring
...
* use qit64 for timestamp related integers
* use valueInteger for PQ integer values (rounding)
2018-08-16 14:44:03 +02:00
Roland Winklmeier
3774f2b60f
Fix cppcheck warnings and cleanup suppression config
...
- redundantAssignment
- knownConditionTrueFalse
2018-08-09 01:25:41 +02:00
Klaus Basan
d05b4da2a9
Ref T299, renaming
2018-08-07 20:41:04 +02:00
Klaus Basan
418584c5e3
Style
2018-08-01 03:06:16 +02:00
Klaus Basan
d9f0066ec4
Ref T296, provider stores scenery offset in situation
2018-07-31 01:43:37 +02:00
Klaus Basan
6af1998f58
Style and comments
2018-07-12 18:29:42 +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
ead1a93597
Style
2018-07-09 22:30:54 +02:00
Klaus Basan
ca87784509
Ref T275, remember CG per model string
2018-07-09 22:30:22 +02:00
Klaus Basan
7e8c0cc99d
Fixes: emit signals at end and check sGui
2018-07-09 22:30:19 +02:00
Klaus Basan
9baa10c5f8
Style
2018-07-09 22:30:14 +02:00
Klaus Basan
7cc350974c
Ref T275, added "latestOnGroundProviderElevation" to improve average elevation
2018-06-18 20:55:09 +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
746024becd
Ref T275, use extrapolate for new situations in airspace monitor and provider
2018-06-18 03:04:46 +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
fb93d26453
Ref T275, IRemoteAircraftProvider::remoteAircraftParts cutoff time was never used so parameter was removed
2018-06-18 03:04:30 +02:00
Klaus Basan
978fe5eea2
Ref T275, Ref T280 hint for timestamp based list if they are already sorted
2018-06-18 03:04:29 +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
b257c693ff
Ref T243, Ref T273, improved elevation fetching
...
* slightly shorter lock time
* transfer elevation from last situation
2018-06-13 13:59:49 +02:00
Klaus Basan
ac87e648ca
Ref T270, fixed provider so signals are correctly emitted
2018-05-29 00:56:39 +02:00
Klaus Basan
afe4a09218
Formatting
2018-05-18 00:25:10 +02:00
Klaus Basan
3ef18a788a
Ref T261, minor adjustment of testAddAltitudeOffsetToSituation
2018-05-08 16:06:56 +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
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
2d66fd470a
Ref T261, a global altitude offset can be enabled for testing
2018-05-08 16:06:47 +02:00
Klaus Basan
adeea182da
Ref T261, provider support for CG/elevation update
2018-05-08 16:06:44 +02:00