修改轴是否到位误差位0.05

master
lhiven 1 year ago
parent 4ca78a5c28
commit 5668cc005d

@ -899,7 +899,7 @@ namespace Rs.Motion.GugaoPulse
{ {
GetPrfPosition(out currentPos); GetPrfPosition(out currentPos);
} }
bIsArrived = (currentPos - m_dfCommandPosition) < 0.01; bIsArrived = (currentPos - m_dfCommandPosition) < 0.05;
return ErrorCode.Ok; return ErrorCode.Ok;
} }
@ -1658,7 +1658,6 @@ namespace Rs.Motion.GugaoPulse
value = (short)(1 << (channel - 1)); 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); apiResult = mc_pulse.GT_ComparePulse((short)Config.CardId, (short)(1<<(channel-1)), (short)(dp?1:0), (short)Config.HcmpPulseWidth);
if(apiResult != 0) if(apiResult != 0)
{ {

Loading…
Cancel
Save