Ejemplo n.º 1
0
        private static bool ServiceResponseHandler(std_srvs.TriggerRequest arguments, out std_srvs.TriggerResponse result)

        {
            result = new std_srvs.TriggerResponse(true, "service response message");

            return(true);
        }
 private void Success(std_srvs.TriggerResponse resp)
 {
     Debug.Log(resp.success);
 }
 private void HasPlan(std_srvs.TriggerResponse resp)
 {
     _hasPlan = resp.success;
     Debug.Log(resp.message);
 }