Lars Toenning
b53b266ded
refactor: Decrease base class member visiblity
2024-10-21 20:35:38 +02:00
Lars Toenning
98acf5f58e
refactor: Move spline specific verification method to InterpolatorSpline
2024-10-21 20:35:38 +02:00
Lars Toenning
cb7e6c43e2
refactor: Use dynamic lookup with pure virtual methods
...
This makes it clearer what an IInterpolant and Interpolator must
implemented.
But it should be checked if using virtual here is okay performance-wise.
2024-10-21 20:35:38 +02:00
Lars Toenning
be2c756c8c
refactor: Add interface for PBH interpolators
2024-10-21 20:35:38 +02:00
Lars Toenning
3bc2d4062c
refactor: Rename CInterpolatorPbh to CInterpolatorLinearPbh
2024-10-21 20:33:22 +02:00
Lars Toenning
2f3e4fee1e
refactor: Move PBH interpolator to inidivdual Interpolants
...
This allows each interpolant to specify on its own which PBH
interpolator should be used. Currently only the linear PBH interpolator
is available, but another PBH interpolator will be added for velocity.
This removes some protected data from the IInterpolator interface as well,
which conforms to C++ Core Guideline C.113 ("Avoid protected data").
2024-10-21 20:33:22 +02:00
Lars Toenning
e247f20482
refactor: Remove unused sceneryOffset in aircraft situation
2024-10-21 20:33:22 +02:00
Lars Toenning
2cd88fa493
refactor: Simplify interpolatePositionAndAltitude method
2024-10-21 20:33:22 +02:00
Lars Toenning
8253b73db2
refactor: Split position/altitude and groundfactor interpolation
2024-10-21 20:33:21 +02:00
Lars Toenning
a27c2b3f51
refactor: Move OnGround information to own class
2024-10-21 20:33:21 +02:00
Lars Toenning
e949e6e5f3
refactor: Simplify CInterpolator::getInterpolatedParts()
2024-10-21 20:33:20 +02:00
Lars Toenning
4e43bf4807
refactor: Add missing include guard
2024-10-21 20:33:20 +02:00
Lars Toenning
ab8b1c8e8c
refactor: Remove unused forward declarations
...
The forward-declared classes are already included directly
2024-10-21 20:33:20 +02:00
Lars Toenning
8604ddf06a
refactor: Split InterpolationStatus related classes into separate files
2024-10-21 20:33:20 +02:00
Lars Toenning
3c10a9d9ca
refactor: Extend documentation for CInterpolator
2024-10-21 20:33:20 +02:00
Lars Toenning
e8ae835827
refactor: Fix spelling mistake
2024-10-21 20:33:20 +02:00
Lars Toenning
61282db956
refactor: Simplify CInterpolator::getInterpolation()
...
Avoid requiring a do {} while(false) with nested if & break by using a simple if()
2024-10-21 20:33:20 +02:00
Lars Toenning
a599cc2792
refactor: Remove clear() method from CInterpolator
...
clear() was only required by a unittest to execute two tests directly
after another. This can also be done in a cleaner way by creating a new
CInterpolator instead of requiring a separate method for resetting the interpolator.
2024-10-21 20:33:19 +02:00
Lars Toenning
e66a089114
refactor: Add check for valid time fraction
2024-10-21 20:33:19 +02: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
4b05c4200d
refactor: Remove outdated commented code
2024-10-21 20:33:19 +02:00
Lars Toenning
8c787e59e9
refactor: Cleanup interpolator includes
2024-10-21 20:33:19 +02:00
Lars Toenning
1a6d7fba28
refactor: Clarify variable names in linear interpolator
2024-10-21 20:33:19 +02:00
Lars Toenning
6bafb74000
refactor: Add comment for interpolatePositionAndAltitude()
2024-10-20 19:58:37 +02:00
Lars Toenning
761be14e1a
refactor: Clarify names of members of CInterpolatorPbh
2024-10-20 19:58:37 +02:00
Lars Toenning
de7b820112
refactor: Remove weather support
2024-10-13 15:20:57 +02:00
Lars Toenning
56bd6f0c42
refactor: Fix Qt 5.15 deprecation warnings
2024-10-12 22:16:16 +02:00
Lars Toenning
9e4de1c511
refactor: Remove simulator logos
2024-05-01 22:06:00 +02:00
Lars Toenning
5af1ffbfc1
refactor: Remove deprecated functions
2024-04-24 23:20:49 +02:00
Lars Toenning
b39e8c3a7e
fix: Unify xswiftbus spelling
2024-04-24 22:51:57 +02:00
Lars Toenning
5f7c3efdb2
Revert "Issue #93 Reduce update offset for 5 Hz updates and rename member"
...
This reverts commit 8dc206d62b .
2024-02-13 22:57:26 +01:00
Lars Toenning
1f4f60d793
feat: Add wake turbulence category enum
2024-01-23 20:25:30 +01:00
oktal3700
2f3dc5a4a1
Don't let FS9 overwrite an 8.33 kHz frequency
2023-11-12 21:36:27 +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
Lars Toenning
d51e4646c6
Clarify CSimulatedAircraft method name
2023-02-10 19:08:49 +01:00
Lars Toenning
7fdb1035d1
Remove unused methods
2023-02-10 19:08:48 +01:00
Lars Toenning
a96d792e25
Adapt channel comparison for 8.33 kHz spacing
...
Related to #186
2023-02-10 19:08:44 +01:00
Lars Toenning
65b4251a3c
Move FGSwiftBus settings to own class
2023-02-07 18:47:17 +01:00
Lars Toenning
9974e67afb
Remove unused header
2022-06-20 23:43:45 +02:00
Lars Toenning
f5d3d59a86
Use C++17 nested namespaces
2022-06-20 23:38:48 +02:00
Lars Toenning
d1f41daba2
Remove aggregate include headers
...
They are only used for registermetadata. Explicitly mentioning the
dependencies/headers there will reduce work to maintain two separate files.
2022-06-20 23:38:48 +02:00
Lars Toenning
1a1b5429d5
Partially revert "Remove unused stringutils methods"
...
This partially reverts commit 0c1a5a5c97 .
2022-06-05 22:47:41 +02:00
Lars Toenning
0c1a5a5c97
Remove unused stringutils methods
2022-05-25 19:47:34 +01:00
Lars Toenning
c0efc9ea81
Clean up includes
2022-05-25 19:47:34 +01:00
Mat Sutcliffe
0482634d81
Ignore ordinary situations after a visual situation is received
2022-02-20 14:33:07 +00:00
Mat Sutcliffe
aa7da1de53
Increase number of situations stored per remote aircraft
...
With 5Hz updates and a maximum offset of 6s, we need to store
at least 30 situations to guarantee we're not throwing away
situations that we haven't even used yet.
There is probably a smarter way, like keeping situations
based on their age rather than quantity, or letting the
consumer remove them after they are no longer needed.
2022-01-29 14:40:55 +00:00