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
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
Klaus Basan
350a75d672
Formatting
2018-01-14 18:47:24 +01:00
Klaus Basan
604c3eb088
Added unit test based on discussion here
...
https://swift-project.slack.com/archives/G7GD2UP9C/p1515602377000431
2018-01-14 18:47:15 +01:00
Klaus Basan
6c0a74204b
Ref T215, unit tests for altitude
2018-01-14 18:45:35 +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
2c60dfd133
Ref T172, using centralized swift test server
...
Remark: The credentials for the server were distributed in multiple places, now cnetralized in one
2017-12-29 19:49:30 +01:00
Klaus Basan
c2149f00ac
Ref T203, unit test for icon index
2017-12-21 19:47:56 +01:00
Klaus Basan
6374e5e10a
Some formatting like "this->m_" => "m_"
...
During Ref T203
2017-12-21 19:47:46 +01:00
Mathew Sutcliffe
fcb6cf1a52
Removed type erasure in containers
...
Summary:
Refs T196
Using QVector as this is Qt's recommended container type.
Reviewers: #swift_developers, rwinklmeier
Reviewed By: #swift_developers, rwinklmeier
Subscribers: rwinklmeier, jenkins
Tags: #swift_pilot_client
Maniphest Tasks: T196
Differential Revision: https://dev.swift-project.org/D61
2017-11-23 22:15:23 +00:00
Klaus Basan
46a7b67ae5
Ref T180, interpolator status can check validity of situation and provide an info string
2017-11-09 04:42:10 +01:00
Klaus Basan
2dfb6770da
Ref T129, improved flight plan remarks parsing
...
* unit tests
* improved parsing
* return value objects instead of just strings where applicable
2017-10-10 00:28:24 +01:00
Klaus Basan
8d72fe5285
Ref T125, allow to use std::function with CSlot
2017-09-24 19:53:23 +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
70224bea72
refs #904 Settings JSON files split into arbitrary levels of subfolders, one file per key.
2017-04-17 23:59:00 +01:00
Klaus Basan
f8b2e4f23f
refs #893 , unit test for property index
2017-04-17 23:57:25 +01:00
Klaus Basan
88106d6d8a
Unit tests formatting
2017-04-17 23:57:23 +01:00
Mathew Sutcliffe
64f20f0141
refs #863 Fixed wrong test that had been masked by CRemoteAircraftProviderDummy being too clever.
2017-02-24 15:22:36 +00:00
Mathew Sutcliffe
e67b5fccc4
refs #863 Change callsign parameter to be a member instead.
2017-02-24 15:22:32 +00:00
Mathew Sutcliffe
1c2533f5d2
refs #863 Moved nested status classes to namespace scope.
2017-02-24 15:22:25 +00:00
Mathew Sutcliffe
a167cc8e43
refs #863 Each aircraft gets its own interpolator instance,
...
so each one can cache calculations from one frame to the next.
The recent situations and parts are members of the interpolator.
2017-02-24 15:22:22 +00:00
Mathew Sutcliffe
2181702c5c
refs #863 Change interpolation setup member to be a method parameter instead.
2017-02-24 15:22:21 +00:00
Klaus Basan
f71cb04cd2
Formatting ( #879 )
2017-02-24 15:21:23 +00:00
Klaus Basan
dc1d5d8586
refs #875 , refs #879 , renamed CTestUtils to CDBusUtils
...
* class now only contains DBus related code
* other functions have been moved to CTesting
2017-02-24 15:21:20 +00:00
Klaus Basan
ed820da20d
refs #875 , refs #879 , class for test data
...
(will be consolidated with existing utility classes)
2017-02-24 15:21:16 +00:00
Klaus Basan
c1482dca36
Formatting, help text beautifyHelpMessage, improved convertToQString
2017-02-24 15:20:55 +00:00
Klaus Basan
68dccbefa6
Formatting, renaming, Doxygen, minor UI adjustments
2017-02-24 00:18:51 +00:00
Mathew Sutcliffe
3f5139d717
refs #852 IInterpolator::getPartsBeforeTime renamed to getInterpolatedParts
...
and returns a single CAircraftParts object, not a list.
2017-02-24 00:17:55 +00:00
Klaus Basan
667009c85e
refs #840 , moved interpolator classes into Simulation namespace
2017-01-10 23:45:27 +00:00
Klaus Basan
46fafde7a0
refs #840 , add support for interpolation hints
2017-01-10 23:45:25 +00:00
Roland Winklmeier
4b93d0e2d8
CCoordinateGeodetic::calculateEuclideanDistance unit tests
2017-01-10 23:45:07 +00:00
Mathew Sutcliffe
062289bc69
refs #838 Move interpolator unittest from testblackcore to testblackmisc.
2017-01-10 23:44:43 +00:00
Mathew Sutcliffe
7e85422da7
refs #837 CAircraftSituation altitude is part of its position.
2017-01-10 23:44:40 +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
5791de6860
refs #800 Fixed some implicit conversion warnings.
2016-12-13 19:00:26 +01:00
Mathew Sutcliffe
a08c93d53a
refs #756 Added class CProcessInfo to obtain a process name from its PID, and check if a process exists.
2016-10-17 14:34:23 +01:00
Mathew Sutcliffe
aeb15ea7be
refs #759 , #761 Track when a cache value notify slot is a member function to avoid duplicate calls.
2016-09-19 16:18:52 +02:00
Mathew Sutcliffe
ad0a7f9526
refs #759 Temporarily disable a testcase pending a solution to the underlying problem.
2016-09-19 16:18:52 +02:00
Mathew Sutcliffe
e01ae2be11
refs #759 Allow cache value notification slot to be changed after construction.
...
Also allow slot to be any type of callable, including member function or lambda.
2016-09-19 16:18:52 +02:00
Mathew Sutcliffe
87eeac4e15
refs #710 Simple algorithms to replace several regular expressions.
2016-08-30 04:02:00 +01:00
Mathew Sutcliffe
f85db3cffb
refs #730 Updated tests.
2016-08-26 21:04:50 +01:00
Mathew Sutcliffe
87b2396edb
refs #694 Support human readable names for settings and data cache traits.
2016-07-31 23:15:35 +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
Mathew Sutcliffe
242e041ceb
refs #679 CValueCache local signal relay moved to the point of emission, to tolerate different orders of initialization of application.
2016-06-30 02:06:16 +01:00
Mathew Sutcliffe
fdfc5256eb
Configure additional xml output for each unit test via a BlackMisc utility class
...
refs #682
2016-06-22 14:22:22 +02:00
Roland Winklmeier
26a72d5eb2
Consider QObject could be null in CSlot
2016-06-17 10:46:31 +02:00
Mathew Sutcliffe
a5dfa1ef00
refs #570 Removed unused method splitByTime.
2016-06-08 23:59:57 +01:00
Roland Winklmeier
2d8f56a598
Link CBuildConfig and CVersion into static library blackconfig
...
CBuildConfig including private keys etc. should not be part of a
public library API. Therefore link it into a static library, which
is not available to end users.
refs #645
2016-05-24 13:12:23 +02:00
Roland Winklmeier
d4248d2661
Util methods to modify the custom library search path
...
refs #615
2016-05-20 01:41:10 +02:00