Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-12-24 | remove const correctness violations | Stanislaw Halik | |
This is possibly related to a livelock where several threads do const removal in their respective code paths. Use the `mutable' specifier for the mutexes and spline's cached data. Now using the `mutable' specifier, get rid of <optional> in compat/mutex. | |||
2018-12-19 | logic/pipeline: fix evil typo breaking tracking | Stanislaw Halik | |
2018-12-12 | logic/pipeline: oops, fix identity under disjunction | Stanislaw Halik | |
2018-12-12 | logic/pipeline: fix nan check | Stanislaw Halik | |
It assumed that all values were of the same type when packing into an initializer list. | |||
2018-12-07 | logic/pipeline: fix clang-tidy warnings | Stanislaw Halik | |
2018-12-06 | logic/pipeline: center through arithmetic only | Stanislaw Halik | |
This is incorrect but people like it. | |||
2018-12-06 | cruft only | Stanislaw Halik | |
2018-10-12 | tracker/pipeline: try help frame variance | Stanislaw Halik | |
While we're keeping 250 Hz in the tracker pipeline, the frame variance isn't optimal, as per `backlog_time' values. Try a different magic number. | |||
2018-10-12 | logic/pipeline: attempt adjust thread priority | Stanislaw Halik | |
Calling QThread::setPriority twice in a succession means: 1. if you can, set high priority a) if not allowed, highest won't work either b) if allowed, see below 2. if you can, set highest priority a) if highest is allowed, happy happy joy joy b) if not, at least high priority is successful Note that we don't have any return value from QThread::setPriority(). | |||
2018-10-12 | logic/pipeline: cleanup only | Stanislaw Halik | |
2018-10-12 | logic/pipeline: fix duplicate d2r | Stanislaw Halik | |
2018-10-07 | fix GCC build errors | Stanislaw Halik | |
Issue: #726 | |||
2018-10-05 | logic/pipeline: probably fix remaining bugs | Stanislaw Halik | |
2018-10-05 | silly busywork | Stanislaw Halik | |
2018-08-25 | logic/pipeline: fix typename typo | Stanislaw Halik | |
2018-08-04 | logic/pipeline: rotation order fixrevert-geometry-stuff | Stanislaw Halik | |
v2: fix comments v3: fix reltrans | |||
2018-08-03 | irrelevant busywork | Stanislaw Halik | |
2018-07-08 | modernize only | Stanislaw Halik | |
2018-07-02 | nothing important | Stanislaw Halik | |
2018-06-26 | modernize C++ syntax | Stanislaw Halik | |
No visible changes (hopefully). | |||
2018-06-26 | compat/macros: rename portability macros | Stanislaw Halik | |
use `cc_xx' rather than awkward synonyms. | |||
2018-06-26 | logic/pipeline: remove rest of scaled_rotation | Stanislaw Halik | |
2018-06-26 | core, modules: modernize syntax only | Stanislaw Halik | |
Use more C++17 features where this helps any. | |||
2018-06-13 | logic/pipeline: fix atomic ops | Stanislaw Halik | |
No functional changes. Don't perform any atomic reads before compare-and-swap. The value read by CAS needs to go outside the loop. That's how CAS works. | |||
2018-05-23 | logic/pipeline: disable neck Z if reltrans Z disabled | Stanislaw Halik | |
2018-05-23 | logic/pipeline: fix disable_dof order | Stanislaw Halik | |
The actual order is (xyz, ypr). This was broken since forever. This February's refactor merely preserved the order of things. | |||
2018-05-21 | logic/pipeline: don't enable center twice | Stanislaw Halik | |
2018-05-05 | logic/pipeline: cleanup, use aggregate init | Stanislaw Halik | |
2018-05-05 | logic/pipeline: fix clang error | Stanislaw Halik | |
2018-05-05 | logic/pipeline: skip filter when centering | Stanislaw Halik | |
2018-05-05 | logic/pipeline: skip filter when hold ordered | Stanislaw Halik | |
Also fix faulty xor logic Issue: #777 Requested-by: @r8d | |||
2018-05-05 | compat, logic/pipeline: add bitwise enum operators | Stanislaw Halik | |
2018-03-12 | logic/pipeline: adjust "reltrans not aiming" | Stanislaw Halik | |
Add additional RC value for fast convergence. | |||
2018-03-12 | logic/pipeline: fix logic error | Stanislaw Halik | |
Change `reltrans_not_aiming' threshold values | |||
2018-03-10 | logic/pipeline: cleanup | Stanislaw Halik | |
Also remove the license in header. It's stale. | |||
2018-03-10 | logic/pipeline: implement held center | Stanislaw Halik | |
Requested by: CAHEK on the Russian IL-2 Sturmovik forum | |||
2018-03-10 | logic/pipeline: immediately move to center with reltrans | Stanislaw Halik | |
2018-03-10 | logic/pipeline: smoothen transition for reltrans not aiming | Stanislaw Halik | |
Requested by: HOPPING_PONY on the Russian IL-2 Sturmovik forum. | |||
2018-03-10 | logic/pipeline: disable neck for `reltrans not aiming' | Stanislaw Halik | |
2018-03-10 | logic/pipeline: loosen "reltrans when not aiming" limit | Stanislaw Halik | |
2018-03-04 | logic/pipeline: use `likely' equiv for MSVC | Stanislaw Halik | |
2018-03-04 | compat/macros: add function name macro | Stanislaw Halik | |
2018-03-03 | logic/pipeline: centering fix | Stanislaw Halik | |
The `scaled_rotation' gimbal lock "fix" didn't take into account sign changes, making center close to +-180 useless. remove the "fix". This leaves with a gimbal lock problem at +-90 yaw. Fix in another commit. | |||
2018-02-16 | logic/pipeline: simplify | Stanislaw Halik | |
The pipeline code is hard to understand for programmers due to the practice of putting all logic into a single function. Split it up into logical components. This needs more testing and bug reports. It's a big change with possibly many regressions all over the place. Issue: #688 | |||
2018-02-15 | clean up "static" and "constexpr" types | Stanislaw Halik | |
- use `static constexpr inline' to avoid requiring explicit declarations in object code - use `const Foo* const' to maybe put into readonly binary segment (at least for ELF DSOs) - `constexpr' in function scope has storage, avoid `static' - don't use `constexpr' where there's no advantage, like arrays We'd like to avoid overhead of atomic initialization for each function call. No idea how `static constexpr' requiring storage in the standard plays with atomic initialization requirement. Hearsay points that `constexpr' without `static' in block scope behaves more to our liking. It's all hazy though. I'm not 100% sure if `static inline constexpr' has any storage. Hopefully none, like a #define, and stuff bigger than registers gets coalesced within the same module, with small stuff being immediates. | |||
2018-02-05 | logic/pipeline: adjust after nan.hpp removal | Stanislaw Halik | |
2018-02-05 | logic/pipeline: enlarge aiming-reltrans limits | Stanislaw Halik | |
2018-01-18 | logic/pipeline: set limits more sensibly | Stanislaw Halik | |
We must keep a certain leeway here for people aiming in WW2 sims. | |||
2018-01-18 | logic: change relative translation triggering | Stanislaw Halik | |
Relative translation mode now has three states: - disabled - always enabled - enabled when not aiming In the third mode, looking very close to center disables reltrans. The exact values aren't final. | |||
2018-01-18 | compat/util: retire | Stanislaw Halik | |
Adjust usages. |