summaryrefslogtreecommitdiffhomepage
path: root/opentrack/tracker.cpp
AgeCommit message (Collapse)Author
2016-06-16all: split "api" into "api" and "logic"Stanislaw Halik
Here, the "logic" module has all the stuff for building one's own graphical user interface. The "api" module has stuff used by other trackers. While at it, each of "api", "logic", and "compat" need their own export headers. This is because of preprocessor symbol clashes. This is all because a change in the "gui"-only dependency required a relink of all the trackers, protocols, and flters. It takes too long when building in the release configuration. With the split, only the "gui" module gets rebuilt. Since it has close to no static dependencies, it's fast enough.
2016-06-15api: remove euler filterStanislaw Halik
This isn't a proper way to handle the multiple solutions problem. Even after fixing degree/radian confusion it didn't work.
2016-06-14api/tracker: add euler filterStanislaw Halik
Gimbal lock is a problem too often.
2016-06-11api/tracker: treat all camera shift values as equal to raw dataStanislaw Halik
Input the exact "raw data" values into settings -> camera -> offset. THIS IS A BREAKING CHANGE. User configs are affected. It was previously suggested to make the signs sensible but I don't remember by whom.
2016-05-04api: fix permissions bits. no code changes.Stanislaw Halik
2016-04-23api: make NaN/Inf check work even with full fast mathStanislaw Halik
2015-10-18tracker: initialize newposeStanislaw Halik
In newpose[i] = elide_nan(tmp[i], newpose[i]); uninitialized memory can be used.
2015-10-17tracker: check for NaN valuesStanislaw Halik
Issue: #255
2015-10-16allow for filter immediate centerStanislaw Halik
2015-10-02main: add relative and absolute center optionsStanislaw Halik
Closes #237
2015-10-02main: keybinding for "zero" should reset to PERFECTLY forwardStanislaw Halik
Closes #242
2015-08-28tracker: change centering order againStanislaw Halik
Needs more testing with PT and other non-inertial trackers. Issue: #227
2015-08-22props changed onlyStanislaw Halik
Some source files had executable bit on. Remove it.
2015-08-18simple-mat: replace initializer_list with variadic ctorStanislaw Halik
Gives us type safety rather than argument count mismatch. Also there's no more narrowing conversion issue. Replace usages. Explicitly delete initializer_list ctor.
2015-08-13tracker: no need to run logic() at allStanislaw Halik
2015-08-13tracker: use concise syntax for vector accessStanislaw Halik
2015-08-09main: apply center pose after compensationStanislaw Halik
Issue: #212
2015-08-09main: remap axis before mappingStanislaw Halik
Issue: #213
2015-07-20add my own copyrightStanislaw Halik
We need copyright on contributions or else it defaults to granting no rights.
2015-07-19don't set thread affinity for anythingStanislaw Halik
Fixes #174
2015-07-08retab and reformat onlyStanislaw Halik
2015-07-07tracker: camera angle affected translation twiceStanislaw Halik
2015-06-06tracker: revert to filtering before mappingStanislaw Halik
As a side effect, current position on mapping graphs no longer jumps around.
2015-06-05all: pin computation threads to specific coresStanislaw Halik
2015-06-03main: pass -WallStanislaw Halik
2015-05-31main: switch rotation order for centeringStanislaw Halik
This helps some PT clip model users, but can possibly break inertial device centering, so needs further testing.
2015-05-31allow camera roll input value, for completenessStanislaw Halik
2015-03-13translation also needs rotating for off-center cameraStanislaw Halik
Issue: #137
2015-02-17shortcuts: allow customize whether to center on startupStanislaw Halik
Issue: #128
2015-02-01center when first pose receivedStanislaw Halik
Requested-by: many
2015-01-05fix typo breaking axis remapStanislaw Halik
Issue: #114
2014-12-20apply r/t compensation before mapping translation valuesStanislaw Halik
Suggested-by: @FlyingCircus- Issue: #106
2014-12-19tracker: fix typo breaking Z valueStanislaw Halik
Issue: #106 Yaw value was copied as Z value due to typo.
2014-12-18implement camera offsetStanislaw Halik
2014-12-15move rmat->euler and euler->rmat conversions to headerStanislaw Halik
2014-11-29implement zero shortcutStanislaw Halik
2014-11-28don't reset coords on pauseStanislaw Halik
Issue: #99
2014-11-26tracker: map before filteringStanislaw Halik
2014-11-11sane gimbal lock boundsStanislaw Halik
Tested-by: @KyokushinPL Issue: #63
2014-11-11add again gimbal lock workaround codeStanislaw Halik
@KyokushinPL reports +-90 pitch boundary broken otherwise
2014-11-11centering changesStanislaw Halik
2014-11-10simplify centeringStanislaw Halik
2014-11-09guard against gimbal lockStanislaw Halik
Issue: #63
2014-11-09doesn't hurt to use the commented-out formulaStanislaw Halik
2014-11-09Revert "fix typos"Stanislaw Halik
This reverts commit e74f029bf790342b1d3e0f11e5edf98c16946b08.
2014-11-09add commentStanislaw Halik
2014-11-09fix typosStanislaw Halik
2014-11-07fix r/t comp after mat changeStanislaw Halik
2014-11-07no need use temp array anymoreStanislaw Halik
2014-11-07nix unused constantStanislaw Halik