ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
my trick is create spinOnce function by calling it, the callback will be called
def spinOnce(self):
r = rospy.Rate(self.rate)
r.sleep()