I have an 16X RC Servo Phidget (RCC1000_0), board version 110.
I use the board to move a servo slowly (5 °/second). I do something like this:
[*] phidget.getPosition(), returns 0.0°
[*] phidget.setVelocityLimit(5.0)
[*] phidget.setTargetPosition(180.0)
How can I stop the servo in the middle of its motion?
Originally, I wanted to do something like this:
Code: Select all
phidget.setTargetPosition(phidget.getPosition())
Aside
When the servo's current position != target position, and it's velocity limit is 0.0 °/second, the servo's getIsMoving() method still returns True. I think, since it's not moving, getIsMoving() should return False.