summaryrefslogtreecommitdiffhomepage
path: root/opentrack/tracker.cpp
AgeCommit message (Collapse)Author
2015-10-21Merge branch 'unstable' into trackhattrackhat-1.1p2Stanislaw Halik
* unstable: cmake: update toolchain file shortcuts: fix osx/linux keystrokes persisting cmake: fix copy-paste comment cmake: add toolchain file for OSX cmake: add osx policy to make it shutup x-plane: ignore diagnostic osx: nix warning gitattributes: more text extensions to eol=lf cmake: timestamp logic simplify/fix cmake: no timestamp for tag builds all: update copyright where appropriate all: comments only cmake: regen before making tarball cmake: fix dropbox share invocation tracker: initialize newpose pt: use previous pose on NaN result from POSIT accela: also don't poison ewma state with nans cmake: fix tarball invocation accela: elide NaN output values qfc: elide NaN values pt: reformat more pt: reformat posit pt: refactor auto threshold somewhat pt: rename ill-chosen name pt: switch min/max point size to reals cmake: upload tarball to Dropbox but only if I'm the user cmake: add tarball timestamp so it gets rebuilt cmake: don't regen version if none changed cmake: fix git describe --dirty cmake: retab git module fix tarball target cmake: mark dirty tree cmake: regen tarball even if exists cmake: generate version.cc tracker: check for NaN values accela: don't check NaNs in filter, wrong place cmake: drop -ffast-math, allow for NaN check shortcuts: actually print screen binding works shortcuts: alias right modifier keys to left modifier keys shortcuts: allow for binding scroll lock and pause/break accela: also filter out NaNs on tracking start allow for filter immediate center
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-02trackhat: use only absolute centeringStanislaw Halik
Merged: * unstable: main: add relative and absolute center options
2015-10-02main: add relative and absolute center optionsStanislaw Halik
Closes #237
2015-10-02Merge branch 'unstable' into trackhat-uiStanislaw Halik
* unstable: main: keybinding for "zero" should reset to PERFECTLY forward
2015-10-02main: keybinding for "zero" should reset to PERFECTLY forwardStanislaw Halik
Closes #242
2015-09-30Merge branch 'unstable' into trackhat-uiStanislaw Halik
Sponsored-by: TrackHat * unstable: (112 commits) Revert "accela: try more complex deadzone algorithm" pt: add wiki link for calibration instructions qfc: more gray colors when graph is disabled qfc, mapping: disallow editing and change color when checkbox disabled qfc: don't allow editing when disabled plugin-support: workaround multiple copies of modules accela: change translation gain accela: change rotation gain pt: change extraction code freepie-udp: add license freepie-udp: update accela: try more complex deadzone algorithm accela: add helpful comment accela: revert to more quadratic spline at start also save if save pending when start tracking ui: force saving if saving timer is pending accela: slightly more linear function pose-widget: simplify freepie-udp: nix harmless warning pose-widget: add comment simple-mat: add __restrict for GNU ui: save settings on a timer ui: show a warning if configuration directory can't be used aruco: tune min/max marker size win32-joystick: fix duplicate device name selection logic ui: no need to reset settings on tracking start ui: save profile when combobox text changes, not merely index ui: save current tracker/filter/proto, not last win32-joystick: fix COM failure path win32-joystick: nix unused variable win32-joystick: allow for unique selection of joysticks qfc: also draw line from function start while moving no need to save on tracking start anymore save axis opts, not just spline control points tracker: change centering order again fix typo cmake: don't say "opentrack" twice for osx build ui: really don't switch profiles while refreshing combobox pt: fix type mismatch ui: save prior to switching configs tracker_rs: adjusted tracker's name ui: don't reload settings if config wasn't changed ui: save everything before switching profiles options: return .ini basename easier tracker_rs: more readable icon tracker_rs: prevent potential thread starvation ui: switch to newly-created config ui: decruft ui: also bail on new config if its name is ".ini" ui: auto-refresh config list ui: display up to 20 profiles w/o scrolling ui: create an empty config properly in another code branch udp-tracker: silence harmless warning plugin-support: fix typo plugin-support: set more sane RTLD flags plugin-support: free modules from address space when needed ui: rename symbol to reflect current usage ui: move some slots to private ui, shortcuts: these are slots, actually ui: no need to write anything to new empty config ui: avoid potential memory leak ft: new game support game-data: chomp newlines in extractor ui: append extension in the right place simple-mat: fix arglist SFINAE simple-mat: can use static_cast here nix default empty config. it gets created on its own. ui: these aren't qt slots ui: nix wrong headers ui: remove GNU GPL ui: simplify condition props changed only main, ui: store config files in a predefined directory pt: show extracted points' areas and success count close dialogs on switch to new module ...
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-20Merge branch 'unstable' into trackhat-uiStanislaw Halik
2015-07-20add my own copyrightStanislaw Halik
We need copyright on contributions or else it defaults to granting no rights.
2015-07-19Merge branch 'unstable' into trackhat-uiStanislaw Halik
2015-07-19don't set thread affinity for anythingStanislaw Halik
Fixes #174
2015-07-08Merge branch 'unstable' into trackhat-uiStanislaw Halik
2015-07-08retab and reformat onlyStanislaw Halik
2015-07-08Merge branch 'unstable' into trackhat-uiStanislaw Halik
2015-07-07tracker: camera angle affected translation twiceStanislaw Halik
2015-06-18flushStanislaw Halik
It crashes after drawing a frame for now.
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