[ros-users] Passing arguments into service function

Josh Faust jfaust at willowgarage.com
Mon Oct 25 17:54:11 UTC 2010

> And it doesn't work.

First, saying "it doesn't work" is meaningless.  Please include the exact
errors you're getting in the future.

Second, if you look at the API docs, advertiseService needs both the request
and response types (and std_msgs/String is not a service type).

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ros.org/pipermail/ros-users/attachments/20101025/75898d45/attachment-0003.html>

More information about the ros-users mailing list