summaryrefslogtreecommitdiffhomepage
path: root/logic
AgeCommit message (Collapse)Author
2017-06-18logic/tracker: fix sleep always for 0 msStanislaw 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-18logic/tracker: wraparound degrees over 360Stanislaw Halik
2017-06-18get rid of "volatile" abuseStanislaw 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-18compat/time: don't use "long long" for millisecondsStanislaw Halik
2017-06-13logic/tracker: only unrotate for camera caseStanislaw Halik
2017-06-12logic/tracker: unrotate position dataStanislaw Halik
2017-06-12logic/tracker: add multimedia timer againStanislaw Halik
2017-06-12cleanupStanislaw Halik
2017-06-10timer-resolution: removeStanislaw Halik
2017-06-10get rid of camera angle position rotationStanislaw Halik
It doesn't work well enough anyway
2017-06-10logic/tracker: fix typoStanislaw Halik
Was sending zero pose to proto.
2017-06-10compat/timer-resolution: we want higher timer resolutionStanislaw Halik
Windows scheduler performs badly with 1000 Hz.
2017-05-30logic/tracker: allow for "hold-toggle" hold-enableStanislaw Halik
Must press "keypress-toggle" to toggle (uh) that mode.
2017-05-30fix linux hotkeysStanislaw Halik
Requested-by: @miniskipper and many others
2017-05-16logic/tracker: remove dead codeStanislaw Halik
2017-05-16logic: remove height in "dynamic neck"Stanislaw Halik
It doesn't help any. Leave the depth only.
2017-05-14logic/tracker: cast to milliseconds before getting raw countStanislaw Halik
Previously it wasn't portable.
2017-05-12logic/tracker: use std::chronoStanislaw Halik
2017-05-10get rid of the silly mem -> shared_ptr aliasStanislaw Halik
2017-05-10options: don't create QSettings all the timeStanislaw Halik
Update usages.
2017-05-02compat/timer-resolution: use undocumented windows APIStanislaw Halik
Unlike timeBeginPeriod in winmm, this one sets the timer resolution for the calling process, only.
2017-04-18logic/tracker: fix option not used in logicStanislaw Halik
2017-04-14logic/tracker.cpp: explicit set to zeros with custom centerStanislaw Halik
cf. https://github.com/opentrack/opentrack/issues/352#issuecomment-293885962
2017-04-13logic/tracker: fix typoStanislaw Halik
2017-04-13logic/tracker: call center() before data()Stanislaw Halik
For real this time. Issue: #352
2017-04-13logic/tracker: zero at the right pipeline stageStanislaw Halik
2017-04-12logic/tracker: no need for timeBeginPeriodStanislaw 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-12matrix -> euler: prevent gimbal lock multiple solutions harderStanislaw Halik
2017-04-12gui/mapping: allow for up to 100 cm translationStanislaw Halik
Defaults to 30 cm as before. Changes X snap value for larger max value. Related-to: #352
2017-04-06logic/tracker: call IFilter::center()Stanislaw Halik
Issue: #540
2017-03-29logic/tracker: call center() before data()Stanislaw Halik
2017-03-28trivial onlyStanislaw Halik
2017-03-28start renaming internal macros as OPENTRACK_* to OTR_*Stanislaw Halik
2017-03-28rename spline-widget -> splineStanislaw Halik
Adjust usages.
2017-03-27cmake: rename project's function prefixStanislaw Halik
It's not annoying having to type it anymore. Also "otr_boilerplate" -> "otr_module".
2017-03-25logic: move from headerStanislaw Halik
2017-03-25logic/mappings: move from headerStanislaw Halik
2017-03-17logic/tracker: avoid using zero position in reltrans/mappingStanislaw Halik
2017-03-09logic/mappings: set max input not only in the dialogopentrack-2.3.1.4Stanislaw Halik
The setting is saved, but ignored other than when dealing with the mapping dialog. This breaks the functionality prior to manual open of the mapping dialog. This may not be the cause of #568 but is related.
2017-02-27logic/shortcuts: free all heap memory in dtorStanislaw Halik
2017-02-27remove unfinished polish translation filesStanislaw Halik
Polish speakers typically know English well enough and translations are awkward.
2017-02-27logic/tracker: invert prior to applying camera skewStanislaw Halik
2017-02-27logic/tracker: invert before applying camera angleStanislaw Halik
2017-02-26logic/tracker: remove unused code and struct membersopentrack-2.3.1+fix1Stanislaw Halik
It belonged to the "experimental" center method that got removed already.
2017-02-25logic/main-settings: default to camera center methodStanislaw Halik
2017-02-25logic/shortcuts: remove shared_ptr usageStanislaw Halik
2017-02-25logic/shortcuts: reorder headersStanislaw Halik
2017-02-24logic/work: fix -WreorderStanislaw Halik
2017-02-23fix build errors on LinuxStanislaw Halik
2017-02-23logic, gui: move selected-libraries to struct workStanislaw Halik