Klaus Basan
0596782926
Ref T609, change COM transmission values in UI/emulated driver
2019-08-11 23:15:59 +01:00
Klaus Basan
04be93f8c0
Ref T609, UI to set Tx/Receive for COM unit in emulated driver
2019-08-11 23:15:58 +01:00
Klaus Basan
3d8bc7b8c7
Ref T609, renamed to Transmit/Receive for COM sync.
2019-08-11 23:15:58 +01:00
Klaus Basan
917d9bb3e7
Ref T709, style
2019-08-11 23:15:55 +01:00
Klaus Basan
5a8f41611b
Ref T709, changed DBus function to get/setSettingsJson, disambiguate from get/setSettings (returning CSettings)
2019-08-11 23:15:54 +01:00
Klaus Basan
15c8207dee
Minor UI tweak
2019-08-11 23:15:51 +01:00
Klaus Basan
c0b4d38331
Ref T709, added "follow aircraft distance" and timestamp, removed old settings
2019-08-11 23:15:48 +01:00
Klaus Basan
a5cefcf18c
Ref T709, style
2019-08-11 23:15:47 +01:00
Klaus Basan
f2bf038501
Ref T709, send XSwiftBusSettings when driver is connected
...
* send from swift -> XPlane side
* also send if settings on swift side are updated
2019-08-11 23:15:47 +01:00
Klaus Basan
f416285c62
Ref T709, UI for XPlane settings (plugin config window)
2019-08-11 23:15:46 +01:00
Klaus Basan
dab3e03d0b
Ref T709, change XPlane driver to TXSwiftBusSettings, send/receive functions
2019-08-11 23:15:46 +01:00
Klaus Basan
44d8e043e0
Ref T709, added DBus signatures and use CSettings class in service class
...
* CSettings objects will be shared among all services (traffic, weather, service)
* It is "global" for plugin
2019-08-11 23:15:44 +01:00
Klaus Basan
73808d696e
Clang warnings (QtC) static_cast
2019-08-11 23:15:13 +01:00
Mat Sutcliffe
eaa24952d1
Ref T710 Propagate libxplanemp CSL load error messages as swift validation errors.
2019-07-29 23:36:58 +01:00
Mat Sutcliffe
8f036b1442
fixup! Improved the readability of the loadCslPackages function.
2019-07-29 23:36:58 +01:00
Mat Sutcliffe
0431be49b6
Improved the readability of the loadCslPackages function.
...
Summary:
In this function, a local class `Prefix` is used to represent the path
of a CSL package and to test whether a model path is a subpath of that
path. To avoid false positives, a trailing `/` character is appended.
This lead to confusing code where a `/` is appended in the first loop
and then chopped in the second loop. Instead, encapsulate the append
and the chop inside the `Prefix` class.
Differential Revision: https://dev.swift-project.org/D107
2019-07-26 21:44:40 +01:00
Klaus Basan
f92e7688af
Style
2019-07-23 02:08:42 +02:00
Klaus Basan
c7f3122d58
Style
2019-07-16 20:22:39 +02:00
Klaus Basan
3dcdd7b2a6
Ref T554, changed signature to pass model (object) and not only modelstring
...
Allows to test if data have changed before "remembering them for auto publish"
2019-07-16 20:22:39 +02:00
Klaus Basan
495312019d
Smaller improvements in matching messages/style
2019-07-16 20:22:38 +02:00
Klaus Basan
0be7dafdd2
Renamed function id Directory utils and added string only version
2019-07-16 20:22:37 +02:00
Klaus Basan
a0d5fcdf42
Minor performance improvement of subdir check
...
* follow T689
* no need to always get and init simulator directory as it will not change
2019-07-01 19:32:46 +02:00
Klaus Basan
0f9f088d98
Added network to UNIT tests (needed for CUrl
...
Other includes where needed
2019-06-30 23:52:20 +02:00
Mat Sutcliffe
b3be42da45
fixup! Ref T689 Add validation that XP model directories are within the XP sim directory.
2019-06-29 15:36:35 +01:00
Mat Sutcliffe
982861f132
Ref T689 Add validation that XP model directories are within the XP sim directory.
2019-06-26 22:08:51 +01:00
Roland Rossgotterer
7b9d94f78c
[GFS] Properly validate cloud pressure levels
...
For some reason, the parser returned 0.0 instead of 9.998e20 for undefined values.
Atmospheric pressure levels cannot be lower than 1000, hence use this as the lower boundary.
In all other circumstances, the pressure level needs to be set (either to real value or to nan) for the follow up code to detect undefined values.
2019-06-25 23:57:45 +02:00
Roland Rossgotterer
4ff449a4d3
[GFS] Handle added parameters in GFS 0.25 files
...
Template 4.0 did not use to have TCDC, PRATE, CSNOW and CRAIN parameters. Ignore them for now.
2019-06-25 23:57:45 +02:00
Roland Rossgotterer
e60fc6730c
[GFS] Update NOAA GFS download url to reflect new directory query
2019-06-25 23:57:45 +02:00
Roland Rossgotterer
54d406d620
Style
2019-06-25 23:57:44 +02:00
Lars Toenning
1837815f30
Ref T686 Adding check for model set before adding plane to FG.
2019-06-19 17:09:45 +02:00
Klaus Basan
1ae585fc9d
Avoid issues if simulator is NOT yet set in emulateed driver
2019-06-16 03:03:04 +02:00
Klaus Basan
c893e0fa2b
Ref T683, moved m_skipCockpitUpdateCycles to FS common so it can be used with P3D/FSX and FS9
2019-06-13 17:37:29 +02:00
Klaus Basan
bddbc1a690
Ref T683, use slow updates in FS9 for thins not to be updated every cycle
2019-06-13 17:37:28 +02:00
Klaus Basan
bf8de29762
Ref T683, "updateOwnSituationAndGroundElevation"
...
* function to use own positions "on ground" to calculate ground elevation
* use this based on settings
* adjusted simulators code
2019-06-13 17:37:28 +02:00
Klaus Basan
85eae8c8cb
Ref T683, move "m_ownAircraftUpdateCycles" one level up so it can be used in FS9
2019-06-13 01:18:10 +02:00
Klaus Basan
43f3ac8a4e
Ref T683, FSUIPC calculate CG
2019-06-13 01:18:09 +02:00
Klaus Basan
24e9ffb398
Ref T683, style
2019-06-13 01:18:09 +02:00
Klaus Basan
1a9ec78bb3
Ref T681, renamed to rememberElevationAndSimulatorCG and style
2019-06-13 01:18:07 +02:00
Klaus Basan
86431a46c7
Ref T681, preparations to use CG from DB
...
* renamed to "getSimulatorCG" ...
* pass simulator settings to sim.env.provider to decide what CG to use
* store DB CG and init it when aircraft is added
* style
2019-06-13 01:18:05 +02:00
Klaus Basan
b898846352
Emulated driver UI/situation form size
2019-06-09 01:02:46 +02:00
Klaus Basan
b07488c732
fixup! Avoid ASSERT from emulated driver
2019-05-26 00:23:45 +02:00
Klaus Basan
f33ffc32be
Avoid ASSERT from emulated driver
...
* not all plugins are installed
* use default simulator if there is no simulator info
2019-05-25 23:14:33 +02:00
Klaus Basan
d6ac08c4ee
Ref T650, using FSX SimulatedObject type decrease exeption counter when successfully added
...
* normally adding the SimObject fails first,
* then the workaround is used (but exception counter is 1)
* this means a 2nd time the object cannot be changed, as there is already a counter number > 0
2019-05-25 17:10:35 +02:00
Klaus Basan
0690750d16
No ASSERT when missing callsign/ids, VERIFY is enough
2019-05-25 03:35:49 +02:00
Klaus Basan
8409ac19d6
Added P3D v4.5 SimConnect
2019-05-25 03:35:48 +02:00
Klaus Basan
a1af715868
Slow parts update and using event for flaps, as sim. variable sets the flaps, but then always retracts it.
...
https://swift-project.slack.com/archives/G96QTUBEG/p1558454646002200
2019-05-25 03:35:38 +02:00
Klaus Basan
4cdbb1f831
Slow parts update and using event for flaps, as sim. variable sets the flaps, but then always retracts it.
...
https://swift-project.slack.com/archives/G96QTUBEG/p1558454646002200
2019-05-23 13:13:01 +02:00
Klaus Basan
69d33eae75
Renamed FSX data definition
2019-05-23 13:13:01 +02:00
Klaus Basan
03fce676be
Ref T669, also interpolation Ref T668, remove last sent values if aircraft is removed
2019-05-23 13:13:00 +02:00
Klaus Basan
8e22bc0ced
FlightGear, applied agreed style
2019-05-23 13:13:00 +02:00