ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Not sure from what you said why you can't call spin? I believe you can also use instead of spinOnce you can use use equivalent of ros python r = rospy.Rate(rate in hz) and then in the loop r.sleep()