Commit Graph

68 Commits

Author SHA1 Message Date
Lars Toenning
369450107b refactor: Fix remaining modernize- warnings 2025-11-01 16:15:12 +01:00
Lars Toenning
e09413614a refactor: Fix clang-tidy modernize-return-braced-init-list 2025-11-01 16:15:12 +01:00
Mat Sutcliffe
2ed1161508 refactor: remove unused method 2025-07-11 13:54:39 +02:00
Lars Toenning
edbabe34be refactor: Remove airport view 2024-12-30 10:08:50 +01:00
Lars Toenning
efc7796f1b refactor: Remove timesync feature
This is directly available by new simulators.
2024-12-30 10:08:49 +01:00
Lars Toenning
1a0b2a8c5f refactor: clang format line length 2024-11-17 09:25:46 +01:00
Lars Toenning
97eed9562a refactor: clang-format 2024-11-16 21:40:55 +01:00
Lars Toenning
cc1e41fc59 refactor: Rename remaining "black" identifiers 2024-11-11 15:11:40 +01:00
Lars Toenning
3a2447770f refactor: Rename blackcore to swift::core 2024-11-11 15:11:39 +01:00
Lars Toenning
9142a3649b refactor: Rename blackmisc to swift::misc 2024-11-11 15:11:39 +01:00
Lars Toenning
9c879aea1c refactor: Rename verify macros 2024-11-11 13:02:36 +01:00
Lars Toenning
0db0c16668 refactor: Rename BlackConfig to swift::config 2024-11-11 13:02:35 +01:00
Lars Toenning
5266cc1909 refactor: Port to Qt 6 2024-11-09 08:15:44 +01:00
Lars Toenning
78d0dc4435 refactor: Change variable type of aircraftNumber
The aircraft number should always be positive
2024-10-21 20:33:19 +02:00
Lars Toenning
de7b820112 refactor: Remove weather support 2024-10-13 15:20:57 +02:00
Lars Toenning
bcc4bdd31e Add SPDX identifiers for REUSE compliance
Co-authored-by: Mat Sutcliffe <oktal3700@gmail.com>
2023-10-03 09:29:49 +02:00
Lars Toenning
970b7c3650 clang-format src 2023-04-18 16:07:19 +02:00
Lars Toenning
65b4251a3c Move FGSwiftBus settings to own class 2023-02-07 18:47:17 +01:00
Lars Toenning
66c97cfe2e [FG] Set velocities to 0 if simulator is paused 2022-02-20 14:33:08 +00:00
Lars Toenning
23eb283c19 Issue #96 [Flightgear] Get velocity data from Flightgear in fast update timer timeout 2022-01-29 14:40:55 +00:00
Mat Sutcliffe
57d32da826 Use nested namespaces (C++17 feature) 2021-09-18 15:07:48 +01:00
Lars Toenning
2a69f10ce2 Issue #100 [FG] Get COM values from simulator 2021-09-03 17:43:03 +01:00
Mat Sutcliffe
eb6b0ff289 Fix clang-tidy and clazy warnings 2021-08-29 17:02:27 +01:00
Mat Sutcliffe
33209fa1eb Use std::as_const (C++17 feature) 2021-07-13 17:56:31 +01: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
Mat Sutcliffe
802576eda9 Issue #77 Rename 2020-08-29 14:16:11 +01:00
Lars Toenning
89434c355d [FG] Update compatibility check 2020-07-07 18:54:30 +02:00
Lars Toenning
e7bc66076c [FG] Add surface/transponder support + sync changes from xswiftbus
Fixes #57
2020-07-07 18:54:30 +02:00
Mat Sutcliffe
68cb177d96 Revert previous commit, as the corresponding changes have not yet been merged in FG 2020-06-29 17:22:04 +01:00
Lars Toenning
a222d09f21 [FG] Add surface/transponder support + sync changes from xswiftbus 2020-06-12 19:07:57 +01:00
Klaus Basan
f507d6d9cb [FG] Use the same adjustments as in XPlane
* no ASSERT for connect checking
* renamed to onDBusServiceUnregistered
2020-06-12 18:42:45 +01:00
Mat Sutcliffe
22ebf6c5ea Ref T778 XSwiftBus traffic service prodives water/land flag for elevations 2020-06-12 18:42:44 +01:00
Klaus Basan
829777bf3a Ref T778, added "likelyOnGroundElevation" as parameter for "ememberElevationAndSimulatorCG" 2020-06-12 18:42:43 +01:00
Lars Toenning
469a057a86 [FG] Fetching elevation from sim 2020-06-12 18:42:37 +01:00
Lars Toenning
22a70e083e [FG] Enhancing version compatibility check 2020-06-12 18:42:37 +01:00
Lars Toenning
4a7af7ee3d [FG] Sending AI ground speed to FG 2020-06-12 18:42:37 +01:00
Lars Toenning
8053504acb [FG] Getting ground elevation 2020-06-12 18:42:37 +01:00
Klaus Basan
59f8a7f88b Ref T773, [FG] avoid "NaN" elevations 2020-06-12 18:42:35 +01:00
Klaus Basan
a5f4705bb1 Ref T773, style (simulator) 2020-06-12 18:42:35 +01:00
Klaus Basan
785dc7f016 [XPlane][FG] Q_UNREACHABLE removal follow up
* removed CSimulatorXPlane::connectionFromString as this only works for session DBus
* renamed to "checkConnectionViaSessionBus"
* discussed around here: https://discordapp.com/channels/539048679160676382/539925070550794240/668105458300485652
2020-01-18 18:46:19 +01:00
Klaus Basan
a924b5e78b Improved (error) message if owner is empty 2020-01-07 19:57:23 +00:00
Klaus Basan
f80e093a0a Ref T717, function to send parts/situation for testing and in the model browser 2019-09-16 22:41:37 +01:00
Klaus Basan
6151f434c6 Ref T717, simulator "is test" conditions where required 2019-09-16 22:41:37 +01:00
Klaus Basan
26afc5160d Improved logging of "adding aircraft" so we can see details such as the model string 2019-09-16 22:41:17 +01:00
Klaus Basan
fab65c23b1 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-09-16 22:40:34 +01:00
Lars Toenning
680a663444 Ref T686 Adding check for model set before adding plane to FG. 2019-09-16 22:39:56 +01:00
Klaus Basan
0360704b0b Ref T683, "updateOwnSituationAndGroundElevation"
* function to use own positions "on ground" to calculate ground elevation
* use this based on settings
* adjusted simulators code
2019-09-16 22:39:50 +01:00
Klaus Basan
daeea07090 Ref T683, style 2019-09-16 22:39:49 +01:00
Klaus Basan
71e09b008f Ref T681, renamed to rememberElevationAndSimulatorCG and style 2019-09-16 22:38:08 +01:00
Klaus Basan
a86e98ca3a Ref T669, also interpolation Ref T668, remove last sent values if aircraft is removed 2019-09-16 20:29:35 +01:00