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

Revision history [back]

click to hide/show revision 1
initial version

Hi,

you created a definition of your service interface in a earlier tutorial:

http:// wiki.ros.org/ROS/Tutorials/CreatingMsgAndSrv.

Perhaps you didn't realize because you copied it from another project.

roscp rospy_tutorials AddTwoInts.srv srv/AddTwoInts.srv

The file contains the interface which the function implements.

int64 a
int64 b
---
int64 sum

hope i helped you

cheers Andreas