summaryrefslogtreecommitdiffhomepage
path: root/logic/tracker.cpp
AgeCommit message (Collapse)Author
2017-03-17logic/tracker: avoid using zero position in reltrans/mappingStanislaw Halik
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-21logic/tracker: invert before rotation's used for transformationsStanislaw Halik
2017-02-17logic/tracker: remove the experimental center optionStanislaw Halik
It's broken.
2017-01-29spline-widget: remove camel caseStanislaw Halik
My eyes bleed a bit less
2017-01-16logic/tracker: fix formulaStanislaw Halik
Didn't return the canonical -180->180.
2016-12-28nix accidental debug codeStanislaw Halik
2016-12-28logic/tracker: fix typo out-of-bound accessStanislaw Halik
2016-12-09gui, logic: allow toggle neck displacementStanislaw Halik
It was only possible to zero the values to turn it off.
2016-12-09gui, logic: add neck displacement featureStanislaw 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-25Revert "logic, gui: remove relative translation disable axis"opentrack-2.3-rc99p15Stanislaw Halik
This reverts commit 9fb8b48027ac8c03628955da2b186de88745e348.
2016-11-18logic, gui: remove relative translation disable axisStanislaw Halik
Only Z needs this.
2016-11-18logic/tracker: make camera offset only work on translationStanislaw Halik
2016-11-18logic/tracker: avoid exposing struct bits and Pose type aliasStanislaw Halik
2016-11-18logic/tracker: fix incorrect atomic bitmask usageStanislaw Halik
2016-11-18logic/tracker: maybe fix both camera offset modes used togetherStanislaw Halik
2016-11-12logic/tracker: move from headerStanislaw Halik
2016-11-12pose-widget, logic/tracker: adjust euler helpers usageStanislaw Halik
2016-11-03logic/tracker, dinput, tracker/joystick: fix rounding errorsStanislaw 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-03logic/tracker: remove absurd microoptimizationStanislaw 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-03logic/tracker: remove tautologyStanislaw Halik
2016-10-03logic/tracker: apply auto-offset reltrans rotations in right orderStanislaw Halik
Remove warning on using reltrans with auto-offset. Tested-by: @Len62 Discussed-with: @Len62 Issue: #473
2016-09-28logic/tracker: sanitize tracker's euler anglesStanislaw Halik
Issue: #465 Reported-by: @topiq77
2016-09-27logic/tracker: try harder to keep up constant HzStanislaw Halik
Now time error is accumulated rather than using only the last iteration's error.
2016-09-25gui, logic: allow prevent rotation from affecting compensationStanislaw Halik
Issue: #458
2016-09-24logic/tracker: use a second enum to make errors stand out moreStanislaw Halik
2016-09-24logic/tracker: use enum valuesStanislaw Halik
2016-09-24logic, gui: allow for disabling any of the three tcomp optionsStanislaw Halik
Issue: #458 Requested-by: @Borisovich
2016-09-21many: remove compat/pi-constant.hppStanislaw Halik
With -D_USE_MATH_DEFINES MSVC defines the standard M_PI and friends. Since this preprocessor definition is now always passed as part of the build system for MSVC. We can use M_PI as if on a mission.
2016-09-06gui, logic: add shortcut for "translation compensation off while held"Stanislaw Halik
Requested-by: @Sone989 Issue: #440
2016-09-03logic/tracker: move invert after mappingStanislaw Halik
It's only for when games expect different sign. If tracker input translation is necessary, use either "camera offset" for rotation between -180 to 180 roll value, or given tracker's option. For trackers where this is necessary they should offer an option in their own dialog.
2016-08-23logic/tracker: minor nonsenseStanislaw Halik
2016-08-18logic/tracker: decomposed unscaled rotation isn't used anywhereStanislaw Halik
2016-08-18logic/tracker: fix accumulative tracker camera mode centerStanislaw Halik
2016-08-17logic/tracker: cleanup gimbal lock fixStanislaw Halik
There were too many cases of variables with a "_real" suffix and without. Move both cases into struct data members. Also add experimental camera centering method. Cleanup some other stuff like "is_nan" should take an arbitrary Mat.
2016-08-12all: rename modules s#^opentrack-##. and opentrack -> apiStanislaw Halik
Adjust usages.