Skip to main content

NRC_PosReachable(NRC_Position target,NRC_SyncPosition syncTarget,bool &result)

Determine whether the point is reachable

This function can judge whether the body point target and the external axis point syncTarget exceed the limit, and the result is returned by "result". If the value of "result" is "true", it means that the point is reachable, and if the value is "false", it means that it is not reachable

Type

int=>Determine whether the point is reachable

Return valueDescription
trueReachable
falseUnreachable

Parameter Option

ParameterTypeDescription
targetNRC_PositionNRC_Position
syncTargetNRC_SyncPositionNRC_SyncPosition
resultboolbool

Sample code

bool result;
NRC_Position target2 = { NRC_MCS, 320,0,580,3.14159,0,0};
NRC_SyncPosition synctarget2 = {NRC_ACS,0.5,1,1.5,2,2.5};
NRC_PosReachable( target2,syncTarget2,result);