Mat Sutcliffe
a592bb2bbe
Include style
2021-09-18 15:07:49 +01:00
Mat Sutcliffe
57d32da826
Use nested namespaces (C++17 feature)
2021-09-18 15:07:48 +01:00
Klaus Basan
cfa96a3aeb
Ref T778, utility functions
2020-06-12 18:42:44 +01:00
Klaus Basan
bce78aa18e
Ref T778, QReadWriteLock::Recursive
2020-06-12 18:42:44 +01:00
Klaus Basan
1821b6e6c5
Ref T778, added/improved removeElevationValues, cleanElevationValues
2020-06-12 18:42:43 +01:00
Klaus Basan
6eb767f938
Minor style, typo
2020-06-12 18:42:41 +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
ab41c1e930
Ref T773, utility functions to clean cache and find max. elevation
2020-06-12 18:42:34 +01:00
Klaus Basan
55b28e24a6
Ref T773, average elevation from cached (on ground) elevations
2020-06-12 18:42:33 +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
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
d8729cea1e
Ref T668, CG override per "dot" command
2019-05-23 13:00:26 +02:00
Klaus Basan
50bddbd80d
Ref T546, CG and elevation provider can be disabled
2019-04-11 22:11:31 +01:00
Mat Sutcliffe
e9a4c49d68
Ref T547 Update license masthead in all source code files.
2019-02-22 20:36:43 +00:00
Klaus Basan
a6499751f0
Ref T335, style/messages
2018-09-12 17:40:46 +02:00
Klaus Basan
27f2fe1b57
Ref T339, simulator info message (version) for SUP supervisor
2018-09-12 17:40:42 +02:00
Roland Winklmeier
5e38936fd2
Fix weak vtables
2018-08-25 22:12:06 +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
29536dac4d
Ref T268, simulator improvements
...
* use virtual function to emit setup signal
* callback public so it can be used from "log display" for testing
* sim. environment provider statistics
2018-07-10 17:17:29 +02:00
Klaus Basan
ca87784509
Ref T275, remember CG per model string
2018-07-09 22:30:22 +02:00
Klaus Basan
dff5c90853
Ref T275, move simulator info into env. provider
2018-06-27 12:49:05 +02:00
Klaus Basan
e0b95859c1
Ref T275, unified elevation missed info -> getElevationsFoundMissedInfo()
2018-06-20 00:58:40 +02:00
Klaus Basan
2b9d9027a0
Ref T270, performance improvement by keeping less elevations cached
...
Rational: the idea was to keep track of ground elevations of all aircraft and hence using them for other aircraft on ground. But the "hit" ratio is bad, so we only keep a small number of elevations ("the last ones") and use those. The size of the cache is dynamically adjusted. Not moving aircraft are still found in that much smaller list.
2018-06-13 13:59:36 +02:00
Klaus Basan
1f3e5c6abf
Formatting, minor tweaks
2018-05-08 16:06:43 +02:00
Klaus Basan
1ff0607e42
Formatting
2018-05-08 16:06:36 +02:00
Klaus Basan
6061a61d50
Ref T260, changed elevation handling in provider, simulator and FSX common driver
...
* split functions, added findClosestElevationWithinRangeOrRequest
* obtain elevation ids (separate ids are easier to track)
* also added experimental "physicallyAddAITerrainProbe" (FSX) for the FSX elevation probing
* callback / signal when requested elevation is received (async)
2018-05-08 16:06:35 +02:00
Klaus Basan
225d05d22f
Ref T259, Ref T243 prepared sim.env.provider to request elevations
2018-05-04 23:03:28 +02:00
Klaus Basan
bd7fd59d07
Ref T259, Ref T243 elevation provider statistics
2018-05-04 23:03:09 +02:00
Klaus Basan
bb34beed26
Ref T259, Ref T243 misc. smaller improvements of simulator environment provider
2018-04-13 23:37:33 +02:00
Klaus Basan
0c06ac26f7
Ref T259, Ref T243 removed interpolation hints
...
* no longer needed with providers in that form
* pure refactoring commit, just guarantees compilation
* already minor adjustments to use providers
2018-04-13 23:37:18 +02:00
Klaus Basan
0b7683fd50
Ref T259, Ref T243 unified naming of interfaces "org.swift-project" + lowercase
2018-04-13 23:36:31 +02:00
Klaus Basan
4b7237ce1b
Ref T259, Ref T243 adjusted providers to use common base classes
2018-04-06 02:56:57 +02:00
Klaus Basan
3346a92b56
Ref T259, Ref T243 simulator environment provider
...
* access to elevation
* future: more data such as airport info
2018-04-05 02:54:32 +02:00