rospy/Troubleshooting - ROS Wiki
wiki.ros.org/rospy/Troubleshootingwhile not rospy.is_shutdown(): pub.publish(msg) rospy.sleep(1.0) If you don't need to publish anything (e.g. your Node just subscribes or provides a Service), you can instead just call rospy.spin(), which does nothing, except for waiting for an exit signal. Import errors. Error: No module named roslib
rospy - ROS Wiki
wiki.ros.org/rospyrospy is a pure Python client library for ROS. The rospy client API enables Python programmers to quickly interface with ROS Topics, Services, and Parameters.The design of rospy favors implementation speed (i.e. developer time) over runtime performance so that algorithms can be quickly prototyped and tested within ROS.
rospy/Troubleshooting - ROS Wiki
wiki.ros.org › rospy › Troubleshootingwhile not rospy.is_shutdown(): pub.publish(msg) rospy.sleep(1.0) If you don't need to publish anything (e.g. your Node just subscribes or provides a Service), you can instead just call rospy.spin(), which does nothing, except for waiting for an exit signal. Import errors. Error: No module named roslib