From 9c121aebe52d28f3846a1cbb6ebb017cc85f9e53 Mon Sep 17 00:00:00 2001 From: Tim Clephas Date: Tue, 2 Jul 2024 18:20:57 +0200 Subject: [PATCH] Fix compilation on Jazzy (#37) --- explore/src/explore.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/explore/src/explore.cpp b/explore/src/explore.cpp index acdbc91..86e97d3 100644 --- a/explore/src/explore.cpp +++ b/explore/src/explore.cpp @@ -127,7 +127,7 @@ Explore::Explore() std::chrono::milliseconds((uint16_t)(1000.0 / planner_frequency_)), [this]() { makePlan(); }); // Start exploration right away - exploring_timer_->execute_callback(); + makePlan(); } Explore::~Explore() @@ -411,7 +411,7 @@ void Explore::resume() // Reactivate the timer exploring_timer_->reset(); // Resume immediately - exploring_timer_->execute_callback(); + makePlan(); } } // namespace explore