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
Klaus Basan
42e5b06926
Ref T172, disabled x-dependency between type and eco system
...
This makes it impossible to set some combinations
2018-01-17 05:02:09 +01:00
Klaus Basan
f17e57bd51
Minor style fixes
2018-01-15 23:00:56 +01:00
Klaus Basan
f049900e1f
Ref T223, use const values for standard pressure
...
* standardISASeaLevelPressure
* use static const values for standard pressure
* minor formatting
2018-01-15 23:00:34 +01:00
Klaus Basan
632e0207ce
Ref T224, improved check of DB data availability in swift GUI
...
* some renamings
* check for empty caches as well
* using fixed timestamp checks
* display info about loading objects
2018-01-15 22:50:35 +01:00
Klaus Basan
0fa4bf1e9d
Ref T207, workaround for Q_ASSERT issue described in T207
2018-01-15 22:50:28 +01:00
Roland Winklmeier
de4fe44156
Fix sending the correct pressure altitude for a pilot position
...
* Before this commit, only the true altitude was known for an aircraft situation. The pressure altitude was not available anywhere yet.
* This caused a wrong altitude in radar clients.
* We fix this reading the pressure altitude from the simulators and set it in the own aircraft situation.
* MS Flight Simulators have the pressure altitude in the APIs available.
* For X-Plane and emulated simulator, we need to calculate it from the pressure at sea level.
* Finally, we use the new available pressure altitude to send it to the FSD server.
Maniphest Tasks: Ref T223
2018-01-15 22:49:08 +01:00
Roland Winklmeier
51a90a9a71
Differentiate between true and pressure altitude
...
Altitude can have different meanings in aviation. So far all our
altitudes were true altitudes. But now we also require pressure altitude
including a conversion method between the two.
Maniphest Tasks: T223
2018-01-15 22:43:08 +01:00
Klaus Basan
f0d2336eb6
Ref T199, all file names of multi simulator caches
2018-01-14 18:47:46 +01:00
Klaus Basan
47778acf81
Ref T199, utility file functions
2018-01-14 18:47:44 +01:00
Klaus Basan
312d01d35b
Ref T199, also cache files can be loaded
...
* unwrap cache JSON object
* parameter to control if cache format is allowed
2018-01-14 18:47:37 +01:00
Klaus Basan
826760e347
Bootstrap file name encapsulated
2018-01-14 18:47:28 +01:00
Klaus Basan
fea8ed6802
Ref T219, flight plan value class adjustements
2018-01-14 18:46:16 +01:00
Klaus Basan
93d1dcfc1d
Ref T219, added some utility functions in value classes
2018-01-14 18:46:14 +01:00
Klaus Basan
c23fe86f7f
Ref T219, changed or removed some log category functions
...
* removed unused
* used standard "static const CLogCategoryList &getLogCategories()" patten
2018-01-14 18:46:04 +01:00
Klaus Basan
d073f711e3
Ref T219, added some log pattern
2018-01-14 18:46:01 +01:00
Klaus Basan
4bc9b92c69
Ref T218, find hotkeys by same machine
2018-01-14 18:45:53 +01:00
Klaus Basan
fa6f83d87b
Ref T218, sequence replaceOrAdd overloads
2018-01-14 18:45:50 +01:00
Klaus Basan
2c5a6c0a3a
Ref T218, renamed some functions of CIdentifier
2018-01-14 18:45:48 +01:00
Klaus Basan
d7bc247469
Ref T125, altitude parse and FP string functions
...
* asFpAltitudeString
* asFpAltitudeSimpleVatsimString (non standard format)
* parseFromFpAltitudeString
2018-01-14 18:45:33 +01:00
Klaus Basan
2fb7bde447
Ref T215, some adjustments of user object
...
* remove "valid" from some functions, because no validity is checked
* homebase + real name string
2018-01-13 05:04:34 +01:00
Klaus Basan
b2c0d726bc
Ref T215, PQ integer support
2018-01-13 05:04:33 +01:00
Klaus Basan
35af956c95
CAltitude formatting
2018-01-13 05:04:31 +01:00
Klaus Basan
26b5a6ce28
Found during T215, rectify CIdentifier issues
...
* null/anonymous identifier
* CIdentifier can be linked with QObject and
* CIdentifier reflects name changes of QObject (UI components change name after ctor call)
2018-01-13 05:04:27 +01:00
Klaus Basan
8c539fab0a
Ref T215, FP value class
...
* split into prefix / aircraft ICAO / suffix
* suffix equipment code functions
* fixed FP remarks loading (JSON file)
* fixed missing sending of aircraft ICAO
2018-01-13 05:04:17 +01:00
Klaus Basan
0975abcc46
Ref T215, remember last server and model as cache value
...
* also remember last server not VATSIM server
* remember last model used
* server list selector uses remembered value
* login component sets those values
2018-01-13 05:04:11 +01:00