Advertise the service. This turns the Service object from a client into a server. The callback will be called with every request that's made on this service.
||This works similarly to the callback for a C++ service and should take the following params: * request - the service request * response - an empty dictionary. Take care not to overwrite this. Instead, only modify the values within. It should return true if the service has finished successfully, i.e. without any fatal errors.|
callService(request, callback, failedCallback)
Calls the service. Returns the service response in the callback. Does nothing if this service is currently advertised.
||the ROSLIB.ServiceRequest to send|
||function with params: * response - the response from the service request|
||the callback function when the service call failed (optional). Params: * error - the error message reported by ROS|