Example #1
0
    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);
    }
Example #2
0
    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);
    }
Example #3
0
    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);
    }
Example #4
0
    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);
    }
Example #5
0
    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);
    }
Example #6
0
    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);
    }
Example #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);
    }
Example #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);
    }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_PidControlTypeEnum obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }