summaryrefslogtreecommitdiffhomepage
path: root/opentrack-logic/tracker.h
AgeCommit message (Collapse)Author
2016-08-12all: rename modules s#^opentrack-##. and opentrack -> apiStanislaw Halik
Adjust usages.
2016-08-10logic/tracker: try keep constant HzStanislaw Halik
- the timekeeping handling was incorrect and Hz was lower than expected - change Hz from 333 to 250 Hz - adjust track-logger usage
2016-08-10spline-widget, gui: rename mapping-related files and classesStanislaw Halik
Adjust usages.
2016-08-09spline-widget: only rename filesStanislaw Halik
Adjust usages.
2016-08-09logic/tracker: simplifyStanislaw Halik
- no need to declare "inverts" as an array. it's used in only one place - class Pose is redundant, use an alias for Mat<...> - declare static constexpr const for logger stuff
2016-08-07logic/tracker: fix gimbal lock in a crude wayStanislaw Halik
Divide euler angle representation by four. Now 180 maps to 45. Our conversion back from matrix to euler won't cause gimbal lock anymore. Of course multiply back when it's time to map. Keep the real representation for translation compensation. The value of four got chosen since it's a multiply of two (IEEE float exponent is base 2).
2016-07-31logic/tracker: remove debug printf'sStanislaw Halik
2016-07-29new track logging: record poses in various stages of processing into a fileDaMichel
2016-07-25logic, pose-widget: fix following simple-mat moveStanislaw Halik
2016-07-23logic/tracker: fix translation compensationStanislaw Halik
2016-07-23logic/tracker: cleanupStanislaw Halik
2016-07-19some: replace hardcoded pi values with the same pi constantStanislaw Halik
We can't depend on M_PI existing after including cmath.
2016-07-04logic/tracker, api/simple-mat: don't convert rad <-> deg all the timeStanislaw Halik
2016-06-29logic, gui: no need to reference "struct main_settings"Stanislaw Halik
Now that "struct main_settings" doesn't implicitly reload in dtor, we no longer have to pass it around from the user interface. Only reload it where it's modified, i.e. in the options dialog. Changing the filter/dialog/mapping comboboxen implicitly saves the main options however.
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.