Class: Service

Service

new Service()

A ROS service client.
Source:

Methods

callService(request, callback, failedCallback)

Calls the service. Returns the service response in the callback.
Parameters:
Name Type Description
request the ROSLIB.ServiceRequest to send
callback function with params: * response - the response from the service request
failedCallback the callback function when the service call failed (optional). Params: * error - the error message reported by ROS
Source: