Commit Graph

419 Commits

Author SHA1 Message Date
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
7807a05f2a Ref T429, functions for angle, heading and situation
* normalize angle -180/+180 when set on situation
* clamp vector function
2018-11-16 02:49:53 +01:00
Klaus Basan
67dcd11e73 Ref T422, functions to set XPDR mode 2018-11-06 01:41:48 +01:00
Klaus Basan
19a910f887 Ref T424, FP can have an altitude string which is just send as it is 2018-11-06 01:41:48 +01:00
Klaus Basan
0dbaf989e9 Ref T424, renamed altitude string functions and added "roundedToNearest100ft" 2018-11-06 01:41:48 +01:00
Klaus Basan
4172701586 Ref T422, functions to toggle/set XPDR mode 2018-11-05 01:39:51 +01:00
Klaus Basan
2b51094b02 Ref T412, Ref T227, lists/parts improvements
* Ctor with timestamp
* detect/improved state detection (e.g. "takeoff")
* objects outside range
2018-11-04 17:42:47 +01:00
Klaus Basan
8c3c55afec Ref T415 style 2018-11-04 17:42:46 +01:00
Klaus Basan
620cbe3882 Ref T415, vPilot format and improved voice capability parsing 2018-11-04 17:42:46 +01:00
Klaus Basan
ebd1e78dd4 Ref T415, altitude function with return value 2018-11-04 17:42:46 +01:00
Klaus Basan
437f529767 Ref T415, FP functions to parse SB4 and vPilot format. SB4 implemented, vPilot not yet 2018-11-04 17:42:45 +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
abe363494b Ref T385, added propertyBy functions for airport ICAO + style 2018-10-07 16:17:27 +02:00
Klaus Basan
428c37fd97 Ref T384, check for ATC suffix 2018-10-05 17:39:59 +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
Roland Winklmeier
ebe23a694b Fix GCC7 fallthrough warnings 2018-10-05 17:39:58 +02:00
Klaus Basan
da3b5bb763 Ref T372, callsign clear 2018-10-05 17:39:56 +02:00
Klaus Basan
5dbf4468f2 COM frequency rounding + testcase 2018-10-05 17:39:56 +02:00
Klaus Basan
01cfe644d3 Ref T373, utility functions in COM system 2018-09-25 03:16:22 +02:00
Klaus Basan
418324e64f Ref T372, Ref T370 testing with emulated driver fixes
* added ground speed
* changed altitude parsing to CPqString::SeparatorsBestGuess
* signal when parts form is set
2018-09-25 01:39:08 +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
4913b93724 Style 2018-09-17 18:28:52 +02:00
Klaus Basan
1f3650e7e2 Avoid empty callsign objects 2018-09-17 18:28:51 +02:00
Klaus Basan
c3cf39e102 Renamed to simplifyAccents (actually the chars are not removed, but replaced) 2018-09-17 18:28:29 +02:00
Klaus Basan
6c9804a1df Ref T353, clean string used with remarks and route
* use ASCII only characters
* simplify string
* max. length
2018-09-17 18:28:24 +02:00
Klaus Basan
c675ef5c32 Ref T335, misc. improvements of value classes/list
- verifyModelData
- setModelType
- getCallsignsAsString
2018-09-12 17:40:51 +02:00
Klaus Basan
ad37e67a6b Ref T345, improved handling of info message in CAtcStation 2018-09-12 17:40:32 +02:00
Klaus Basan
62601bde9d Ref T345, fixed value class CInformationMessage
- added property functions
- used ITimestampBased
2018-09-12 17:40:31 +02:00
Klaus Basan
1243d6e93a Ref T323, better parsing of altitude values
- assume "24000" also as FL
- epsilon comparison
- use 0-9 char functions
- style
2018-09-12 17:40:24 +02:00
Klaus Basan
a9d728f451 Ref T338, utility functions / parsing
- nthIndexOf
- measurement unit can be parsed case insensitive
- CSimpleCommandParser::remainingStringAfter from n-th space
- improved frequency parsing
2018-09-12 17:01:41 +02:00
Klaus Basan
3d2d999f7a Ref T338, style 2018-09-09 02:55:16 +02:00
Klaus Basan
a2486981bd Style 2018-09-08 15:36:25 +02:00
Klaus Basan
651ead5b51 Ref T335, misc improvements in value objects
* allow to reset PBH for terrain probe
* check for null altitude before converting
* function isTerrainProbe for model/aircraft
2018-09-08 15:36:25 +02:00
Klaus Basan
8286da4395 Fixed Doxygen warning 2018-09-01 03:12:44 +02:00
Klaus Basan
260585e35c Ref T308, performance optimized fromDatabaseJsonCaching
* maps for id/object
* caching fromDatabaseJsonCaching
* fixed CAircraftModel::fromDatabaseJson wrong prefix
2018-08-29 03:08:23 +02:00
Klaus Basan
c43fba9abd Ref T308, style 2018-08-29 03:08:21 +02:00
Klaus Basan
84bf19697c Ref T310, utility functions for statistics (incl.renaming) 2018-08-28 01:15:49 +02:00
Klaus Basan
fd751e66c2 Faster QString handling in aircraft ICAO code 2018-08-27 18:58:12 +02:00
Klaus Basan
09e8b3ffcf Completer sort order and ICAO code string building 2018-08-26 15:27:04 +02:00
Klaus Basan
302e9fc9d0 Use QStringBuilder in livery 2018-08-26 15:26:59 +02:00
Klaus Basan
1755463ec4 Improved way to get situation with altitude offset 2018-08-26 15:26:51 +02:00
Klaus Basan
d010f6f15a Utility functions to improve resolution in auto stash component 2018-08-26 15:25:08 +02:00
Roland Winklmeier
3267d1ec38 Fix implicit conversion warning 2018-08-25 22:12:03 +02:00
Roland Winklmeier
29e50ee516 Fix missing function argument 2018-08-25 22:12:03 +02:00
Klaus Basan
9ec59514dc Small improvements of auto stash component
- airline can be set in model
- fallback if there is no airline, but livery code
2018-08-22 12:32:07 +02:00
Klaus Basan
12f6e006ab Ref T308, loading JSON from DB optimizations
- info about time consumed for parsing (so we can benchmark)
- using the "optimized" YYYYmmdd parsing
2018-08-22 12:31:54 +02:00
Klaus Basan
f1312bbb50 Style 2018-08-21 22:10:27 +02:00
Klaus Basan
dc534fc88c Ref T298, improved matching log messages 2018-08-17 01:43:07 +02:00
Klaus Basan
e21328a5a6 Style 2018-08-16 14:44:11 +02:00
Klaus Basan
38e2a3ee3d Ref T301, some transponder code style fixes 2018-08-13 02:59:38 +02:00