Commit Graph

184 Commits

Author SHA1 Message Date
Klaus Basan
34f9fb89d6 [FSD] Start FSD client in own thread (CContinuousWorker) 2020-01-07 19:57:20 +00:00
Klaus Basan
f6f719a67e [FSD] "dot" command to restrict max. range for FSD positions
Allows to limit the range in which we handle FSD positions
(This also means FSD planes range)
2020-01-07 19:57:19 +00:00
Klaus Basan
0fd1e34d03 [FSD] Verify we really have FSD ICAO data
Problem: Sometime there are aircraft without ICAO daza

* check that we really have received ICAO data
* if not, query data again
* if nothing helps, use data as best guessed (by flightplan data)
2020-01-07 19:57:19 +00:00
Klaus Basan
ff2ab95367 Style 2020-01-07 19:57:19 +00:00
Klaus Basan
857d5eb005 [FSD] Overload prevention
* only allow aircraft to be added based on new positions, NOT on received ICAO data anymore
* hardcoded max.range

Discussion: https://discordapp.com/channels/539048679160676382/539925070550794240/643163521999306832
2020-01-07 19:57:18 +00:00
Klaus Basan
911b23e29d [FSD] Style 2020-01-07 19:57:18 +00:00
Klaus Basan
5fea046c0b Style and log messages 2020-01-07 19:46:18 +00:00
Klaus Basan
cb1e56d7e3 [Matching] Do not use FsInn data if the model string is NOT known
This can override a swift livery string with invalid data
This was already addressed in Ref T701, but obviously incomplete
2020-01-07 19:46:15 +00:00
Klaus Basan
f602fa50cf [Matching] Only try to resolve against FP data if there are remarks 2020-01-07 19:05:43 +00:00
Klaus Basan
a8c7575d9d Style 2019-10-18 10:36:25 +02:00
Klaus Basan
35cdaf09bf Style 2019-10-18 10:36:25 +02:00
Mat Sutcliffe
077476c138 [FSD] Style 2019-10-11 19:00:39 +01:00
Mat Sutcliffe
6eb008c0a0 [FSD] Use forward declaration to reduce header interdependency 2019-10-11 19:00:38 +01:00
Klaus Basan
66ea77d25f Ref T739, removed voice room functions from context and UI 2019-10-11 19:00:37 +01:00
Klaus Basan
66968ff3a5 Ref T739, style 2019-10-11 19:00:36 +01:00
Klaus Basan
dcfe275cc1 Ref T730, adjusted airspace monitor and ATC model
* added cross coupled in model
* "disabled" onAtisVoiceRoomReceived
2019-10-11 19:00:14 +01:00
Klaus Basan
6a9109bf8f Ref T730, style 2019-10-11 19:00:14 +01:00
Klaus Basan
5e3b758e44 Ref T732, renamed to CFsdClient adjustments 2019-10-11 18:59:05 +01:00
Roland Rossgotterer
acf540be34 Long live FsdClient 2019-09-18 13:49:37 +02:00
Roland Rossgotterer
fa6e7108c7 Propagate FacilityType and LoginMode to value objects 2019-09-17 17:29:25 +02:00
Roland Rossgotterer
4772aadc1a Replace INetwork::CConnectionStatus with proper value object 2019-09-17 17:29:25 +02:00
Klaus Basan
678166175b Style 2019-09-16 22:41:24 +01:00
Klaus Basan
82812e6630 Ref T706, staggered queires for ATC and aircraft
* avoid overlapping responses: https://discordapp.com/channels/539048679160676382/539925070550794240/603176348445442058
* potential: avoid traffic overload (forcible logoff)
2019-09-16 22:40:45 +01:00
Klaus Basan
ee5f1d329d Ref T706, some fixes around the ATIS voiceroom URL issue
Discord: https://discordapp.com/channels/539048679160676382/602915311380987905/602917602293055489
2019-09-16 22:40:43 +01:00
Klaus Basan
b87d0f5f15 Ref T705, use model set for reverse lookup
* allow finding model string from set, for NON DB models
* pass model set as parameter
2019-09-16 22:40:40 +01:00
Klaus Basan
3835c9b0f8 Ref T704, further improved reverse lookup in airspace monitor 2019-09-16 22:40:33 +01:00
Klaus Basan
1b4aa1162a Style, typo 2019-09-16 22:40:33 +01:00
Klaus Basan
4237839bbd Ref T704, split matching utils for logging in aviation context 2019-09-16 22:40:32 +01:00
Klaus Basan
07712c27e8 Ref T704, use "readiness" in airspace monitor to avoid "matching ready" sent twice
* details https://discordapp.com/channels/539048679160676382/539925070550794240/599963898552123394
* also "faster" readiness in some cases as it is discovered if FsInn and ICAO package has been received
2019-09-16 22:40:31 +01:00
Klaus Basan
7ee2814c73 Smaller improvements in matching messages/style 2019-09-16 22:40:30 +01:00
Klaus Basan
53d637acb0 Ref T701, use modelset and improved matcher functions in airspace monitor 2019-09-16 22:40:27 +01:00
Klaus Basan
e389d5ac83 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-09-16 22:40:19 +01:00
Klaus Basan
c4e9114a83 Ref T701, typo 2019-09-16 22:40:18 +01:00
Klaus Basan
ea7b3316c9 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-09-16 22:40:18 +01:00
Klaus Basan
92baa16536 Style 2019-09-16 22:40:13 +01:00
Klaus Basan
0d04d3da1d Style/docu 2019-09-16 22:39:54 +01:00
Klaus Basan
6bc2a15f61 Allow to disable reverse lookup for model string and livery ids 2019-09-16 22:39:53 +01:00
Klaus Basan
7b6650db32 Ref T658, renamed to "MatchingScriptReturnValues" because it is NO object to be used in matching script 2019-09-16 22:39:52 +01:00
Klaus Basan
017e9402fd Ref T681, use simulator or DB CG as in settings 2019-09-16 22:38:07 +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
ab5fc6f0ee 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-09-16 20:29:54 +01: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