|
@ -52,6 +52,12 @@ public class DiActPeristalticPump extends DiActuatorBase { |
|
|
this.activeConfig(); |
|
|
this.activeConfig(); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// move by distance |
|
|
|
|
|
public void rotateByDistance(Integer distance) { |
|
|
|
|
|
this.call(DiCommand.MOTOR_EASY_MOVE_BY, distance); |
|
|
|
|
|
this.waitForFinish(); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
// rotate by circle count |
|
|
// rotate by circle count |
|
|
public void rotateByCircleCount( Integer circleCount ) { |
|
|
public void rotateByCircleCount( Integer circleCount ) { |
|
|
Integer targetPos = this.oneCirclePulse * circleCount; |
|
|
Integer targetPos = this.oneCirclePulse * circleCount; |
|
|