From ed6209939cfc94b2cdfb534c80f5e2f97eb73333 Mon Sep 17 00:00:00 2001 From: Niklas Halle Date: Tue, 5 Aug 2025 15:35:50 +0200 Subject: [PATCH] explicitly 2 threaded multi ros2 simple --- src/full_topology/src/simple.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/full_topology/src/simple.cpp b/src/full_topology/src/simple.cpp index 9a1146a..8cf4328 100644 --- a/src/full_topology/src/simple.cpp +++ b/src/full_topology/src/simple.cpp @@ -98,7 +98,7 @@ int main(int argc, char **argv) #ifdef MULTI_THREADED // Create a multi-threaded executor to handle all nodes std::cout << "multi threaded ros default" << std::endl; - rclcpp::executors::MultiThreadedExecutor executor; + rclcpp::executors::MultiThreadedExecutor executor{{}, 2}; #else // Create a single-threaded executor to handle all nodes std::cout << "single threaded ros default" << std::endl;