Commit Graph

155 Commits

Author SHA1 Message Date
Klaus Basan
495312019d Smaller improvements in matching messages/style 2019-07-16 20:22:38 +02:00
Klaus Basan
c2ddb3c9b3 Ref T701, use modelset and improved matcher functions in airspace monitor 2019-07-16 20:22:37 +02:00
Klaus Basan
bfc1c7bda9 Ref T701, do NOT use FsInn data if model string iis unknown
* this can overrride "swift livery strings"
* FsInn only is useful with a known model string
2019-07-11 20:46:35 +02:00
Klaus Basan
b4cb6606d6 Ref T701, typo 2019-07-11 20:46:35 +02:00
Klaus Basan
440d9333c4 Flight plan fixes based on https://discordapp.com/channels/539048679160676382/539486309882789888/597133111272275970
* improved setting of combox value, fixed wrong text
* do NOT emit signals when same index
* getOwnCallsign
* do NOT used cache FPs for own aircraft
2019-07-11 20:46:34 +02:00
Klaus Basan
f90baedf8a Style 2019-07-11 20:46:33 +02:00
Klaus Basan
90d9002a4f Style/docu 2019-06-16 20:19:27 +02:00
Klaus Basan
91f09841df Allow to disable reverse lookup for model string and livery ids 2019-06-16 03:03:04 +02:00
Klaus Basan
52c9f3b6f4 Ref T658, renamed to "MatchingScriptReturnValues" because it is NO object to be used in matching script 2019-06-15 00:00:43 +02:00
Klaus Basan
941abd300e Ref T681, use simulator or DB CG as in settings 2019-06-13 01:18:05 +02:00
Klaus Basan
86431a46c7 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-06-13 01:18:05 +02:00
Klaus Basan
2c1370bee6 Ref T658, adjusted matching with script
* return values changed
* pass in model and matched model
* JavaScript objects for web services, model set
* allow to pass back a model
2019-06-05 20:08:57 +02:00
Klaus Basan
475d23c3da Ref T658, moved entry script in own function and adjusted airspace monitor 2019-05-23 13:12:58 +02:00
Klaus Basan
da8e504d67 Ref T668, minor style changes and improvemments 2019-05-23 13:00:26 +02:00
Klaus Basan
b9aab7e5b3 Ref T658, matching settings for reverse lookup in airspace monitor 2019-05-23 13:00:25 +02:00
Klaus Basan
bcbdaaf1a7 COM audio did not tune in (voice room) if channel was already selected at startup
Reason was: hardcoded channel spacing to 8.33kHz

As a result changed to channel spacing based on COM unit, which could also be changed at runtime

* the issue itself was in own aircraft context
* added functions for channel spacing
* changed to COM unit channel spacing (instead of hardcoded spacing)
2019-05-13 11:20:49 +02:00
Klaus Basan
8df7404f2b Fixed staggered update 2019-05-13 11:20:49 +02: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
Klaus Basan
b2065b5da3 Ref T566, style 2019-04-11 22:12:12 +01:00
Klaus Basan
1055c0fb17 Ref T556, FP related fixes
* myself guard
* improved overlay messages
* removed redundant constexpr.
2019-04-11 22:11:35 +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
5fe4c95f4b Avoid assert without sApp/shutting down 2019-02-22 20:36:32 +00:00
Mat Sutcliffe
6c05c5249d When calling arg() on a QString constructed from a literal, use QStringLiteral. 2019-02-22 20:23:47 +00:00
Roland Winklmeier
ee8af9f4c6 Filter other pilots ghost aircraft when flying in shared cockpit mode
When flying in shared cockpit mode, both pilots log into the network.
One as pilot to be visible to ATC and other pilots. The other one as
observer. For the observing user, the pilots aircraft needs to be filtered.
Filter algorithm is using the same schema as vPilot does.

ref T427
2018-11-16 02:49:54 +01:00
Klaus Basan
60144ad7b1 Ref T409, use new livery string to resolve model/livery/ICAO 2018-11-04 17:42:45 +01:00
Klaus Basan
9dd06c4c84 Ref T397, fixed "disable" for fast positions 2018-11-04 17:42:41 +01:00
Klaus Basan
00d859d5b3 Ref T297, style and remarks for T297 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
1280359fe1 Style 2018-10-07 16:17:27 +02:00
Klaus Basan
1195eba417 Ref T385, OBS aircraft callsign
* in CAirspaceMonitor::onIcaoCodesReceived we know we deal with aircraft only and explicitly deal with it
* in other cases we can not tell if we deal with aircraft/ATC callsign for sure, we ignore invalid callsigns
2018-10-05 17:39:59 +02:00
Klaus Basan
e82695e6ae Ref T384, style 2018-10-05 17:39:58 +02:00
Klaus Basan
2eb1316f80 Ref T372, always store fast position updates 2018-10-05 17:39:57 +02:00
Klaus Basan
5c165c4fe7 Ref T373, style 2018-09-25 03:47:46 +02:00
Klaus Basan
a9f0cebe13 Ref T345, fixed bug: only one station must be updated with the new message 2018-09-17 18:28:53 +02:00
Klaus Basan
1f3650e7e2 Avoid empty callsign objects 2018-09-17 18:28:51 +02:00
Klaus Basan
111eca61ee Ref T345, airspace monitor/context ATIS handling
* using Qt::QueuedConnection
* use new update functions
2018-09-12 17:40:35 +02:00
Klaus Basan
fa3555b792 Ref T322, in airspace monitor update ATC station distance 2018-09-08 15:36:22 +02:00
Klaus Basan
be6ae734a0 Ref T322, style/renamings 2018-09-08 15:36:22 +02:00
Klaus Basan
b4e17ed091 Ref T322, renamings 2018-09-08 15:36:21 +02:00
Klaus Basan
956ffd949d Style 2018-08-26 15:26:49 +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
Klaus Basan
68607a3cb8 Ref T298, better string handling/messages 2018-08-09 01:25:30 +02:00
Klaus Basan
d05b4da2a9 Ref T299, renaming 2018-08-07 20:41:04 +02:00
Klaus Basan
dd687b7d90 Cppcheck and unit test fixes 2018-08-07 20:39:06 +02:00
Klaus Basan
c8fc50e787 Ref T296, adding scenery offset as situation member plus utility functions
* frontOrNull/backOrNull
* added offset in model
* style/renaming
2018-07-31 01:43:36 +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
1428d39f4b Ref T268, airspace monitor also consider closest elevations (from same callsign situations) 2018-07-10 17:17:26 +02:00
Klaus Basan
98106be4ad Stricter "connect" check in airspace monitor 2018-07-09 22:30:50 +02:00
Klaus Basan
b551aaf874 Ref T275, Ref T280, airspace monitor improvements
* improved when when we add aircraft by waiting for at least 2 positions
* reset rendered flag
* check ecosysstem
2018-07-09 22:30:18 +02:00