Commit Graph

89 Commits

Author SHA1 Message Date
Klaus Basan
c168262159 Ref T275, utility functions in simulated aircraft, sim object .. 2018-07-09 22:30:21 +02:00
Klaus Basan
fc1a2bbb0f Ref T275, Ref T280, avoid nan (not a number) values in PQs/elevation 2018-06-20 00:58:45 +02:00
Klaus Basan
2c55015d26 Ref T275, ctor and option to check if gnd elevation "is better" 2018-06-18 20:55:06 +02:00
Klaus Basan
2625c3fb6b Ref T275, new function to estimate ground elevation and some provider functions
* added "averageElevationOfNonMovingAircraft". Idea: aircraft in the vicinity not moving or on ground likely have the same airport elevation
* added "isWithinRange"
* added "latestRemoteAircraftSituations" / "remoteAircraftSituation" in provider
2018-06-18 03:21:15 +02:00
Klaus Basan
d1157bb5c6 Ref T275, moved "preset" of elevation to situation class (from interpolator) 2018-06-18 03:04:41 +02:00
Klaus Basan
de3cb71706 Ref T275, general improvement in value object added comparePropertyByIndex 2018-06-13 14:00:26 +02:00
Klaus Basan
88b2da94a3 Ref T275, elevation plane improvements
* setRadiusOrMinimum
* ASSERT if there is no radius
2018-06-13 14:00:11 +02:00
Klaus Basan
a3b8d776a0 Ref T273, high level functions to compare "equal" situations
Remark: "==" compares a lot of attributes, those will only compare values to determine equal PBH/vector ...
2018-06-13 13:59:48 +02:00
Klaus Basan
65ad35bfab Fixed div. by 0 ("zero") warning 2018-05-29 00:56:38 +02:00
Klaus Basan
23c54938ea Ref T261, unify unit handling in situation altitude related values
* this is an optimization, it would work without that, but there are numerous calculations in interpolation which are faster and easier to debug in the same unit
* PQ switch unit functions use "const &PQUnit"
2018-05-08 16:06:53 +02:00
Klaus Basan
8e3b55b4ca Ref T261, utility functions in value classes
* set offset values
* do not change PQs if PQ is null
* sorted by callsign
2018-05-08 16:06:52 +02:00
Klaus Basan
ad10470eb1 Ref T261, improved "finding" for elevation, "findFirst" for small radius 2018-05-08 16:06:47 +02:00
Klaus Basan
bed79237bf Ref T261, aircraft situation
* null altitude
* ground functions
* CG ("member")
* supporting CAircraftSituationChange
2018-05-08 16:06:43 +02:00
Klaus Basan
d021e2dcce Formatting, renaming 2018-05-08 16:06:40 +02:00
Klaus Basan
056c257182 Ref T260, utility functions to set provider, plane ctor 2018-05-08 16:06:34 +02:00
Klaus Basan
aea0f307db Ref T259, Ref T243 set function/ctor for normal vector 2018-05-04 23:03:24 +02:00
Klaus Basan
0b4637054a Formatting 2018-05-04 23:03:16 +02:00
Klaus Basan
9d484df5ed Ref T259, Ref T243 compare situation by vector 2018-05-04 23:03:07 +02:00
Klaus Basan
9abc57bb3d Ref T259, Ref T243 remove aircraft parts and situations from interpolator
* no longer using the add parts/situations signals
* will use the remote aircraft provider parts directly

Result: all parts/situations are stored only once in memory and in one single place
2018-04-13 23:37:37 +02:00
Klaus Basan
1203c58a23 Ref T259, Ref T243 utility functions for aircraft situation/elevation plane 2018-04-13 23:37:34 +02:00
Klaus Basan
476768f6ec Ref T259, Ref T243 unit function for elevation plane 2018-04-13 23:37:16 +02:00
Klaus Basan
28b270a4cf Fix, wrong assert 2018-04-13 23:36:36 +02:00
Klaus Basan
83b6578e69 Ref T259, Ref T243 use elevation plane for altitude
general idea: by using the plane class, we can set a elevation and then find a better one

* use elevation plane in situation
* adjusted depending classes such as hints, lists
* using setGroundElevationChecked so elevation can be gradually improved
2018-04-05 02:54:28 +02:00
Klaus Basan
0c877e1575 Ref T259, Ref T243 coordinate list and improved "find" functions in IGeoObjectList 2018-04-05 02:54:24 +02:00
Klaus Basan
14fb35a975 Formatting 2018-02-05 03:45:36 +01:00
Klaus Basan
e7f2d639c1 Ref T231, arbitrary radius for elevation plane 2018-01-30 20:34:47 +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
5ec095684a Ref T231, utility functions
* altitude
* situation
* callsign set
* elevation set
2018-01-30 20:31:26 +01:00
Klaus Basan
c39d4f66a3 Setting parent object for timers and formatting 2018-01-30 20:30:39 +01:00
Klaus Basan
1948d067e4 Ref T225, set height to NULL 2018-01-30 20:29:27 +01:00
Klaus Basan
656d86a4ef Ref T180, isNull for CCoordinateGeodetic / situation 2017-11-04 21:44:43 +01:00
Klaus Basan
d5bb1733f4 Ref T180, formatting / const 2017-11-04 16:03:40 +01:00
Klaus Basan
0117558ea7 Formatting 2017-09-24 19:52:04 +01:00
Klaus Basan
e55480737e Ref T111, lat/lng/angle changes
* get struct CAngle::DegMinSecFractionalSec to obtain parts
* round to epsilon utility functions and fix (qint64)
2017-09-24 19:51:09 +01:00
Mathew Sutcliffe
d5ab73e1bc Replace QRegExp with QRegularExpression
Reviewers: kbasan, msutcliffe

Reviewed By: kbasan, msutcliffe

Subscribers: jenkins

Differential Revision: https://dev.swift-project.org/D11
2017-05-05 23:08:35 +01:00
Mathew Sutcliffe
a8302b310e refs #937 Resolved clazy warnings: QString::arg. 2017-04-19 19:31:45 +01:00
Klaus Basan
c1482dca36 Formatting, help text beautifyHelpMessage, improved convertToQString 2017-02-24 15:20:55 +00:00
Klaus Basan
1d967b08e8 refs #865, based on discussion https://dev.vatsim-germany.org/issues/865#note-12
* do not call XP`s elevation provider if not needed in interpolator
* some renaming/utility functions
2017-02-24 00:19:41 +00:00
Mathew Sutcliffe
1c7fb518ca Fixed broken link URLs in comments. 2017-02-24 00:18:16 +00:00
Klaus Basan
9eff387207 Removed deprecated funtions and changed code to use new functions 2017-01-10 23:47:10 +00:00
Klaus Basan
de72a678a2 refs #840, updated value classes
* VTOL flag
* doxygen
* allow to stop after an object has been found
* support for hints/elevation
2017-01-10 23:45:22 +00:00
Klaus Basan
70aee605cb refs #840, value classes for ground elevation plane
Can be used as single point elevation or plane covering an airport
2017-01-10 23:45:18 +00:00
Mathew Sutcliffe
7e1ed21662 refs #837 Height in feet, for consistency. 2017-01-10 23:44:37 +00:00
Mathew Sutcliffe
6c36cd202b refs #837 ICoordinateGeodetic::geodeticHeight is a CAltitude. 2017-01-10 23:44:34 +00:00
Mathew Sutcliffe
b252673928 refs #837 Using new abbreviated syntax for null units. 2017-01-10 23:44:30 +00:00
Mathew Sutcliffe
3ab121a593 refs #802 Fixed linker errors for exported explicit template instantiations with Clang on Windows. 2016-12-13 19:00:44 +01:00
Klaus Basan
dff8db131f refs #780, "qUtf8Printable" fixes
https://dev.vatsim-germany.org/issues/780#note-9 number 2
2016-12-13 19:00:11 +01:00
Klaus Basan
356e91c22f refs #789, fixed wrong geodetic height for onGround guessing
use null unit instead
2016-12-13 18:59:53 +01:00
Klaus Basan
dbdea2d846 Fix handling of base index properties in CAirport/ICoordinateWithRelativePosition 2016-08-26 21:04:33 +01:00
Klaus Basan
b959972e0c refs #707, refactoring geo interfaces
* added compare functions (also to ATC list)
* renamed to relative position, e.g. station.setRelativeDistance
* delegate set/get/compare to correct interface
2016-07-14 18:49:13 +02:00