Skip to main content

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 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

ParameterTypeDescription
axisNumintThe number of the axis to be set, parameter range: 1 <= axisNum <= total number of robot axes
maxSpeeddoubleThe maximum speed that the axis can reach when jogging, unit: °/s
accdoubleThe 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