summaryrefslogtreecommitdiffhomepage
path: root/logic/pipeline.cpp
AgeCommit message (Collapse)Author
2019-09-22api: expose raw data to protocolsStanislaw Halik
Issue: #975
2019-06-20logic/pipeline: fix intermittent center failureStanislaw Halik
Issue: #953
2019-06-20logic/work: const correctnessStanislaw Halik
2019-05-04change awkward type nameStanislaw Halik
2019-04-29logic/pipeline: debug sleep timesStanislaw Halik
2019-04-29compat: allow naming threads for debuggingStanislaw Halik
2019-04-16logic/pipeline: make debug code more bearableStanislaw Halik
2019-04-05logic/pipeline: kill improper center modeStanislaw Halik
Issue: #912, #925
2019-03-28logic/pipeline: kill clamp_value()Stanislaw Halik
2019-03-19logic/pipeline: improve DEBUG_TIMINGSStanislaw Halik
2019-03-19logic/pipeline: kill NO_NAN_CHECKStanislaw Halik
2019-02-22cosmetic fixes onlyStanislaw Halik
2019-02-11compat/macros: remove prefixStanislaw Halik
Let's not be concerned about global namespace pollution. These identifiers aren't exposed in the api/ directory.
2019-01-16spline: fix deadlock, logic errorStanislaw Halik
Tracking rarely deadlocked when saving mappings. Investigating it further also shown how a wrong bundle was used for Accela's splines.
2019-01-16compat/mutex: removeStanislaw Halik
Always use the adaptive QMutex.
2019-01-16logic/pipeline: clamp value once more after centeringStanislaw Halik
Issue: #843
2019-01-16logic/pipeline: rename identifierStanislaw Halik
2019-01-16logic/pipeline: replace clunky atomic ops w/ a spinlockStanislaw Halik
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-12-24cruftStanislaw Halik
2018-12-24remove const correctness violationsStanislaw Halik
This is possibly related to a livelock where several threads do const removal in their respective code paths. Use the `mutable' specifier for the mutexes and spline's cached data. Now using the `mutable' specifier, get rid of <optional> in compat/mutex.
2018-12-19logic/pipeline: fix evil typo breaking trackingStanislaw Halik
2018-12-12logic/pipeline: oops, fix identity under disjunctionStanislaw Halik
2018-12-12logic/pipeline: fix nan checkStanislaw Halik
It assumed that all values were of the same type when packing into an initializer list.
2018-12-07logic/pipeline: fix clang-tidy warningsStanislaw Halik
2018-12-06logic/pipeline: center through arithmetic onlyStanislaw Halik
This is incorrect but people like it.
2018-12-06cruft onlyStanislaw Halik
2018-10-12tracker/pipeline: try help frame varianceStanislaw Halik
While we're keeping 250 Hz in the tracker pipeline, the frame variance isn't optimal, as per `backlog_time' values. Try a different magic number.
2018-10-12logic/pipeline: attempt adjust thread priorityStanislaw Halik
Calling QThread::setPriority twice in a succession means: 1. if you can, set high priority a) if not allowed, highest won't work either b) if allowed, see below 2. if you can, set highest priority a) if highest is allowed, happy happy joy joy b) if not, at least high priority is successful Note that we don't have any return value from QThread::setPriority().
2018-10-12logic/pipeline: cleanup onlyStanislaw Halik
2018-10-12logic/pipeline: fix duplicate d2rStanislaw Halik
2018-10-07fix GCC build errorsStanislaw Halik
Issue: #726
2018-10-05logic/pipeline: probably fix remaining bugsStanislaw Halik
2018-10-05silly busyworkStanislaw Halik
2018-08-25logic/pipeline: fix typename typoStanislaw Halik
2018-08-04logic/pipeline: rotation order fixrevert-geometry-stuffStanislaw Halik
v2: fix comments v3: fix reltrans
2018-08-03irrelevant busyworkStanislaw Halik
2018-07-08modernize onlyStanislaw Halik
2018-07-02nothing importantStanislaw Halik
2018-06-26modernize C++ syntaxStanislaw Halik
No visible changes (hopefully).
2018-06-26compat/macros: rename portability macrosStanislaw Halik
use `cc_xx' rather than awkward synonyms.
2018-06-26logic/pipeline: remove rest of scaled_rotationStanislaw Halik
2018-06-26core, modules: modernize syntax onlyStanislaw Halik
Use more C++17 features where this helps any.
2018-06-13logic/pipeline: fix atomic opsStanislaw Halik
No functional changes. Don't perform any atomic reads before compare-and-swap. The value read by CAS needs to go outside the loop. That's how CAS works.
2018-05-23logic/pipeline: disable neck Z if reltrans Z disabledStanislaw Halik
2018-05-23logic/pipeline: fix disable_dof orderStanislaw Halik
The actual order is (xyz, ypr). This was broken since forever. This February's refactor merely preserved the order of things.
2018-05-21logic/pipeline: don't enable center twiceStanislaw Halik
2018-05-05logic/pipeline: cleanup, use aggregate initStanislaw Halik
2018-05-05logic/pipeline: fix clang errorStanislaw Halik
2018-05-05logic/pipeline: skip filter when centeringStanislaw Halik