Mat Sutcliffe
0faa7ed8fc
Issue #94 Add new class CAircraftVelocity as member of CAircraftSituation
2022-01-03 16:38:47 +00:00
Mat Sutcliffe
2b72600937
Explicit template instantiations for mixins for value classes
...
To reduce compile time.
2021-10-11 14:20:07 +01:00
Mat Sutcliffe
eb6b0ff289
Fix clang-tidy and clazy warnings
2021-08-29 17:02:27 +01:00
Mat Sutcliffe
63f5d28622
Issue #77 Break cyclic dependency between CVariant and all other value classes
2020-12-19 18:50:36 +00:00
Mat Sutcliffe
1991b4847a
Issue #77 Break cyclic dependency between CPropertyIndex and all other value classes
2020-12-19 18:50:36 +00:00
Mat Sutcliffe
363758e8ea
Issue #77 Move GlobalIndex enum from CPropertyIndex to CPropertyIndexRef
2020-12-19 18:50:36 +00:00
Mat Sutcliffe
0971c8ce68
Issue #77 All classes propertyindex methods use CPropertyIndexRef and QVariant
2020-12-19 18:50:35 +00:00
Mat Sutcliffe
647e9064b0
Issue #77 Break cyclic dependency between CIcon and all other value classes
2020-12-19 18:50:32 +00:00
Mat Sutcliffe
b1185eb541
Issue #77 toIcon returns a simple enum instead of a full object
2020-12-19 18:50:31 +00:00
Mat Sutcliffe
b80114213d
Issue #77 Move mixin classes to separate files
...
By separating them from unrelated code, their dependents
can use them without depending on unrelated code, which
in turn helps to reduce cyclic dependencies.
2020-08-29 14:16:17 +01:00
Klaus Basan
bab053a0a2
Ref T683, display ground elevation/CG in simulator live data view
2019-09-16 22:39:52 +01:00
Klaus Basan
fa6101d02b
Ref T683, use slow updates in FS9 for thins not to be updated every cycle
2019-09-16 22:39:51 +01:00
Klaus Basan
cbf5c1c445
Ref T650, save FSX/P3D specific settings
2019-05-13 11:20:56 +02:00
Klaus Basan
3be753a6a7
Allow to update model directories
2019-05-13 11:20:53 +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
Mat Sutcliffe
e9a4c49d68
Ref T547 Update license masthead in all source code files.
2019-02-22 20:36:43 +00:00
Klaus Basan
67dcd11e73
Ref T422, functions to set XPDR mode
2018-11-06 01:41:48 +01: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
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
3ec3bb8e15
Ref T298, split military flag into check for civilian/military
...
* in military -> only military aircraft?
* in civilian -> only civilian aircraft?
2018-08-26 15:27:03 +02:00
Klaus Basan
cb351aca1a
Ref T298, improved/fixed re-matching (match all aircraft again)
...
- reset to network model (otherwise we match "matched model" -> "matched model")
- renamed/added functions doMtachingAgain/doMatchinsAgain in contexts
2018-08-26 15:26:56 +02:00
Klaus Basan
60baa12c9d
Ref T298, better ICAO family resolution
...
B737/DLH searched but B738/DLH present (same family but not same ICAO)
2018-08-16 14:44:01 +02:00
Klaus Basan
e114c8c99c
Context menu of simulated aircraft view now handled in view directly
...
* removed duplicated code in mapping/aircraft component
* view can be used with context menu without further signals
2018-08-09 01:41:21 +02:00
Klaus Basan
c168262159
Ref T275, utility functions in simulated aircraft, sim object ..
2018-07-09 22:30:21 +02:00
Klaus Basan
d49831abc4
Ref T280, QHash for aircraft and models and some minor improvements
...
* CValueObject::comparePropertyByIndex
* bool "true" if value has been changed
2018-06-18 03:04:33 +02:00
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