NRC_GetRobotRunStatus()
Get the current robot motion status
Type
int=>Return the current robot motion status
Return value | Description |
---|---|
0 | The robot is stopped |
1 | The robot is in motion |
Parameter Option
None
Sample code
int runStatus = NRC_GetRobotRunStatus();//Get the current robot motion status and assign it to runStatus