Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-06-18 | logic/tracker: fix sleep always for 0 ms | Stanislaw Halik | |
On @mrSanchos' machine the `const_sleep_ms' variable was zero-initializer rather than set to the right value. Workaround this by dropping the `static' storage duration. | |||
2017-06-18 | logic/tracker: wraparound degrees over 360 | Stanislaw Halik | |
2017-06-18 | get rid of "volatile" abuse | Stanislaw Halik | |
We heavily used "volatile bool" to check if the thread loop should stop. But this functionality is already provided by Qt5's QThread::requestInterruption. In other cases, "volatile" is wonderfully underspecified so it's better to ditch its usage in favor of std::atomic<t>. At the time we don't appear to be using the "volatile" keyword except when calling win32's Interlocked*() family of functions as necessary. In freetrackclient's header the "volatile" qualifier was used as part of a typedef. This doesn't work. Use it as part of data declaration. | |||
2017-06-18 | compat/time: don't use "long long" for milliseconds | Stanislaw Halik | |
2017-06-13 | logic/tracker: only unrotate for camera case | Stanislaw Halik | |
2017-06-12 | logic/tracker: unrotate position data | Stanislaw Halik | |
2017-06-12 | logic/tracker: add multimedia timer again | Stanislaw Halik | |
2017-06-12 | cleanup | Stanislaw Halik | |
2017-06-10 | timer-resolution: remove | Stanislaw Halik | |
2017-06-10 | get rid of camera angle position rotation | Stanislaw Halik | |
It doesn't work well enough anyway | |||
2017-06-10 | logic/tracker: fix typo | Stanislaw Halik | |
Was sending zero pose to proto. | |||
2017-06-10 | compat/timer-resolution: we want higher timer resolution | Stanislaw Halik | |
Windows scheduler performs badly with 1000 Hz. | |||
2017-05-30 | logic/tracker: allow for "hold-toggle" hold-enable | Stanislaw Halik | |
Must press "keypress-toggle" to toggle (uh) that mode. | |||
2017-05-16 | logic/tracker: remove dead code | Stanislaw Halik | |
2017-05-16 | logic: remove height in "dynamic neck" | Stanislaw Halik | |
It doesn't help any. Leave the depth only. | |||
2017-05-14 | logic/tracker: cast to milliseconds before getting raw count | Stanislaw Halik | |
Previously it wasn't portable. | |||
2017-05-12 | logic/tracker: use std::chrono | Stanislaw Halik | |
2017-05-02 | compat/timer-resolution: use undocumented windows API | Stanislaw Halik | |
Unlike timeBeginPeriod in winmm, this one sets the timer resolution for the calling process, only. | |||
2017-04-18 | logic/tracker: fix option not used in logic | Stanislaw Halik | |
2017-04-14 | logic/tracker.cpp: explicit set to zeros with custom center | Stanislaw Halik | |
cf. https://github.com/opentrack/opentrack/issues/352#issuecomment-293885962 | |||
2017-04-13 | logic/tracker: fix typo | Stanislaw Halik | |
2017-04-13 | logic/tracker: call center() before data() | Stanislaw Halik | |
For real this time. Issue: #352 | |||
2017-04-13 | logic/tracker: zero at the right pipeline stage | Stanislaw Halik | |
2017-04-12 | logic/tracker: no need for timeBeginPeriod | Stanislaw Halik | |
There's jitter of up to 3 ms. Increasing timer resolution pessimizes overall performance. For Falcon BMS it costs about a dozen frames. | |||
2017-04-06 | logic/tracker: call IFilter::center() | Stanislaw Halik | |
Issue: #540 | |||
2017-03-29 | logic/tracker: call center() before data() | Stanislaw Halik | |
2017-03-17 | logic/tracker: avoid using zero position in reltrans/mapping | Stanislaw Halik | |
2017-02-27 | logic/tracker: invert prior to applying camera skew | Stanislaw Halik | |
2017-02-27 | logic/tracker: invert before applying camera angle | Stanislaw Halik | |
2017-02-26 | logic/tracker: remove unused code and struct membersopentrack-2.3.1+fix1 | Stanislaw Halik | |
It belonged to the "experimental" center method that got removed already. | |||
2017-02-21 | logic/tracker: invert before rotation's used for transformations | Stanislaw Halik | |
2017-02-17 | logic/tracker: remove the experimental center option | Stanislaw Halik | |
It's broken. | |||
2017-01-29 | spline-widget: remove camel case | Stanislaw Halik | |
My eyes bleed a bit less | |||
2017-01-16 | logic/tracker: fix formula | Stanislaw Halik | |
Didn't return the canonical -180->180. | |||
2016-12-28 | nix accidental debug code | Stanislaw Halik | |
2016-12-28 | logic/tracker: fix typo out-of-bound access | Stanislaw Halik | |
2016-12-09 | gui, logic: allow toggle neck displacement | Stanislaw Halik | |
It was only possible to zero the values to turn it off. | |||
2016-12-09 | gui, logic: add neck displacement feature | Stanislaw Halik | |
With it enabled, user's neck will be treated as separate from the rotation pivot. Rotating to the left will reposition to the left in addition to the rotation, and so on. This feature is subtle but apparently very popular with DCS users. | |||
2016-11-25 | Revert "logic, gui: remove relative translation disable axis"opentrack-2.3-rc99p15 | Stanislaw Halik | |
This reverts commit 9fb8b48027ac8c03628955da2b186de88745e348. | |||
2016-11-18 | logic, gui: remove relative translation disable axis | Stanislaw Halik | |
Only Z needs this. | |||
2016-11-18 | logic/tracker: make camera offset only work on translation | Stanislaw Halik | |
2016-11-18 | logic/tracker: avoid exposing struct bits and Pose type alias | Stanislaw Halik | |
2016-11-18 | logic/tracker: fix incorrect atomic bitmask usage | Stanislaw Halik | |
2016-11-18 | logic/tracker: maybe fix both camera offset modes used together | Stanislaw Halik | |
2016-11-12 | logic/tracker: move from header | Stanislaw Halik | |
2016-11-12 | pose-widget, logic/tracker: adjust euler helpers usage | Stanislaw Halik | |
2016-11-03 | logic/tracker, dinput, tracker/joystick: fix rounding errors | Stanislaw Halik | |
Issue: #487 Reported-by: @H-Bear-22 Closes #487 Also use a power of two for joy_axis_size. Floats are base 2. axis_max in tracker/joystick had a fencepost error. | |||
2016-10-03 | logic/tracker: remove absurd microoptimization | Stanislaw Halik | |
There's no benefit to using branchless arithmetic here. Retrieving a value<bool> is so complex it doesn't matter how many times we branch here. | |||
2016-10-03 | logic/tracker: remove tautology | Stanislaw Halik | |
2016-10-03 | logic/tracker: apply auto-offset reltrans rotations in right order | Stanislaw Halik | |
Remove warning on using reltrans with auto-offset. Tested-by: @Len62 Discussed-with: @Len62 Issue: #473 |