summaryrefslogtreecommitdiffhomepage
path: root/pose-widget/pose-widget.hpp
AgeCommit message (Collapse)Author
2020-09-20Fix display of the Octopus pose in the Pose-widget.GO63-samara
In the extreme version of OpenTrack-2.3.12, the Octopus pose is still displayed incorrectly. I have fixed pose-widget. A video of the corrected pose-widget is available here: https://youtu.be/my4_VOwGmq4 Fixed bugs: - The turns and movements of the Octopussy are now performed truly independently of each other, as it should be in 6DOF. - When cornering, there is no "gimbal lock" at Pitch = +/- 90 degrees. - Fixed directions of axes of rotations and positions. Now the Octopus pose displays the actual direction of view on the plane. - Fixed display of the back (green) surface of the Octopus. Previously, it was displayed mirrored. Additional features: - Applied "perspective projection", the picture becomes more voluminous. - Added lighting effect from above, with the same purpose. - Added background fill for the widget. This makes it possible to see the borders of the widget. - Added X and Y axes. This helps to estimate how far the Octopus is deviated from the center. - Added [Mirror] checkbox, mirroring positions and rotations. It is often more convenient to observe the Octopussy's mirror pose. - If before compilation in the file "pose-widget.hpp" include line 19: "#define TEST", then a rectangular frame will be drawn around the Octopus. This is useful when testing a pose-widget to assess distortion and size.
2019-09-22pose-widget: fix widget not expandingStanislaw Halik
2019-05-04change awkward type nameStanislaw Halik
2019-03-18pose-widget: add qt-based implStanislaw Halik
It's probably half-broken though.
2019-02-21do less global memory fences in atomicsStanislaw Halik
2019-01-16pose-widget: enable hidpiStanislaw Halik
2019-01-16modernize onlyStanislaw Halik
- replace `static constexpr inline' with `static constexpr'. `inline' is implied. - use braced initializer lists where applicable - still missing `override' usages
2018-12-24style/quality onlyStanislaw Halik
No functional changes. - add `override' everywhere where missing - almost pass clang's `-Wweak-vtables' - avoid some float/double conversions - remove unused private members - make signedness conversions explicit - put stuff in right namespaces to aid analysis
2018-03-10sprinkle some `static constexpr inline'Stanislaw Halik
2018-01-10many: spring cleanupStanislaw Halik
2017-10-02pose-widget: only draw needed octopus sizeStanislaw Halik
2017-09-08pose-widget: fix race on startupStanislaw Halik
2017-06-30pose-widget: optimize CPU usage slightlyStanislaw Halik
CPU usage of an empty tracker loop fell reliably from 1% to .9%.
2017-06-18minor tweaks onlyStanislaw Halik
2017-05-12minor fixes onlyStanislaw Halik
2017-05-10pose-widget: add empty space to prevent out-out-bounds writesStanislaw Halik
2017-05-01pose-widget: catch 90 deg oblique rotation soonerStanislaw Halik
2017-04-20pose-widget: fix buildStanislaw Halik
2017-04-06pose-widget: avoid condition variable overheadStanislaw Halik
It's busy-looping on Windows.
2017-04-06pose-widget: prevent races and serial executionStanislaw Halik
We actually need to use "mtx" with the condition variable and copy the data to the worker thread's stack. Also allow for synchronous pose update, for tracking stoppage.
2017-04-06pose-widget: rename unit and headerStanislaw Halik