NRC_PowerOn()
Servo power on
Before calling this function, please switch the servo ready status to servo ready, you can call the NRC_SetServoReadyStatus(int status) function to switch the servo status
After successfully calling this function, the servo will be enabled and powered on. Please pay attention to safety
Type
int=>Servo power on
Return value | Description |
---|---|
0 | The function is called successfully |
-101 | Invalid input parameter |
-102 | The target object does not exist. This typically occurs when the system initialization is incomplete, and calling other functions may return this value |
-103 | The target object is currently in an inoperable state |
Parameter Option
None
Sample code
NRC_PowerOn();//Servo power on