summaryrefslogtreecommitdiffhomepage
path: root/logic/pipeline.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-02-22 15:33:46 +0100
committerStanislaw Halik <sthalik@misaki.pl>2019-02-22 15:33:46 +0100
commit20e0e96d324603fa00b1d4a3654210904ab164ea (patch)
tree0ec9714208fd11eee74a49c271116c38106ec17d /logic/pipeline.cpp
parentf5c005d713cdc1c4741f675f2ef939567a23b6f1 (diff)
cosmetic fixes only
Diffstat (limited to 'logic/pipeline.cpp')
-rw-r--r--logic/pipeline.cpp4
1 files changed, 3 insertions, 1 deletions
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<ns>();
t.start();