summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2016-07-04logic/tracker: get roll for camera centering from inertial centeringStanislaw Halik
It stays centered this way. Sadly yaw and pitch are still somewhat not fixed in the user's reference frame.
2016-07-04spline-widget: sort as defensive codingStanislaw Halik
2016-07-04spline-widget: allow for closer points. fix fencepost error.Stanislaw Halik
2016-07-04logic/tracker, api/simple-mat: don't convert rad <-> deg all the timeStanislaw Halik
2016-07-04various: don't use qSort/qStableSortStanislaw Halik
2016-07-04logic/joystick: don't logspam button pressesStanislaw Halik
On my Saitek X65F there's erratic panel button logspam. The panel's been thrown out since it's useless, and the connector is detached from everything. In any case don't do stderr io overhead for button presses.
2016-07-03compat/options: fix and simplify slider supportStanislaw Halik
- Introduce rounding. Before, slider pos didn't correspond to the saved setting until it "converged" several saves later. - Move copy-pasted code to .cpp file.
2016-07-03gui/mapping: fix axis asymmetry checkboxesStanislaw Halik
value<t> needs to persist over the checkbox's lifetime, otherwise the slot gets disconnected.
2016-07-03cmake/mingw-w64: change WARNINGS_ENABLE logicStanislaw Halik
It makes sense to default for opentrack only. Depends can be messy and they will.
2016-07-03compat/process-list: fix mingw-w64 linux crossStanislaw Halik
2016-06-29compat/options: also use references for base_value slotsStanislaw Halik
2016-06-29gui/{options,main}: rename identifier onlyStanislaw Halik
2016-06-29gui/options-dialog: no need for non-RAIIStanislaw Halik
Qt destructors deregister one component from another.
2016-06-29logic/state: move to gui/mainStanislaw Halik
2016-06-29logic/joystick: treat each POV hat as 4 buttonsStanislaw Halik
dinput8 has separate logic for pov hats. Before pov hat state was totally ignored. Don't support 8-way buttons. Only one button gets registered after a diagonal pov hat press.
2016-06-29api/plugins: prevent unloading shared libraries when changedStanislaw Halik
It's pointless and can lead to leaks.
2016-06-29compat/options: separate module dll names from rest of settingsStanislaw Halik
The other settings are modified by the options dialog. These are in the main ui. We need to be able to save modules without saving the options dialog.
2016-06-29logic, gui: reload keybinding description on profile changeStanislaw Halik
2016-06-29gui/mapping: reload mapping on profile changeStanislaw 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-29compat/options: make inline to fix ltoStanislaw Halik
2016-06-29gui/options: fix cancel buttonStanislaw Halik
The "struct opts" dtor doesn't run at dialog close time so invoke "reload" on the bundle explicitly.
2016-06-28logic/joystick: fix multiple bugsStanislaw Halik
- the enumerator and the handle list are now static; joysticks were erroneously destructed during refresh - setup dinput only once; creating LPDIRECTINPUT8 many times causes Release() to invalidate all handles - don't create joystick handles many times; same thing applies - refresh joy list on failed acquire; usually joystick is unplugged at that moment leading to endless stderr spam - use a static mutex as to avoid dinput races Issue: #315
2016-06-28cmake/linux: enable -fPICStanislaw Halik
2016-06-28logic/nan: move prototype to headerStanislaw Halik
2016-06-27cmake/mingw-w64: fix override for all buildsopentrack-2.3-rc49p7Stanislaw Halik
2016-06-27cmake: allow mingw-w64 toolchain file from unixStanislaw Halik
2016-06-27tracker/aruco: fix #375Stanislaw Halik
The height was zero on the test video. The ROI check only saw if width is at least zero. Check for both to be greater than one. Video provided by: @kblomster Issue: #375 Also, fix minor issues: - nix vars that can be const static in function scope - don't call solvepnp twice where obj_points shift will do - don't do bounds checking on vector elt access - respect sprintf varargs type size; change to snprintf for no reason - fix clamp-to-image logic - set proper alpha for fps estimation
2016-06-27cmake: backoff gcc 6.1.0 due to miscompilationStanislaw Halik
Issue: #375
2016-06-24api/camera-dialog: fix win32 buildopentrack-2.3-rc49p6Stanislaw Halik
2016-06-24tracker/hatire: fix qt warningStanislaw Halik
2016-06-24tracker/aruco: fix crash after opencv updateStanislaw Halik
Some new matrix element type requirements came up after opencv update Also, - switch to matrices of known sizes wherever possible - split into functions for readability - use member variables rather than locals to ensure heap allocation There was also breakage wrt "unknown element type" deep in opencv that only happens on release mode with no symbols. It's unknown to me whether the issue got fixed or variable reordering made it corrupt something else. It appears to work however. -fstack-protector-all doesn't show any errors at all. @kblomster says it worked in rc49p2. Looks like -fipa-pta has a miscompilation despite finally working to begin with. Reported-by: @kblomster Issue: #375
2016-06-24csv, proto/ft: workaround link bug on win32 with no ltoStanislaw Halik
Need link dynamic, otherwise symbol lookup failure.
2016-06-24filter/ewma: increase max slider valStanislaw Halik
2016-06-24api/camera: fix buildStanislaw Halik
2016-06-21tracker/pt: less jerky crosses on the video feedopentrack-2.3-rc49p5Stanislaw Halik
2016-06-21filter/ewma: allow for higher smoothing curve slider valueStanislaw Halik
2016-06-21filter/ewma: update labels before they're modifiedStanislaw Halik
2016-06-21filter/ewma: change delta smoothing constant backStanislaw Halik
2016-06-21tracker/pt: adjust auto threshold max area sizeStanislaw Halik
2016-06-21tracker/pt: fix points at (0,0) which are really NaNStanislaw Halik
Issue: #318 cf. http://forum.il2sturmovik.ru/topic/2291-open-track/page-26
2016-06-21filter/ewma: add note about warmup timeStanislaw Halik
2016-06-21tracker/pt: move pi constant to headersStanislaw Halik
2016-06-20filter/ewma: cleanup, updateStanislaw Halik
- switch to our timer since it has more than millisecond precision - use slider_value for settings - sanitize allowed scaling curve bounds - ensure min <= max in dialog - ensure min <= max at filter runtime - check for NaN taking -ffast-math into account - simplify dialog logic - change delta smoothing constant
2016-06-20compat/options: inline methodStanislaw Halik
2016-06-20filter/accela: update default slider positionStanislaw Halik
It needs to filter less for new users.
2016-06-20spline-widget: move bool last to minimize paddingStanislaw Halik
2016-06-19tracker/test: test emitting NaN valuesStanislaw Halik
2016-06-19tracker/hatire: register even more signals earlieropentrack-2.3-rc49p4Stanislaw Halik
2016-06-19tracker/hatire: connect slots before thread start to prevent racesStanislaw Halik
Issue: #139