APIs, concepts, guides, and more

◆ MotorTypeGet()

RSIMotorType MotorTypeGet ( )
Description:
MotorTypeGet returns the motor type.
Returns
(RSIMotorType) Motor Type.
Sample Code:
if (axis->MotorTypeGet() == RSIMotorTypeSERVO) {
printf("This is a servo motor\n");
}
See also
MotorTypeSet