Error Message for failed Service Call
Hi there,
i've already looked into the roswiki and answers. Unfortunately answer.ros search gave me quite a lot of finding for Error and Service... :)
my question is related to failed service calls. Usually a service call returne true. But what if a service call fails. For instance the parameters sent where not valid or some function within the service throws an error.
In this case i would just return a boolean false within the service call and if i call this service by "rosservice call /service param1 param2" in the shell i get and error message:
ERROR: service [/service] responded with an error:
However I haven't seen any way to add an message to failed service call? Is there any way to do this?
cheers Mimax