summaryrefslogtreecommitdiffhomepage
path: root/logic
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-01-03 23:46:32 +0100
committerStanislaw Halik <sthalik@misaki.pl>2019-01-16 07:48:20 +0100
commit23bfc6ea340995d1cfe3c67547c4e7d67c29f6da (patch)
tree60684f19317e5dedfc663840d04a447ff190febc /logic
parenteb1ad39023671ec6980f8631179452423de15e90 (diff)
logic/pipeline: clamp value once more after centering
Issue: #843
Diffstat (limited to 'logic')
-rw-r--r--logic/pipeline.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/logic/pipeline.cpp b/logic/pipeline.cpp
index e174178c..67669732 100644
--- a/logic/pipeline.cpp
+++ b/logic/pipeline.cpp
@@ -415,7 +415,7 @@ void pipeline::logic()
{
maybe_enable_center_on_tracking_started();
maybe_set_center_pose(value, own_center_logic);
- value = apply_center(value);
+ value = clamp_value(apply_center(value));
// "corrected" - after various transformations to account for camera position
logger.write_pose(value);