Fix compilation on Jazzy (#37)

main
Tim Clephas 2024-07-02 18:20:57 +02:00 committed by GitHub
parent e40e857b6a
commit 9c121aebe5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -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