Function rclcpp::spin(rclcpp::node_interfaces::NodeBaseInterface::SharedPtr)
Defined in File executors.hpp
Function Documentation
-
void rclcpp::spin(rclcpp::node_interfaces::NodeBaseInterface::SharedPtr node_ptr)
Create a default single-threaded executor and spin the specified node.
- Parameters:
node_ptr – [in] Shared pointer to the node to spin.