Lars Toenning
b39e8c3a7e
fix: Unify xswiftbus spelling
2024-04-24 22:51:57 +02:00
Lars Toenning
18d0b1eefc
refactor(fs): Move FSUIPC from fscommon to FS9
...
With default settings, FSUIPC was not really used
by FS simulators (except FS9) as the transponder
mode readout was done with SB offsets through SimConnect.
For simplification, this removes FSUIPC from fscommon and moves it to FS9.
Therefor this also removes the option for FSX/P3D users to toggle FSUIPC.
2024-04-16 21:23:08 +02:00
Lars Toenning
93af5fef1c
fix: Add missing include
2024-04-16 21:23:08 +02:00
Lars Toenning
eaca06711b
refactor(fs9): Remove unused code
2024-04-16 21:23:07 +02:00
tzobler
9f63157642
fix(fs9): Remove COM sync between sim and swift
...
Fixes #278
Co-authored-by: Lars Toenning <dev@ltoenning.de >
2024-04-16 21:23:04 +02:00
Lars Toenning
b4cbed107b
refactor: Remove CNetworkWatchdog
...
The watchdog was used in a few places as a shortcut to skip reading
data. Further, it was used in some places in the UI to display
connectivity. But it also introduced quite some complexity. In some
cases it can be fragile: network accessibilty cannot be looked up on all
platforms/hardware constellations. The connectivity could change
between the last watchdog call and the real call. Hence all readers must
still handle the case where the connection fails.
To simplify swift and further reduce the dependency onto the project
infrastructure (pings etc.), this removes the watchdog.
This also removes the QNetworkConfigurationManager, which is deprecated
and not available with Qt6.
2024-04-15 22:02:11 +02:00
Lars Toenning
6cf9dfaecf
refactor: Remove aircraft highlighting/blinking functionality
...
This functionality was not documented. Further, this feature likely does
not work great in all simulators because adding and removing aircrafts
might take longer than a second.
2024-03-21 22:48:29 +01:00
Lars Toenning
748bfcdc15
refactor: Clean up ISimulator
2024-03-21 22:48:29 +01:00
oktal3700
2f3dc5a4a1
Don't let FS9 overwrite an 8.33 kHz frequency
2023-11-12 21:36:27 +01:00
Lars Toenning
1deaeba584
Add CMake support
2023-11-12 21:36:21 +01:00
Lars Toenning
3ffb8f689b
Remove qmake files
2023-11-01 22:23:15 +01:00
Lars Toenning
8e8b079e21
Add missing header guard
2023-10-31 21:59:10 +01:00
Lars Toenning
eac7a5dc13
Add missing include
2023-10-31 21:59:10 +01: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
7ef0e6e1eb
Fix cppcheck warnings
2023-04-18 16:07:19 +02:00
Lars Toenning
970b7c3650
clang-format src
2023-04-18 16:07:19 +02:00
Lars Toenning
72ac4e6b47
Fix doxygen warnings
...
Fixes #188
2023-04-05 18:59:41 +02:00
Mat Sutcliffe
7691e42a5b
Fix doxygen warnings
...
Fixes #188
2023-04-05 18:57:11 +02:00
Mat Sutcliffe
d1b1ee9c06
Guard against aircraft with more than 4 engines
...
Fixes assert failure "index out of range" in QList<T>::at
2023-03-12 19:00:02 +00:00
Lars Toenning
32bdab8982
[FSX/MSFS] Fix COM TX/RX sync
...
After the 8.33 kHz commits, changes of the TX/RX status were only
transmitted from the sim to GUI if frequencies changed.
2023-02-11 16:36:02 +01:00
Lars Toenning
ebe59bcae5
8.33 kHz spacing support for Microsoft simulators
...
Related to #186
2023-02-10 19:08:39 +01:00
Lars Toenning
a85905532e
[UI] Add GroupBox around FGSwiftbus DBus settings
2023-02-07 18:47:17 +01:00
Lars Toenning
65b4251a3c
Move FGSwiftBus settings to own class
2023-02-07 18:47:17 +01:00
Mat Sutcliffe
88badf9c7e
[XP] Ignore altitude delta when remote aircraft is on ground
2023-01-24 20:15:16 +00:00
Lars Toenning
69ec713d18
Reset altitude delta for XP11 to zero
2023-01-08 17:38:54 +01:00
Mat Sutcliffe
1e29100102
Use new simvar to compensate for MSFS temperature effect on altitude
2022-11-14 18:12:36 +00:00
Mat Sutcliffe
b3e312e1d3
Use new dataref to compensate for XP12 temperature effect on altitude
2022-11-14 18:12:35 +00:00
Lars Toenning
66c97cfe2e
[FG] Set velocities to 0 if simulator is paused
2022-02-20 14:33:08 +00:00
Mat Sutcliffe
8a203046ed
[XP] For own aircraft elevation, use dataref instead of terrain probe
2022-02-20 14:33:08 +00:00
Roland Rossgotterer
f2399cacd9
[FS9] Disable setting of CG since it looks wrong
2022-02-04 22:50:26 +01:00
Roland Rossgotterer
099f72693b
[FS9] Set ground elevation at own aircraft position
2022-02-04 22:49:30 +01:00
Mat Sutcliffe
2ccee127e9
[XP] Get the ground elevation under the own aircraft
2022-02-03 20:43:45 +00:00
Mat Sutcliffe
f5a9452ec2
[XP] Invert latitude, pitch, and roll velocities
2022-02-03 20:43:45 +00:00
Roland Rossgotterer
bb70bcc79d
Issue #97 Read aircraft velocity and rotation from FSUIPC
2022-01-29 14:40:55 +00:00
Roland Rossgotterer
bdacb59b61
Issue #97 Read aircraft velocity and rotation from SimConnect
2022-01-29 14:40:55 +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
3f57c66784
Issue #95 [XPlane] Get velocity data from xswiftbus in fast update timer timeout
2022-01-03 16:38:47 +00:00
Lars Toenning
45a5ce5a6a
Issue #131 Sync date when time-sync is enabled for FSX/P3D
2021-11-28 12:52:54 +00:00
Mat Sutcliffe
acf6da4226
[FS9] Fix a crash (pure virtual call)
2021-11-28 12:52:54 +00:00
Mat Sutcliffe
312dec792b
Doxygen style
2021-09-18 15:07:48 +01: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
Lars Toenning
577431ae49
Issue #100 [XP] Pass com-volumes in correct format
...
X-Planes dataref volumes are within [0..1]. swift expects them to be [0..100]
Transmit volume (i.e. mic-volume) should be independent from simulator volume.
2021-09-03 01:01:27 +02:00
Mat Sutcliffe
01cc7f827b
Issues #72 , #110 Fix typo and add tooltips
2021-08-31 19:09:59 +01:00
Mat Sutcliffe
eb6b0ff289
Fix clang-tidy and clazy warnings
2021-08-29 17:02:27 +01:00
Mat Sutcliffe
2aeacf49a7
Issue #114 Use CSetBuilder and CMapBuilder
2021-08-29 17:02:27 +01:00
Mat Sutcliffe
c88f9d21c6
Add a close button to the CSimulatorEmulatedConfig window
2021-08-29 17:02:27 +01:00
Mat Sutcliffe
a89ca2d59a
Issue #37 Reset FPS counter when network is connected
2021-08-21 18:38:56 +01:00
Mat Sutcliffe
f311906d04
Issue #37 Emit signal when FPS drops below threshold
2021-08-21 18:38:56 +01:00
Mat Sutcliffe
33cb5827a6
Issues #72 , #110 Add label and text color settings in XP config GUI
2021-08-21 18:38:55 +01:00