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.
Comparing posititions
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:
0
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 Justice0
-
The values are the same when i compare them doing step by step, I have no clue why it's skipping the If statement.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.
0 -
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 Justice0
-
Where can i find this function?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?0 -
It worked! Thank you!0
-
Hello,Be careful, Distance only give you the distance. It doesn't take care of orientation neither configuration.☑️2024 - RobotStudio® User Group0
Categories
- All Categories
- 5.6K RobotStudio
- 401 UpFeed
- 21 Tutorials
- 15 RobotApps
- 306 PowerPacs
- 407 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.9K Robot Controller
- 365 IRC5
- 84 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 854 RAPID Programming
- 37 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 110 Collaborative Robots
- 5 Job listings

