revert change to single threaed executor

This commit is contained in:
Niklas Halle 2025-07-30 15:08:50 +02:00
parent 5f73198adb
commit f62e64cb56

View file

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