What does rclcpp::spin actually do ? What is "spin node" mean?
Hello guys, i got a trouble of rclcpp::spin. The rclcpp Namespace Reference tell that spin() will spin the node. But with the code in create a publisher in link. Does the spin loop for all the scope of the constructor body, which means the publisher_ and timer_ variable will be assigned so much time? Or it just spin(loop) the call back function in timer_? or what is it actually happen. I want to know the explain of mechanism of this code. Thank you.
Sorry for my english skill.