getPositionRealtime
Servo.getPositionRealtime(port, [ezbIndex])
Parameters
port | Servo port to use. |
ezbIndex (optional) | Board index of the EZB to use. |
Returns
The actual position of the servo at the specified port as a value between 1 and 180.Description
Returns the position of the servo at the specified port as a value between 1 and 180. This function returns the physical position of the servo. This function only works with servos which accept bi-directional communication (e.g. Dynamixel, LewanSoul).