Example #1
0
        /// <summary>
        /// Add a arc to controller buffer.
        /// </summary>
        /// <param name="arcInfo"></param>
        public void AddArc(ArcInfo arcInfo)
        {
            var target = ConvertToPulse(arcInfo);

            _mc.AddArcXYC(2, (short)_coordinateId, target.X, target.Y,
                          target.ArcCenterToXStartOffset, target.ArcCenterToYStartOffset,
                          target.Velocity, target.Acceleration);
        }