NRC_SetJogJointSpeedConfig(int axisNum, double maxSpeed, double acc)
Set joint jog speed
Please set this parameter when the servo is stopped or in a ready state
Type
int =>Set joint jog speed
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
Parameter | Type | Description |
---|---|---|
axisNum | int | The number of the axis to be set, parameter range: 1 <= axisNum <= total number of robot axes |
maxSpeed | double | The maximum speed that the axis can reach when jogging, unit: °/s |
acc | double | The acceleration of the axis when jogging, unit: °/s² |
Sample code
for (int i=1; i<7; i++)
{
NRC_SetJogJointSpeedConfig(i, 40, 800);
}//Set joint jog speed