What is the correct way to structure a service server class

Hello @davef ,

As @roalgoal indicates, you should use rospy.Rate() for this. You can check this post for reference: How the rospy.sleep and how the rospy.Rate() works