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

ctrl-C is the standard way to terminate a command-line program. you should try to respect that, not circumvent it.

I would probably change your while 1: loop to while not rospy.is_shutdown