diff --git a/Rs.Motion/GugaoPulse/GugaoPulseAxis.cs b/Rs.Motion/GugaoPulse/GugaoPulseAxis.cs index a1c32c8..c2afc87 100644 --- a/Rs.Motion/GugaoPulse/GugaoPulseAxis.cs +++ b/Rs.Motion/GugaoPulse/GugaoPulseAxis.cs @@ -899,7 +899,7 @@ namespace Rs.Motion.GugaoPulse { GetPrfPosition(out currentPos); } - bIsArrived = (currentPos - m_dfCommandPosition) < 0.01; + bIsArrived = (currentPos - m_dfCommandPosition) < 0.05; return ErrorCode.Ok; } @@ -1658,7 +1658,6 @@ namespace Rs.Motion.GugaoPulse value = (short)(1 << (channel - 1)); } - MessageQueue.Instance.Insert(value.ToString()); apiResult = mc_pulse.GT_ComparePulse((short)Config.CardId, (short)(1<<(channel-1)), (short)(dp?1:0), (short)Config.HcmpPulseWidth); if(apiResult != 0) {