revert change to single threaed executor
This commit is contained in:
parent
5f73198adb
commit
f62e64cb56
1 changed files with 1 additions and 4 deletions
|
@ -38,10 +38,7 @@ void TimedExecutor::spin() {
|
|||
}
|
||||
RCLCPP_SCOPE_EXIT(this->spinning.store(false););
|
||||
|
||||
using namespace std::chrono_literals;
|
||||
std::chrono::time_point start = std::chrono::steady_clock::now();
|
||||
|
||||
while (rclcpp::ok(this->context_) && spinning.load() && (std::chrono::steady_clock::now() - start) <= 5s) {
|
||||
while (rclcpp::ok(this->context_) && spinning.load()) {
|
||||
rclcpp::AnyExecutable any_executable;
|
||||
// std::cout<<memory_strategy_->number_of_ready_timers()<<std::endl;
|
||||
// std::cout << "spinning " << this->name << std::endl;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue