Re: [ros-users] Passing arguments into service function

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
Delete this message
Reply to this message
Author: User discussions
Date:  
To: User discussions
Subject: Re: [ros-users] Passing arguments into service function
>
>
> 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).

Josh