Fix compilation on Jazzy (#37)
parent
e40e857b6a
commit
9c121aebe5
|
@ -127,7 +127,7 @@ Explore::Explore()
|
||||||
std::chrono::milliseconds((uint16_t)(1000.0 / planner_frequency_)),
|
std::chrono::milliseconds((uint16_t)(1000.0 / planner_frequency_)),
|
||||||
[this]() { makePlan(); });
|
[this]() { makePlan(); });
|
||||||
// Start exploration right away
|
// Start exploration right away
|
||||||
exploring_timer_->execute_callback();
|
makePlan();
|
||||||
}
|
}
|
||||||
|
|
||||||
Explore::~Explore()
|
Explore::~Explore()
|
||||||
|
@ -411,7 +411,7 @@ void Explore::resume()
|
||||||
// Reactivate the timer
|
// Reactivate the timer
|
||||||
exploring_timer_->reset();
|
exploring_timer_->reset();
|
||||||
// Resume immediately
|
// Resume immediately
|
||||||
exploring_timer_->execute_callback();
|
makePlan();
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace explore
|
} // namespace explore
|
||||||
|
|
Loading…
Reference in New Issue