Skip to main content

NRC_PowerOff()

Servo power off

After successfully calling this function, the servo will be powered off and in a disabled state

Do not call this interface while the robot is in motion, as it may cause the robot to stop suddenly, resulting in violent shaking

Type

int=>Servo power off

Return valueDescription
0The function is called successfully
-101Invalid input parameter
-102The target object does not exist. This typically occurs when the system initialization is incomplete, and calling other functions may return this value
-103The target object is currently in an inoperable state

Parameter Option

None

Sample code

NRC_PowerOff();//Servo power off