We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ecc1fc commit 462acecCopy full SHA for 462acec
src/web_video_server_node.cpp
@@ -37,7 +37,7 @@ int main(int argc, char ** argv)
37
auto node = std::make_shared<web_video_server::WebVideoServer>(rclcpp::NodeOptions());
38
39
node->declare_parameter("ros_threads", 2);
40
- int ros_threads;
+ int ros_threads{2};
41
node->get_parameter("ros_threads", ros_threads);
42
rclcpp::executors::MultiThreadedExecutor spinner(rclcpp::ExecutorOptions(), ros_threads);
43
spinner.add_node(node);
0 commit comments