Klaus Basan
9fd54864f0
Ref T243, const value in provider to have it in a single place
2018-02-04 08:57:53 +01:00
Klaus Basan
7e0c1033ba
Ref T243, use offset times from network vatlib
...
* changed network config received signature (now with offset time)
* removed code to fix offset time, no longer needed
* using push_frontKeepLatestAdjustedFirst guaranteeing correct order
2018-02-04 08:57:32 +01:00
Klaus Basan
278056c62b
Ref T241, Ref T243, utility function toIncrementalJson for parts (adds the JSON attribute)
2018-02-04 08:53:52 +01:00
Klaus Basan
51ba6398bb
Ref T241, Ref T243, ITimestampWithOffsetObjectList
...
* there was already ITimestampWithOffsetBased for objects
* this creates the container version
* functions to add objects (parts/situations) and guarantee the sort order
* moved push_frontMaxElements to CSequence (not specific for timestamp lists)
* added in-place reverse
2018-02-04 08:53:50 +01:00
Klaus Basan
e9e0ae1ff4
Ref T241, Ref T243 formatting and minor tweaks
...
* unified how we write thread_local const
* ASSERTs
* formatting
2018-02-04 08:53:48 +01:00
Klaus Basan
f99e82ac24
Ref T243, track the interpolated time ("real time" of interpolated situation)
...
* keep that time in interpolant
* set it for current position
* some comments and renamings
2018-02-04 08:53:45 +01:00
Klaus Basan
6a2435074c
Ref T241, further improved interpolation logging
...
* all interpolation positions can be logged (3 for spline, 2 for linear)
* interpolated (log) time, setting to real time (i.e. unadjusted time)
* only set logger values with logger attached
2018-02-04 08:50:55 +01:00
Klaus Basan
2da12e2dd8
Ref T226, airport completer
...
* a bigger one with name
* same as dialog
* smaller one, using the dialog
2018-02-02 21:34:42 +01:00
Klaus Basan
37ff498e7e
Ref T226, country selector
2018-02-02 21:26:54 +01:00
Roland Winklmeier
b12002caa2
Improve the performance and usability of the raw FSD message display
...
* Replaced QListView with QPlainTextEdit
* Added filter options for packet type and text
* Option to globally disable/enable the feature. Default disabled
Maniphest Tasks: Ref T240
2018-02-02 21:26:25 +01:00
Klaus Basan
fd6bfdb7c0
Ref T237, using EntitySet = QSet<CEntityFlags::Entity>
2018-01-30 23:34:10 +01:00
Klaus Basan
8f8c2fb96d
Formatting
2018-01-30 20:35:39 +01:00
Klaus Basan
28b5ec9ec6
Ref T237, JSON functions
...
* container file JSON function automatically detecting JSON format (swift, cache, DB)
* utility functions
2018-01-30 20:35:30 +01:00
Klaus Basan
c6b942dc15
Fixes an issue reported by @rphohl that XSwiftBus is not found
...
* only download non-restricted versions
* utility functions to find non-restricted versions
2018-01-30 20:35:22 +01:00
Klaus Basan
39533a7508
Ref T231, Ref T236, Ref T238 improved logging "toQString" of hints/setup improved
2018-01-30 20:35:20 +01:00
Klaus Basan
2d0fbfa3c5
METAR formatting, style, string concat (builder)
2018-01-30 20:35:11 +01:00
Klaus Basan
69e2ed6efe
Ref T231, Ref T236, Ref T238 improvements based on Unit test
...
* check for a correct callsign (assert)
* set callsign if missing (fallback)
* resetLastInterpolation - null last inperpolation
2018-01-30 20:35:09 +01:00
Klaus Basan
0a06ad223f
Ref T231, Ref T236, Ref T238 improvements of interpolator
...
* keep last interpolated sitation, removed m_isFirstInterpolation
* allow to obtain the old/new situation
* transfer of elevations to newer situations
2018-01-30 20:35:07 +01:00
Klaus Basan
cd5fdfaf14
Ref T231, Ref T236, Ref T238 improved logging of situation/parts logging
...
* "dot" commands to log parts/situations
* log can also be displayed in simulator (if simulator can display text messages)
* fixed missings locks for m_interpolationRenderingSetup
* more detailed output
* renamings
* using hints in log
2018-01-30 20:35:05 +01:00
Klaus Basan
ebd916f6d8
Ref T231, Ref T236, Ref T238 added ITimestampWithOffsetBased
...
* base class for offset timefeaturing classes
* used with parts/situations
2018-01-30 20:34:52 +01:00
Klaus Basan
e7f2d639c1
Ref T231, arbitrary radius for elevation plane
2018-01-30 20:34:47 +01:00
Klaus Basan
844436e744
Ref T231, Ref T238 maxValue for PQs
...
Remark: max() as function name caused compile errors
2018-01-30 20:34:45 +01:00
Klaus Basan
17e4dbbd46
Ref T231, disable ARTISTIC forammting for some areas
2018-01-30 20:34:40 +01:00
Klaus Basan
321cb8e563
Ref T236, transfer elevation to newer situations for future reference.
...
The elevation will be transferred within a given radius
2018-01-30 20:32:06 +01:00
Klaus Basan
6d5509890b
Ref T238, moved spline x,y,z ... values to interpolant
...
* only interpolant needs those values
* encapsulated in struct PosArray
* Interpolant needs no reference to interpolator (anymore)
* const CInterpolatorPbh &pbh()
2018-01-30 20:32:03 +01:00
Klaus Basan
3ee5e68054
Ref T238, comments and formatting
2018-01-30 20:31:56 +01:00
Klaus Basan
c9ad99df2e
Ref T238, logParts and getInterpolatedParts can be const
2018-01-30 20:31:53 +01:00
Klaus Basan
92d4294972
Ref T236, isNull default implementation of ICoordinateGeodetic
...
Also interface can be checked agains null
2018-01-30 20:31:50 +01:00
Klaus Basan
00d1315aac
Ref T236, getGroundElevation can be used with and without provider
2018-01-30 20:31:47 +01:00
Klaus Basan
851fbe165d
Ref T236, utility functions to set ground elevation
2018-01-30 20:31:43 +01:00
Klaus Basan
28346fbbdc
Ref T231, set elevation as default for current situation
2018-01-30 20:31:38 +01:00
Klaus Basan
3da834e964
Ref T231, formatting
2018-01-30 20:31:35 +01:00
Klaus Basan
d30229fafe
Ref T231, improved logger
...
* independent mutexes
* utility functions
* max. values
2018-01-30 20:31:29 +01:00
Klaus Basan
5ec095684a
Ref T231, utility functions
...
* altitude
* situation
* callsign set
* elevation set
2018-01-30 20:31:26 +01:00
Klaus Basan
b5106167d9
Renaming
2018-01-30 20:31:23 +01:00
Klaus Basan
5f7842163b
Ref T231, Ref T232 utility functions
2018-01-30 20:31:09 +01:00
Klaus Basan
b49816795c
Ref T231, using corrected altitude with CG in spline interpolator
...
Ref T207
2018-01-30 20:31:06 +01:00
Klaus Basan
ca13c21943
Ref T231, utility functions
...
* corrected altitude also considering CG
* 0 if CG is NULL
2018-01-30 20:30:57 +01:00
Klaus Basan
5e53f22ad7
Fixed "beautify real name"
2018-01-30 20:30:51 +01:00
Klaus Basan
a3bbb72185
Simplify (remove duplicate spaces) text messages
2018-01-30 20:30:46 +01:00
Klaus Basan
2da4b2719a
Ref T231, fix for hovering aircraft
...
If there is no ground flag:
* only use CG/ground elevation close to ground
* and for AGL values clearly not on ground
* otherwise guess by speed ....
2018-01-30 20:30:43 +01:00
Klaus Basan
c39d4f66a3
Setting parent object for timers and formatting
2018-01-30 20:30:39 +01:00
Klaus Basan
50eb93cf40
Ref T229, do not display a directory if same as default
...
* component: made overlay compliant
* sim.dir can be empty on a machine where no simulator is installed
* formatting
* utility functions
2018-01-30 20:30:12 +01:00
Klaus Basan
0991f20f7d
Ref T229, adjusted renamings because of CInterpolationStatus changes
2018-01-30 20:29:48 +01:00
Klaus Basan
75c2eec3d1
Ref T229, adjusted CInterpolationStatus
...
* The `changed`flag in interpolation was faulty.
* It was able to determine if the value was really changed by interpolation, which was the same as indicating that the value was interpolated.
* But there were cases, when the value was interpolated and not changed.
* Also there were cases when the value was changed, but not interpolated.
2018-01-30 20:29:46 +01:00
Klaus Basan
0916c90038
Ref T225, use coordinate dialog in weather component
...
Remark: There was a redundant, also unfinished code in weather UI component for coordinate entry. This is now encapsulated in coordinate form/dialog.
2018-01-30 20:29:36 +01:00
Klaus Basan
1948d067e4
Ref T225, set height to NULL
2018-01-30 20:29:27 +01:00
Roland Winklmeier
704068d299
Add methods to receive and write raw FSD messages
...
This commit adds methods to register for live FSD message reception. The
amount of traffic can be quite high, therefore no normal signal is used -
which would be available via DBus. Instead one has to connect manually
by passing a functor. This guarantees that we communicate only in-process.
If someone tries to connect on the proxy side, the connection will fail.
This needs to be handled properly in client code.
This commit also adds a method to write the FSD message to a selected file.
Maniphest Tasks: T222
2018-01-26 12:40:36 +01:00
Roland Winklmeier
7b9ad0ea07
Add CRawFsdMessage
...
Maniphest Tasks: T222
2018-01-22 14:23:23 +01:00
Roland Winklmeier
656805c485
Fix typo
2018-01-17 14:27:24 +01:00