Comparing posititions
ArneVandenbroucke
Belgium ✭
Hi there
I am working on a project and need to compare two positions, but can't figure out how to do it.
Thanks in advance!
I am working on a project and need to compare two positions, but can't figure out how to do it.
Thanks in advance!
Tagged:
Comments

It looks like it might work. Single step forward one line at a time so you can see the values and the evaluation of the expressions.Lee Justice

lemster68 said:It looks like it might work. Single step forward one line at a time so you can see the values and the evaluation of the expressions.

Well, if even one number is mismatched five decimal places over I suppose it will evaluate to NOT TRUE. Try instead the Dist() function and use a value that is very small, like 0.5mm.Lee Justice

lemster68 said:Well, if even one number is mismatched five decimal places over I suppose it will evaluate to NOT TRUE. Try instead the Dist() function and use a value that is very small, like 0.5mm.
Is it Instruction  Mathematics  Distance? 
It worked! Thank you!

Hello,Be careful, Distance only give you the distance. It doesn't take care of orientation neither configuration.
Categories
 9.8K All Categories
 5K RobotStudio
 318 UpFeed
 6 Tutorials
 270 PowerPacs
 401 RobotStudio S4
 3 RobotStudio AR Viewer
 578 RAPID Programming
 9 Wizard Easy Programming
 2.5K Robot Controller
 163 IRC5
 23 OmniCore
 5 RCS (Realistic Controller Simulation)
 1.7K Developer Tools
 224 ScreenMaker
 86 Collaborative Robots