ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

ros::spin() blocks until the node is killed with a signal (ctrl-C, segfault, etc) or through rosnode kill.

While ros::spin() is running, it services all of the callbacks for all topics, services, etc that are not explicitly handled by a separate spinner.