summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2017-03-17cv/calibrator: stupid MSVC 2015 doesn't inline the lambdaStanislaw Halik
Have it their way then.
2017-03-17filter/accela: special-case the -180/180 rotation boundaryStanislaw Halik
Previously crossing the 180 degree boundary got treated as a large rotation. This is of course incorrect. The error in fact lies only in the filter. Special-case the sign changes. We're centering prior to filtering in logic/tracker.cpp so it's all right in the world. Issue: #533 Reported-by: @Ounicron Fixes: #533
2017-03-16tracker/{aruco,pt}: adjust usages for the calibratorStanislaw Halik
2017-03-16filter/accela: commentStanislaw Halik
2017-03-16cv/calibrator: limit samples at similar positionsStanislaw Halik
Having yaw and pitch as a tuple, let N be the granularity. We're now only allowing one sample per the granularity level. Granularity -- "spacing_in_degrees" has a value of 3 degrees. For now the values must be integral. Since we're only allowing (yaw, pitch) tuples of given granularity, the following get treated as distinct: (0; 0), (0; 3), (0; 6), (1; 42), (3; 3) The tuple value order can be swapped. There's nothing significant as for what's pitch and what's yaw. We drop the remainder between the yaw/pitch value so (0, 0) is index 0, (0; N) is index 1, (0; 2N) index 3, etc. This should prevent the calibration function from biasing itself when the user keeps still during the procedure.
2017-03-16tracker/aruco: we never meant to copy the calibratorStanislaw Halik
2017-03-15tracker/pt: fix logic error in camera reopenStanislaw Halik
- cap->isOpened() got its return value flipped in the conditional. - the stop(); return false block was in the wrong place
2017-03-09logic/mappings: set max input not only in the dialogopentrack-2.3.1.4Stanislaw Halik
The setting is saved, but ignored other than when dealing with the mapping dialog. This breaks the functionality prior to manual open of the mapping dialog. This may not be the cause of #568 but is related.
2017-03-09qxt-mini: fix hotkeys for LinuxStanislaw Halik
Sadly the keys won't pass through the application anymore. Issue: #570 Closes: #570
2017-03-08tracker/pt: fix compile on GCC 4.9.xStanislaw Halik
"color" is declared in the same block anyway. Issue: #569
2017-03-07options/bundle: fix class friend declStanislaw Halik
2017-03-06Merge pull request #564 from MathijsG/patch-5Stanisław Halik
Update nl_NL.ts
2017-03-06Merge pull request #565 from MathijsG/patch-3Stanisław Halik
Update nl_NL.ts
2017-03-06Merge pull request #566 from MathijsG/patch-7Stanisław Halik
Update nl_NL.ts
2017-03-06Merge pull request #567 from MathijsG/patch-8Stanisław Halik
Update nl_NL.ts
2017-03-06Merge pull request #563 from MathijsG/patch-6Stanisław Halik
Update nl_NL.ts
2017-03-06Update nl_NL.tsMathijs Groothuis
2017-03-06Update nl_NL.tsMathijs Groothuis
2017-03-06Update nl_NL.tsMathijs Groothuis
2017-03-06Update nl_NL.tsMathijs Groothuis
2017-03-06Update nl_NL.tsMathijs Groothuis
2017-03-03tracker/pt: show average point radius on the displayopentrack-2.3.1_fix3Stanislaw Halik
Helps with choosing automatic threshold slider position.
2017-03-01cmake: delist spurious opencv moduleStanislaw Halik
2017-03-01gui/mapping-window: correct unitsStanislaw Halik
Spotted-by: @mrsanchos
2017-03-01tracker/pt: simplify camera frame retry logicStanislaw Halik
2017-03-01main: don't comment out _exit(2)Stanislaw Halik
2017-03-01tracker/pt: don't crash in cv::resizeStanislaw Halik
next hotfix or bust
2017-02-27{base,options}-dialog: fix dialogs not savingopentrack-2.3.1_fix2Stanislaw Halik
In case of the options dialog, running close() in doOK() made it go into closeEvent(), going into doCancel(), and reloading the settings prior to them getting saved. It's time for a hotfix2 build.
2017-02-27gui/main: reindentStanislaw Halik
2017-02-27options/fix bundle refcount handlingStanislaw Halik
We rolled up our own refcount while using shared_ptr at the same time. Remove all rolled-up logic and rely on shared_ptr's custom deleter to do the cleanups. This greatly simplifies the code here. Unfortunately, _fini ordering makes Qt crash after the app object runs out of scope: gui/main.cpp: QApplication app(argc, argv); Both things considered, use _exit(2) on Unix to avoid running static destructors.
2017-02-27logic/shortcuts: free all heap memory in dtorStanislaw Halik
2017-02-27remove unfinished polish translation filesStanislaw Halik
Polish speakers typically know English well enough and translations are awkward.
2017-02-27gui/options: camera offset -> camera angleStanislaw Halik
Adjust translations.
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-26api/base-dialog: try harder to avoid double closing() signalStanislaw Halik
2017-02-26{api/base,gui/options}-dialog: prevent closing without signalStanislaw Halik
Use hide() to avoid emitting idempotent events. There's isVisible() but no isClosed() or equivalent. Worse yet, close() can return true twice in a row, despite what docs for `bool QWidget::close()' say.
2017-02-25Merge pull request #553 from mrsanchos/unstableStanisław Halik
Add some translation strings
2017-02-25Add some translation stringsAlexander Orokhovatskiy
2017-02-25cmake/i18n: rebuild .qm if .ts changesStanislaw Halik
2017-02-25logic/main-settings: default to camera center methodStanislaw Halik
2017-02-25cmake/version: don't export from static libraryStanislaw Halik
2017-02-25gui/options-dialog: sprinkle some konst referenceStanislaw Halik
2017-02-25gui/options-dialog: prevent crap key text from being savedStanislaw Halik
Unprintable characters won't work in addition to not displaying right. This happens with altgr diacritics on the Polish keyboard on Linux. Skip all key text with unprintable characters, as if the key was getting unbound.
2017-02-25gui/options-dialog: prevent escape key closing on LinuxStanislaw Halik
The escape key closed the dialog but prevented save/cancel hooks from being run. Now we get the hooks running twice but it's better than not at all.
2017-02-25qxt-mini: multiple Linux support fixesStanislaw Halik
- Register an event filter once and keep it there. The refcount goes out of whack. Will further investigate. - Use an iterator over all shortcuts registered for given key combination - Lessen logspam Keyboard shortcut support on Linux looks pretty good now. The issue that blocked keys from being further processed was running XGrabKey multiple times with various modifiers. XGrabKey will block unlisted modifiers from being passed to other apps. The solution was to register once with AnyModifier and care about modifiers only later.
2017-02-25gui/keyboard: drop modifier keysStanislaw Halik
For Linux.
2017-02-25qxt-mini: refcount identical shortcuts rather than dropping themStanislaw Halik
Only for Linux. The OSX code should stay intact however.
2017-02-25logic/shortcuts: remove shared_ptr usageStanislaw Halik