diff options
Diffstat (limited to 'logic/pipeline.cpp')
-rw-r--r-- | logic/pipeline.cpp | 4 |
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(); |