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

Revision history [back]

You can always use the python "break" keyword to break out of any loop even if the loop condition is still true.

See more about it in python tutorial.

Ping me if it solved your problem.