Function rclcpp::spin_all(rclcpp::node_interfaces::NodeBaseInterface::SharedPtr, std::chrono::nanoseconds)

Function Documentation

void rclcpp::spin_all(rclcpp::node_interfaces::NodeBaseInterface::SharedPtr node_ptr, std::chrono::nanoseconds max_duration)

Create a default single-threaded executor and execute all available work exhaustively.

Parameters:

node_ptr[in] Shared pointer to the node to spin.