コード例 #1
0
 public ArTransform(ArPose pose) : this(AriaCSPINVOKE.new_ArTransform__SWIG_1(ArPose.getCPtr(pose)), true)
 {
     if (AriaCSPINVOKE.SWIGPendingException.Pending)
     {
         throw AriaCSPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #2
0
 public void newData(int range, ArPose robotPose, ArPose encoderPose, ArTransform trans, uint counter, ArTime timeTaken, bool ignoreThisReading, int extraInt)
 {
     AriaCSPINVOKE.ArSensorReading_newData__SWIG_0(swigCPtr, range, ArPose.getCPtr(robotPose), ArPose.getCPtr(encoderPose), ArTransform.getCPtr(trans), counter, ArTime.getCPtr(timeTaken), ignoreThisReading, extraInt);
     if (AriaCSPINVOKE.SWIGPendingException.Pending)
     {
         throw AriaCSPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #3
0
 public void setGoal(ArPose goal, bool backwards)
 {
     AriaCSPINVOKE.ArActionGotoStraight_setGoal__SWIG_1(swigCPtr, ArPose.getCPtr(goal), backwards);
     if (AriaCSPINVOKE.SWIGPendingException.Pending)
     {
         throw AriaCSPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #4
0
 public void setEncoderGoal(ArPose encoderGoal)
 {
     AriaCSPINVOKE.ArActionGotoStraight_setEncoderGoal__SWIG_2(swigCPtr, ArPose.getCPtr(encoderGoal));
     if (AriaCSPINVOKE.SWIGPendingException.Pending)
     {
         throw AriaCSPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #5
0
 public void setEncoderGoal(ArPose encoderGoal, bool backwards, bool justDistance)
 {
     AriaCSPINVOKE.ArActionGotoStraight_setEncoderGoal__SWIG_0(swigCPtr, ArPose.getCPtr(encoderGoal), backwards, justDistance);
     if (AriaCSPINVOKE.SWIGPendingException.Pending)
     {
         throw AriaCSPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #6
0
 public void setFromTo(ArPose from, ArPose to)
 {
     AriaCSPINVOKE.ArMapObject_setFromTo(swigCPtr, ArPose.getCPtr(from), ArPose.getCPtr(to));
     if (AriaCSPINVOKE.SWIGPendingException.Pending)
     {
         throw AriaCSPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #7
0
 public void setPose(ArPose p)
 {
     AriaCSPINVOKE.ArMapObject_setPose(swigCPtr, ArPose.getCPtr(p));
     if (AriaCSPINVOKE.SWIGPendingException.Pending)
     {
         throw AriaCSPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #8
0
 public void newData(int sx, int sy, ArPose robotPose, ArPose encoderPose, ArTransform trans, uint counter, ArTime timeTaken)
 {
     AriaCSPINVOKE.ArSensorReading_newData__SWIG_5(swigCPtr, sx, sy, ArPose.getCPtr(robotPose), ArPose.getCPtr(encoderPose), ArTransform.getCPtr(trans), counter, ArTime.getCPtr(timeTaken));
     if (AriaCSPINVOKE.SWIGPendingException.Pending)
     {
         throw AriaCSPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #9
0
ファイル: ArMap.cs プロジェクト: NguyenQuocMy1604/my_ubuntu
 public virtual void offsetMapContents(ArPose offset)
 {
     AriaCSPINVOKE.ArMap_offsetMapContents(swigCPtr, ArPose.getCPtr(offset));
     if (AriaCSPINVOKE.SWIGPendingException.Pending)
     {
         throw AriaCSPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #10
0
ファイル: ArLaser.cs プロジェクト: NguyenQuocMy1604/my_ubuntu
 public void setSensorPosition(ArPose pose)
 {
     AriaCSPINVOKE.ArLaser_setSensorPosition__SWIG_3(swigCPtr, ArPose.getCPtr(pose));
     if (AriaCSPINVOKE.SWIGPendingException.Pending)
     {
         throw AriaCSPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #11
0
 public void setGoal(ArPose goal)
 {
     AriaCSPINVOKE.ArActionGoto_setGoal(swigCPtr, ArPose.getCPtr(goal));
     if (AriaCSPINVOKE.SWIGPendingException.Pending)
     {
         throw AriaCSPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #12
0
 public void setTransform(ArPose pose1, ArPose pose2)
 {
     AriaCSPINVOKE.ArTransform_setTransform__SWIG_1(swigCPtr, ArPose.getCPtr(pose1), ArPose.getCPtr(pose2));
     if (AriaCSPINVOKE.SWIGPendingException.Pending)
     {
         throw AriaCSPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #13
0
 public void setEncoderPoseTaken(ArPose p)
 {
     AriaCSPINVOKE.ArRangeBuffer_setEncoderPoseTaken(swigCPtr, ArPose.getCPtr(p));
     if (AriaCSPINVOKE.SWIGPendingException.Pending)
     {
         throw AriaCSPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #14
0
 public virtual void setPose(ArPose position)
 {
     AriaCSPINVOKE.ArPose_setPose__SWIG_2(swigCPtr, ArPose.getCPtr(position));
     if (AriaCSPINVOKE.SWIGPendingException.Pending)
     {
         throw AriaCSPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #15
0
 public void newEndPoints(ArPose pt1, ArPose pt2)
 {
     AriaCSPINVOKE.ArLineSegment_newEndPoints__SWIG_1(swigCPtr, ArPose.getCPtr(pt1), ArPose.getCPtr(pt2));
     if (AriaCSPINVOKE.SWIGPendingException.Pending)
     {
         throw AriaCSPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #16
0
        public virtual double findAngleTo(ArPose position)
        {
            double ret = AriaCSPINVOKE.ArPose_findAngleTo(swigCPtr, ArPose.getCPtr(position));

            if (AriaCSPINVOKE.SWIGPendingException.Pending)
            {
                throw AriaCSPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #17
0
        public virtual double getPerpSquaredDist(ArPose pose)
        {
            double ret = AriaCSPINVOKE.ArLineSegment_getPerpSquaredDist(swigCPtr, ArPose.getCPtr(pose));

            if (AriaCSPINVOKE.SWIGPendingException.Pending)
            {
                throw AriaCSPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #18
0
        public bool isPointInside(ArPose p)
        {
            bool ret = AriaCSPINVOKE.ArMapObject_isPointInside(swigCPtr, ArPose.getCPtr(p));

            if (AriaCSPINVOKE.SWIGPendingException.Pending)
            {
                throw AriaCSPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #19
0
ファイル: ArLine.cs プロジェクト: NguyenQuocMy1604/my_ubuntu
        public bool getPerpPoint(ArPose pose, ArPose perpPoint)
        {
            bool ret = AriaCSPINVOKE.ArLine_getPerpPoint(swigCPtr, ArPose.getCPtr(pose), ArPose.getCPtr(perpPoint));

            if (AriaCSPINVOKE.SWIGPendingException.Pending)
            {
                throw AriaCSPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #20
0
        public static bool compareY(ArPose p1, ArPose p2)
        {
            bool ret = AriaCSPINVOKE.ArPose_compareY(ArPose.getCPtr(p1), ArPose.getCPtr(p2));

            if (AriaCSPINVOKE.SWIGPendingException.Pending)
            {
                throw AriaCSPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #21
0
        public static double distanceBetween(ArPose pose1, ArPose pose2)
        {
            double ret = AriaCSPINVOKE.ArPose_distanceBetween(ArPose.getCPtr(pose1), ArPose.getCPtr(pose2));

            if (AriaCSPINVOKE.SWIGPendingException.Pending)
            {
                throw AriaCSPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #22
0
        public double getDistToLine(ArPose pose)
        {
            double ret = AriaCSPINVOKE.ArLineSegment_getDistToLine(swigCPtr, ArPose.getCPtr(pose));

            if (AriaCSPINVOKE.SWIGPendingException.Pending)
            {
                throw AriaCSPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #23
0
ファイル: ArArg.cs プロジェクト: NguyenQuocMy1604/my_ubuntu
        public bool setPose(ArPose pose)
        {
            bool ret = AriaCSPINVOKE.ArArg_setPose(swigCPtr, ArPose.getCPtr(pose));

            if (AriaCSPINVOKE.SWIGPendingException.Pending)
            {
                throw AriaCSPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #24
0
 public ArActionGoto(string name, ArPose goal, double closeDist, double speed) : this(AriaCSPINVOKE.new_ArActionGoto__SWIG_2(name, ArPose.getCPtr(goal), closeDist, speed), true)
 {
     if (AriaCSPINVOKE.SWIGPendingException.Pending)
     {
         throw AriaCSPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #25
0
 public ArActionGoto(string name, ArPose goal) : this(AriaCSPINVOKE.new_ArActionGoto__SWIG_4(name, ArPose.getCPtr(goal)), true)
 {
     if (AriaCSPINVOKE.SWIGPendingException.Pending)
     {
         throw AriaCSPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #26
0
        public bool linePointIsInSegment(ArPose pose)
        {
            bool ret = AriaCSPINVOKE.ArLineSegment_linePointIsInSegment(swigCPtr, ArPose.getCPtr(pose));

            return(ret);
        }
コード例 #27
0
 public virtual void setOriginLatLongAlt(bool hasOriginLatLong, ArPose originLatLong, double altitude)
 {
     AriaCSPINVOKE.ArMapSupplementInterface_setOriginLatLongAlt__SWIG_1(swigCPtr, hasOriginLatLong, ArPose.getCPtr(originLatLong), altitude);
     if (AriaCSPINVOKE.SWIGPendingException.Pending)
     {
         throw AriaCSPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #28
0
        public bool getPerpPoint(ArPose pose, ArPose perpPoint)
        {
            bool ret = AriaCSPINVOKE.ArLineSegment_getPerpPoint(swigCPtr, ArPose.getCPtr(pose), ArPose.getCPtr(perpPoint));

            return(ret);
        }
コード例 #29
0
        public bool intersects(ArLineSegment line, ArPose pose)
        {
            bool ret = AriaCSPINVOKE.ArLineSegment_intersects__SWIG_1(swigCPtr, ArLineSegment.getCPtr(line), ArPose.getCPtr(pose));

            return(ret);
        }
コード例 #30
0
 public ArLineSegment(ArPose pose1, ArPose pose2) : this(AriaCSPINVOKE.new_ArLineSegment(ArPose.getCPtr(pose1), ArPose.getCPtr(pose2)), true)
 {
     if (AriaCSPINVOKE.SWIGPendingException.Pending)
     {
         throw AriaCSPINVOKE.SWIGPendingException.Retrieve();
     }
 }