From 20e0e96d324603fa00b1d4a3654210904ab164ea Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 22 Feb 2019 15:33:46 +0100 Subject: cosmetic fixes only --- logic/pipeline.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'logic/pipeline.cpp') diff --git a/logic/pipeline.cpp b/logic/pipeline.cpp index bc8026ed..255f63bc 100644 --- a/logic/pipeline.cpp +++ b/logic/pipeline.cpp @@ -285,7 +285,7 @@ void pipeline::maybe_set_center_pose(const Pose& value, bool own_center_logic) libs.pFilter->center(); if (own_center_logic) - center = {}; + center = Pose(); else center = value; } @@ -521,6 +521,8 @@ void pipeline::run() { logic(); + using namespace time_units; + constexpr ns const_sleep_ms(ms{4}); const ns elapsed_nsecs = t.elapsed(); t.start(); -- cgit v1.2.3