コード例 #1
0
ファイル: IPidControl.cs プロジェクト: FromGold/Smart_ELF
    public virtual bool setPidErrorLimit(SWIGTYPE_p_PidControlTypeEnum pidtype, int j, double limit)
    {
        bool ret = yarpPINVOKE.IPidControl_setPidErrorLimit(swigCPtr, SWIGTYPE_p_PidControlTypeEnum.getCPtr(pidtype), j, limit);

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
コード例 #2
0
ファイル: IPidControl.cs プロジェクト: FromGold/Smart_ELF
    public virtual bool isPidEnabled(SWIGTYPE_p_PidControlTypeEnum pidtype, int j, SWIGTYPE_p_bool enabled)
    {
        bool ret = yarpPINVOKE.IPidControl_isPidEnabled(swigCPtr, SWIGTYPE_p_PidControlTypeEnum.getCPtr(pidtype), j, SWIGTYPE_p_bool.getCPtr(enabled));

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
コード例 #3
0
ファイル: IPidControl.cs プロジェクト: FromGold/Smart_ELF
    public virtual bool setPidReferences(SWIGTYPE_p_PidControlTypeEnum pidtype, SWIGTYPE_p_double refs)
    {
        bool ret = yarpPINVOKE.IPidControl_setPidReferences(swigCPtr, SWIGTYPE_p_PidControlTypeEnum.getCPtr(pidtype), SWIGTYPE_p_double.getCPtr(refs));

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
コード例 #4
0
ファイル: IPidControl.cs プロジェクト: FromGold/Smart_ELF
    public virtual bool disablePid(SWIGTYPE_p_PidControlTypeEnum pidtype, int j)
    {
        bool ret = yarpPINVOKE.IPidControl_disablePid(swigCPtr, SWIGTYPE_p_PidControlTypeEnum.getCPtr(pidtype), j);

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
コード例 #5
0
ファイル: IPidControl.cs プロジェクト: FromGold/Smart_ELF
    public virtual bool getPids(SWIGTYPE_p_PidControlTypeEnum pidtype, Pid pids)
    {
        bool ret = yarpPINVOKE.IPidControl_getPids(swigCPtr, SWIGTYPE_p_PidControlTypeEnum.getCPtr(pidtype), Pid.getCPtr(pids));

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
コード例 #6
0
ファイル: IPidControl.cs プロジェクト: FromGold/Smart_ELF
    public virtual bool getPidOutput(SWIGTYPE_p_PidControlTypeEnum pidtype, int j, SWIGTYPE_p_double arg2)
    {
        bool ret = yarpPINVOKE.IPidControl_getPidOutput(swigCPtr, SWIGTYPE_p_PidControlTypeEnum.getCPtr(pidtype), j, SWIGTYPE_p_double.getCPtr(arg2));

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
コード例 #7
0
    public virtual bool setPidReferenceRaw(SWIGTYPE_p_PidControlTypeEnum pidtype, int j, double arg2)
    {
        bool ret = yarpPINVOKE.IPidControlRaw_setPidReferenceRaw(swigCPtr, SWIGTYPE_p_PidControlTypeEnum.getCPtr(pidtype), j, arg2);

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
コード例 #8
0
    public virtual bool getPidErrorLimitsRaw(SWIGTYPE_p_PidControlTypeEnum pidtype, SWIGTYPE_p_double limits)
    {
        bool ret = yarpPINVOKE.IPidControlRaw_getPidErrorLimitsRaw(swigCPtr, SWIGTYPE_p_PidControlTypeEnum.getCPtr(pidtype), SWIGTYPE_p_double.getCPtr(limits));

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }