优化轴是否运动的到位的bug

master
lhiven 1 year ago
parent e38dffce30
commit 64954cfba3

@ -899,7 +899,7 @@ namespace Rs.Motion.GugaoPulse
{ {
GetPrfPosition(out currentPos); GetPrfPosition(out currentPos);
} }
bIsArrived = (currentPos - m_dfCommandPosition) < 0.05; bIsArrived = Math.Abs((currentPos - m_dfCommandPosition)) < 0.05;
return ErrorCode.Ok; return ErrorCode.Ok;
} }

Loading…
Cancel
Save