rospy service question, how to specify service type
I'm trying to understand the tutorial here for rospy and services: http://ros.org/wiki/ROS/Tutorials/WritingServiceClient(python)) When the code does:
s = rospy.Service('add_two_ints', AddTwoInts, handle_add_two_ints)
I dont see how AddTwoInts is specified in the example code. I have a vague understanding that it should be an object storing all the data from AddTwoInts.srv, i dont know if thats correct?
But in python, how do I actually load the contents of AddTwoInts.srv into the object AddTwoInts?