From 23bfc6ea340995d1cfe3c67547c4e7d67c29f6da Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 3 Jan 2019 23:46:32 +0100 Subject: logic/pipeline: clamp value once more after centering Issue: #843 --- logic/pipeline.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'logic') 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); -- cgit v1.2.3