Commit Graph

2180 Commits

Author SHA1 Message Date
Klaus Basan
e3ab9d08c3 Do not show tiny airfields of FSX 2017-02-24 15:20:31 +00:00
Klaus Basan
f0cbe3b332 refs #873, nullable interface for value objects 2017-02-24 15:20:28 +00:00
Klaus Basan
273427d3d9 refs #873, updated internals component
* can trigger request of parts
* opening logs
* update parts in UI from aircraft
2017-02-24 15:20:27 +00:00
Klaus Basan
d4b2238dc6 Formatting 2017-02-24 00:20:11 +00:00
Klaus Basan
ec23863d53 Formatting, QStringBuilder 2017-02-24 00:20:04 +00:00
Klaus Basan
36fb62a6fe refs #873, allow null for lights 2017-02-24 00:19:53 +00:00
Klaus Basan
3090413849 refs #873, value object light to light states 2017-02-24 00:19:43 +00:00
Klaus Basan
1d967b08e8 refs #865, based on discussion https://dev.vatsim-germany.org/issues/865#note-12
* do not call XP`s elevation provider if not needed in interpolator
* some renaming/utility functions
2017-02-24 00:19:41 +00:00
Roland Winklmeier
7be604741c Add swift client ssl certificate
refs #762
2017-02-24 00:19:36 +00:00
Klaus Basan
578a092b0c refs #865, set current elevation from hints also for current situation
This is better than the copied elevation from old situation
2017-02-24 00:19:31 +00:00
Klaus Basan
bc3bd41c97 refs #865, allow to override in setGroundElevationFromHint 2017-02-24 00:19:30 +00:00
Klaus Basan
085f25fa86 refs #865, FSX: changed how elevation/CG is updated 2017-02-24 00:19:28 +00:00
Klaus Basan
62d4a94106 refs #865, further improved logging
* set log flag in hints, so no lock for each aircraft is needed
* as a result log functions have a bool log parameter now
* highlight situation and parts changed
2017-02-24 00:19:18 +00:00
Klaus Basan
ff7756db38 refs #865, added parts to interpolation log 2017-02-24 00:19:16 +00:00
Klaus Basan
8fb79f613c refs #865, use CG for on ground estimation 2017-02-24 00:19:13 +00:00
Klaus Basan
818cdfba59 Doxygen, added link to dev wiki and fixed group 2017-02-24 00:19:11 +00:00
Klaus Basan
e3d81c6c44 refs #865, use same function for removing outdated aircraft parts
* in airspace monitor
* in XP traffic.cpp
2017-02-24 00:19:09 +00:00
Klaus Basan
8313b501b1 refs #865, changes in getInterpolatedParts as discussed on slack (MS/KB) 2017-02-24 00:19:04 +00:00
Klaus Basan
e49f9c2b38 Fixed output of PQ null values 2017-02-24 00:19:02 +00:00
Klaus Basan
74a4570a40 refs #865, interpolator allows to log situations plus improvements found by logs
* set timestamp for current situation
* assert if new timestamp > old timestamp
2017-02-24 00:18:59 +00:00
Klaus Basan
def51576de refs #865, added log functions to interpolator
* updated HTML template
* parts use now string builder
2017-02-24 00:18:57 +00:00
Klaus Basan
af15929b30 refs #865, allow to enable interpolator/parts logging
* removed debug messages from interpolator
* added callsign to getInterpolatedParts / getInterpolatedSituation signatures
* config for logging via CInterpolationAndRenderingSetup::addCallsignToLog etc.
2017-02-24 00:18:56 +00:00
Klaus Basan
c84bf93862 refs #865, added ternary ground flag
* also add reliablity for ground flag
* default elevation null
* added missing property indexes
2017-02-24 00:18:54 +00:00
Klaus Basan
301db27945 refs #865, make log directory available for blackmisc 2017-02-24 00:18:52 +00:00
Klaus Basan
68dccbefa6 Formatting, renaming, Doxygen, minor UI adjustments 2017-02-24 00:18:51 +00:00
Klaus Basan
336fda23c9 refs #865, set on ground flag in interpolator 2017-02-24 00:18:47 +00:00
Klaus Basan
3c7eb6ea28 refs #865, add onGround flag to aircraft situation 2017-02-24 00:18:45 +00:00
Klaus Basan
daab5eed49 refs #865, adjusted interpolator to use elevation or elevation provider
* adjusted IInterpolator::setGroundElevationFromHint
* removed cgAboveGround from getCorrectedAltitude
2017-02-24 00:18:43 +00:00
Klaus Basan
38585d10b2 refs #865, hints get ground elevation from provider or from set value
* using CAltitude for elevation provider
* null() for CAltitude
* formatting of members
* fixme in fs9 client
2017-02-24 00:18:40 +00:00
Roland Winklmeier
d8de6bc398 Fix CXPlaneUtil::xplane10Dir() on Mac OS
Q_OS_UNIX is also defined on Mac OS, therefore the Q_OS_OSX branch
was never reached.
This concludes the test of this function on Mac OS and the todos
can be removed.
2017-02-24 00:18:20 +00:00
Mathew Sutcliffe
1c7fb518ca Fixed broken link URLs in comments. 2017-02-24 00:18:16 +00:00
Mathew Sutcliffe
e5d45b077d refs #852 Fix for problem with landing aircraft with interim position updates. 2017-02-24 00:18:12 +00:00
Mathew Sutcliffe
08b1c19df7 refs #852 CInterpolatorLinear obtains the ground elevation via a lazy computation
in CInterpolationHints and uses this to interpolate between altitude and elevation.
2017-02-24 00:18:01 +00:00
Mathew Sutcliffe
8a924d5b1c refs #852 IInterpolator::getInterpolatedParts interpolates the onGround value. 2017-02-24 00:17:58 +00:00
Mathew Sutcliffe
3f5139d717 refs #852 IInterpolator::getPartsBeforeTime renamed to getInterpolatedParts
and returns a single CAircraftParts object, not a list.
2017-02-24 00:17:55 +00:00
Mathew Sutcliffe
76cc9f8ad8 refs #852 CAirspaceMonitor has no maximum number of parts per callsign,
but regularly prune the list based on timestamp age.
2017-02-24 00:17:53 +00:00
Mathew Sutcliffe
bc38a0cea1 refs #852 Added aircraft parts in CInterpolationHints. 2017-02-24 00:17:50 +00:00
Mathew Sutcliffe
c00a13a29c refs #852 Added a floating-point onGround value in CAircraftParts. 2017-02-24 00:17:48 +00:00
Mathew Sutcliffe
3e70ab1207 refs #852 Add a time offset to CAircraftParts. 2017-02-24 00:17:46 +00:00
Mathew Sutcliffe
4d30ce40c7 refs #852 Added reverse iterators to CRange and CSequence. 2017-02-24 00:17:44 +00:00
Mathew Sutcliffe
ec44c100b7 refs #852 Const-correctness. 2017-02-24 00:17:42 +00:00
Roland Winklmeier
2616f94f2d Define precipitation rate default unit to mm/h
There was a misalignment in precipitation rate units across the code.
GFS values are in kg m-2 s-1 which is equal to mm/s, but the default
unit seems to be mm/h in many weather documents.
2017-02-24 00:09:22 +00:00
Roland Winklmeier
f75a9ac476 Slightly adapt the cloud coverage conversion
refs #851
2017-02-24 00:09:20 +00:00
Roland Winklmeier
1f61458504 Add SimConnect utility converting weather grid
refs #851
2017-02-24 00:09:16 +00:00
Roland Winklmeier
97b21b6dac Add application role 'Sample'
Sample hotkey which requires access to CGuiApplication, did not yet
set a application role. Since there was no corresponding role for
samples, I added one and set it in sample hotkey.
2017-02-24 00:09:14 +00:00
Klaus Basan
265b6d33f0 refs #859, allow to trigger digest signal manually
* Useful if the input signal was just a bogus signal used to trigger
* Login component shows a use case
2017-02-24 00:09:11 +00:00
Klaus Basan
61e7f23847 refs #858, todo review (demoted, commented) 2017-02-24 00:09:00 +00:00
Klaus Basan
1ced7f3c0b refs #857, check if network is accessible in readers
* new read state "skipped"
* renamed to "isNetworkConnectedAndAccessible"
* checking before reading, which would only fail if network is not accessible
2017-02-24 00:08:55 +00:00
Mathew Sutcliffe
ac490eeed7 refs #815 Fixed missing CJsonScope in CAircraftEngineList. 2017-01-12 01:18:06 +00:00
Mathew Sutcliffe
a0e59546f0 fixed mistakes caught by clang 2017-01-11 01:28:42 +00:00