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");
}
@ RSIMotorTypeSERVO
Servo motor.
Definition rsienums.h:1312
See also
MotorTypeSet
Examples
_helpers.cs.