Forum Migration Notice
We're transitioning to a more modern community platform by the end of this year. Learn about the upcoming changes and what to expect.

compare robot axis value

blueberry
blueberry
edited March 2014 in Robot Controller

Is there a way to check individual axis angle?  I like to check robot axis 2 angle before moving robot into another position

VAR jointtarget pCurrentRobt;

pCurrentRobt := CJointT();

this is where I am stuck

IF axis 2 is greater than 90 degree, don't move robot

 

Comments