Commit Graph

58 Commits

Author SHA1 Message Date
Klaus Basan
6ed541b6ab Ref T243, Ref T273, added info about elevation (where did we obtain it?) 2018-06-13 13:59:52 +02:00
Klaus Basan
7ad4c29d28 Ref T261, detect gnd.flag (from network) suppport, display gnd.flag info in UI
* add flag info in simulated aircraft
* allow to display info  in UI
* unified naming to "contains" in situation list
* updated client provider
2018-05-12 21:40:13 +02:00
Klaus Basan
f330e91350 Ref T261, simulated aircraft get/set CG 2018-05-08 16:06:44 +02:00
Klaus Basan
e3d17859a0 Ref T259, Ref T243 improved utility functions so parts can be guessed in interpolator
* engine count
* aligned naming to "getEnginesCount"
* formatting
2018-05-08 16:06:32 +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
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
2fb7bde447 Ref T215, some adjustments of user object
* remove "valid" from some functions, because no validity is checked
* homebase + real name string
2018-01-13 05:04:34 +01:00
Klaus Basan
ba8d0c1f64 Ref T129, formatted aircraftmodel and simulated aircraft 2017-10-10 00:27:32 +01:00
Klaus Basan
ea6cf20587 Ref T111, allow to set cockpit by passing another simulated aircraft 2017-09-24 19:51:56 +01:00
Klaus Basan
6d26c96569 Ref T27, preparation for refactoring, turned private slots into normal member functions
* Motivation: slots no longer required, and in the driver the (small) slot overhead might matter
* renamed some members to better reflect future use
* timer intervals as constexpr
* fixed some typos and comments
2017-06-27 20:50:26 +02:00
Klaus Basan
5bea0e2a96 refs #879, added ctor for CSimulatedAircraft / CPropertyIndexVariantMap::size() 2017-02-24 15:21:26 +00:00
Klaus Basan
3de16cbec1 refs #877, CSimulatedAircraft DBus signature size
* reduce size by storing models in list
* using an array for the models failed - not supported by tuple system
2017-02-24 15:21:08 +00:00
Klaus Basan
7bfc9810cb refs #875, temp disabled network model for DBus (signature too big) 2017-02-24 15:21:02 +00:00
Klaus Basan
2f4c86fac4 refs #875, DBus fixes
* wrong signal connection signature -> assert
* missing SELCAL in simulated aircraft
2017-02-24 15:20:56 +00:00
Klaus Basan
c1482dca36 Formatting, help text beautifyHelpMessage, improved convertToQString 2017-02-24 15:20:55 +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
Mathew Sutcliffe
6c36cd202b refs #837 ICoordinateGeodetic::geodeticHeight is a CAltitude. 2017-01-10 23:44:34 +00:00
Mathew Sutcliffe
544a1cca45 refs #837 Don't misuse coordinate height as ground elevation, use a separate member instead. 2017-01-10 23:44:31 +00:00
Klaus Basan
cb2be14083 Fixed "synchronized" typos 2016-12-13 19:00:12 +01:00
Klaus Basan
1a771aaed0 refs #789, treat aircraft with no model string as disabled 2016-12-13 19:00:07 +01:00
Klaus Basan
f1ce5fc173 refs #793, display mismatch between rendered and network model
* utility functions to display that info
* added in aircraft model
2016-12-06 09:47:00 +01:00
Klaus Basan
8a5d50a167 refs #780, fixed property index compare issues found in the client 2016-12-06 09:46:57 +01:00
Klaus Basan
0dd9bce697 refs #793, keep network model (as reverse looked up) 2016-12-06 09:34:53 +01:00
Klaus Basan
cdea8cff95 refs #780, fixes login/flightplan preset
* empty airline is valid
* sync with flightplan (new signal to indicate changed login values)
* better preset of own model
2016-12-06 09:33:57 +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
Klaus Basan
8b39e6f9c3 Formatting / warning fix (RW slack)
'initializing': conversion from 'size_t' to 'const int', possible loss of data
2016-06-23 20:13:29 +02:00
Roland Winklmeier
3d7a39ed00 Fix BlackMisc header includes
* Include only what is used
* Use forward declaration when possible
* Sorted includes

refs #630
2016-05-13 17:05:49 +02:00
Klaus Basan
0f5d2a29a8 refs #655, Change signature (order) of setProperty/compareProperty 2016-05-13 16:44:17 +02:00
Klaus Basan
ddc7347927 refs #643, moved aircraft model icon loading to model class
* removed iconForModel from interface and aircraft config parser
* CPixmap support for loading pixmap from file
* Access to model of model set loader by model string
* icon path as member of CAircraftModel
2016-05-05 20:49:16 +02:00
Klaus Basan
368d803d42 refs #614, refs #638 removed redundant m_livery from CSimulatedAircraft and improved convertTOQString
* removed some leftovers in simulated aircraft such as virtual functions
* use livery from model instead of keeping a redundant copy
2016-04-11 20:57:54 +02:00
Klaus Basan
d83e9c0c91 Made ctor explicit 2016-04-11 20:22:22 +02:00
Mathew Sutcliffe
4e9d7d3efe refs #628 Metaclass style compatible with the AStyle beautifier. 2016-04-06 15:15:12 +01:00
Mathew Sutcliffe
4bd4baa535 refs #628 Use the metaclass mixins in all value classes. 2016-04-03 18:17:43 +01:00
Klaus Basan
c3722f9198 refs #485, refs #584 removed include blackmiscfreefunctions.h 2016-03-18 01:07:49 +00:00
Roland Winklmeier
794bf0cd74 Fix doxygen copydoc documentation
The following issues were fixed
* Fixed wrong/missing namespaces
* Fixed obvious typos in documentation
* Documentation not in sync with source code

refs #544
2016-02-08 01:53:17 +01:00
Mathew Sutcliffe
81fd3ef1d9 refs #552 CCoordinateGeodetic: added methods to get/set n-vector as doubles, to avoid narrowing. 2015-12-13 16:38:29 +00:00
Klaus Basan
1b46e0400c refs #544 doxygen 2015-12-12 04:47:18 +00:00
Klaus Basan
f9c160d625 refs #533, fix callsign validation and split into functions for ATC/aircraft 2015-12-08 20:14:20 +01:00
Klaus Basan
22ca6ae922 Fixed adding the hardcoded test servers in a dev. environment
(issue found during debugging of #533)
Added some functions to find similar servers by address/port
2015-12-08 20:14:16 +01:00
Mathew Sutcliffe
bc9ff9f6b2 refs #484 Revise CCoordinateGeodetic implementation to use n-vectors. 2015-11-19 21:04:56 +00:00
Klaus Basan
0c94922bd6 refs #501, compareByPropertyIndex (performance for sort) 2015-11-19 21:04:34 +00:00
Klaus Basan
ae24700299 refs #452, adjusted aircraft/aviation classes
* support for loading from datastore
* improved timestamp handling
* new color and country classes
* new attributes
* updates for missing parts in CUser
2015-11-19 20:58:48 +00:00
Klaus Basan
25fd0f4f2d refs #445, value objects and containers
* common base class for DB based classes
* common base class for DB based containers
* Livery, distributor value class
* adjusted value classes to livery
* utility functions for DB values (blackmisc free functions)
* register new objects with metadata system
2015-11-19 20:57:17 +00:00
Mathew Sutcliffe
b65232b202 MS & KB workshop: ICAO class renamings. 2015-05-12 22:47:54 +01:00
Mathew Sutcliffe
6b40cde862 refs #413 Make all value class methods non-virtual.
toCVariant() and convertFromCVariant() are now deprecated,
use CVariant::from() and CVariant::to() instead.
2015-05-12 20:37:47 +01:00
Mathew Sutcliffe
b64ae55a86 refs #413 Access control of convertToQString changed from protected to public. 2015-05-12 20:37:43 +01:00
Roland Winklmeier
a089d3641d refs #403 add BlackMisc shared library build 2015-05-05 21:34:19 +02:00
Michał Garapich
985a1caecf refs #396 BlackMisc: nw* goes to network/, hw* goes to hardware/ 2015-04-07 19:22:37 +02:00
Klaus Basan
32f60722c8 refs #396, move subproject BlackSim into BlackMisc::Simulation
* removed unused samples / tests
* fixed found Doxygen issues
* removed blacksimfreefunctions, now in BlackMisc::Simulation::registerMetadata()
* samples_vetcor_geo to samples_geo
2015-04-07 19:22:16 +02:00
Roland Winklmeier
78d3350bf3 refs #396 move Blackmisc Aviation classes into subfolder 2015-04-07 18:20:20 +02:00