RobotStudio event

Quaternion diff operation "q1 == q2 +- tol"

Hello.
Is there any way in RAPID to compare quaternions and get an absolute value that means something like :
"Angle in radians between q1 and q2"

I need to test if a the current position is equal a specific position in RAPID, testing both xyz and orientation. Basically I need to make the program test if the position and orientation is so close that it in real life does not matter if I ignore the position and orientation mismatch.

Best Regards
Jes


Comments