Пример #1
0
    public static void Main()
    {
        var oRes = new ObservationResponse();
        var oReq = new Empty();

        oRes = client.GetObservations(oReq);
        Debug.Log("Observations: " + oRes.Observations);
        var aRes = new ActionsResponse();
        var aReq = new ActionRequest();

        aReq.Actions.Add(1f);
        aReq.Actions.Add(2f);
        aRes = client.SetActions(aReq);
        Debug.Log(aRes.ActionsPerformed);
    }
Пример #2
0
    public static ObservationResponse getObservations()
    {
        var Res = new ObservationResponse();
        var Req = new Empty();

        Res = client.GetObservations(Req);
        return(Res);
    }