Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-10-21 | tracker/pt: fix typoopentrack-2021.1.3 | Stanislaw Halik | |
No functional changes. | |||
2021-10-01 | tracker/pt: use std::{begin,end} | Stanislaw Halik | |
2021-09-28 | tracker/pt: add point filter | Stanislaw Halik | |
2021-09-26 | tracker/{pt,wii}: cosmetic changes only | Stanislaw Halik | |
2019-03-19 | tracker/pt: modernize some loops | Stanislaw Halik | |
2019-03-19 | tracker/pt: call `reset_state()` consistently | Stanislaw Halik | |
Issue: #910 | |||
2019-02-21 | tracker/pt: don't `namespace pt_module' for core PT stuff | Stanislaw Halik | |
2019-01-16 | cv/numeric: rename namespace | Stanislaw Halik | |
2019-01-16 | tracker/{pt,wii}: allow float/double in cv/numeric | Stanislaw Halik | |
2019-01-16 | tracker/pt: retire pose reuse | Stanislaw Halik | |
2019-01-16 | tracker/pt: fix duplication/logic error | Stanislaw Halik | |
2019-01-16 | tracker/pt: set expected pose to identity reset_state() | Stanislaw Halik | |
Also there's this evil `static' but it probably resulted in having it set to identity anyway. | |||
2019-01-16 | tracker/pt: decruft | Stanislaw Halik | |
2019-01-16 | tracker/pt: fix evil typo | Stanislaw Halik | |
Tracking for caps was broken. Issue: #854, #822 Reported by: @Attigliuzzo, listekcr | |||
2019-01-16 | tracker/pt: disable faulty max distance logic | Stanislaw Halik | |
2019-01-16 | cruft | Stanislaw Halik | |
2019-01-16 | tracker/pt: replace convoluted logic in `maybe_use_old_pose' | Stanislaw Halik | |
2019-01-16 | tracker/pt: cleanup, declarations, lock scope | Stanislaw Halik | |
2019-01-16 | clang-tidy fixes only | Stanislaw Halik | |
Maybe global `-Wcomma' is too harsh. There should be no functional changes whatsoever. | |||
2018-12-08 | clean up a bit | Stanislaw Halik | |
2018-07-08 | modernize only | Stanislaw Halik | |
2018-02-15 | clean up "static" and "constexpr" types | Stanislaw Halik | |
- use `static constexpr inline' to avoid requiring explicit declarations in object code - use `const Foo* const' to maybe put into readonly binary segment (at least for ELF DSOs) - `constexpr' in function scope has storage, avoid `static' - don't use `constexpr' where there's no advantage, like arrays We'd like to avoid overhead of atomic initialization for each function call. No idea how `static constexpr' requiring storage in the standard plays with atomic initialization requirement. Hearsay points that `constexpr' without `static' in block scope behaves more to our liking. It's all hazy though. I'm not 100% sure if `static inline constexpr' has any storage. Hopefully none, like a #define, and stuff bigger than registers gets coalesced within the same module, with small stuff being immediates. | |||
2018-02-05 | compat/nan: retire | Stanislaw Halik | |
It was broken for MSVC where isnan doesn't work with fast math. Fall back to `fpclassify'. Adjust usages. | |||
2018-01-21 | tracker/pt-base: add static pt_camera_info::get_focal_length | Stanislaw Halik | |
For the Wiimote tracker. Adjust usages in tracker/pt. Issue: #718 | |||
2018-01-11 | tracker/pt: allow for reuse | Stanislaw Halik | |
Issue: #718 This allows for replacing the camera and point extractor code. See `module.cpp' and `pt-api.hpp`. | |||
2018-01-10 | tracker/pt: reset dynamic pose on center | Stanislaw Halik | |
2017-10-29 | static constexpr -> constexpr | Stanislaw Halik | |
2017-10-22 | tracker/pt: return focal length directly | Stanislaw Halik | |
2017-09-22 | tracker/pt: add color extraction modes | Stanislaw Halik | |
2017-07-25 | tracker/pt: reduce pose reuse | Stanislaw Halik | |
It could cause microstutter. | |||
2017-07-16 | compat/math-imports: use it | Stanislaw Halik | |
2017-07-07 | tracker/pt: reduce LED deadzone | Stanislaw Halik | |
It qualifies far less often now, but will likely reduce jerkiness. | |||
2017-06-18 | get rid of "volatile" abuse | Stanislaw 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-18 | tracker/pt: adjust after sqrt | Stanislaw Halik | |
2017-06-18 | tracker/pt: use last pose when not different | Stanislaw Halik | |
We allow for max of less than a pixel skew of all the points. | |||
2017-06-12 | tracker/pt: cleanup | Stanislaw Halik | |
Also, changing "f" typedef to "float" won't break the build anymore. | |||
2016-12-16 | tracker/pt: refactor camera info handling | Stanislaw Halik | |
- Pass `struct CamInfo' rather than several elements separately - Reformat - Return `struct CamInfo' together with the frame since then it's always valid - Move the focal length formula into `struct CamInfo' - Remove incorrect focal length formula rather than #if 0 - Pass some stuff by reference and not by pointer | |||
2016-11-12 | tracker/pt: refactor | Stanislaw Halik | |
- separate .{cpp,hpp} for few classes - don't include namespaces globally; harmless but looks bad anyway - class with all public members to struct | |||
2016-10-11 | tracker/pt: increase min point radius to sensible value | Stanislaw Halik | |
We can't possibly have LEDs smaller than (6/3=2) each. Especially not (2.5/6). | |||
2016-10-10 | tracker/pt: get rid of heap allocation | Stanislaw Halik | |
Use stack arrays rather than vectors. std::array may be a better choice though. | |||
2016-10-07 | tracker/pt: C++11-ize | Stanislaw Halik | |
2016-09-21 | many: remove compat/pi-constant.hpp | Stanislaw 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-20 | typo | Stanisław Halik | |
2016-09-16 | tracker/pt: get rid of pt_types class | Stanislaw Halik | |
2016-08-26 | fix linux build: missing symbol N_POINTS | DaMichel | |
2016-08-12 | all: rename modules s#^opentrack-##. and opentrack -> api | Stanislaw Halik | |
Adjust usages. | |||
2016-08-04 | tracker/pt: lower max dynamic pose distance | Stanislaw Halik | |
2016-07-31 | tracker/pt: use max distance for dynamic pose | Stanislaw Halik | |
2016-07-25 | tracker/pt: fix dynamic pose | Stanislaw Halik | |
Issue: #386 | |||
2016-07-19 | tracker/pt: reduce locking | Stanislaw Halik | |