loading

Calculate Distance

The calculate distance module provides a way to easily calculate the distance from two points. The two points are assumed to already be accessible as RoboRealm variables. The result will be placed into the result variable.

Interface

Instructions

1. Decided on which calculate type you'd like to perform. Between points means the distance from two points, Between Point and Line means the distance from a point to a line (perpendicular distance to that line).

2. Specify the variables that contain the start and stop points of the line and/or point to measure.

3. Enter the variable that will contain the calculation result. The "Calculate_Distance" will be used if nothing is specified.

Example


Distance between two detected holes in a part

 Download the robofile used to generate this example.

See Also


Calculate Angle


 New Post 

Calculate_Distance Related Forum PostsLast postPostsViews
Problems with Calculate_Distance and If_Statement
I am surprised that I'm having difficulty with what seem to be very simple modules.  The problems are with the Calcula...
2 year 2 1137
Measure the distance between a hole and a line
Could you outline the steps that would need to be taken, if possible, to measure the perpendicular distance from the center of t...
8 year 3 2338
Calculate_distance
Hi. I new in roborealm, and I have a problem. How can I calculate the distance in meters in the det...
11 year 4 3388
read the distance among two colors
hi, I write you from Italy, I apologize me of my a little clear English. Would I like to know if it is possible t...
11 year 15 4061
Pixels to Centimeters
I want to know the position of some robots; I have a static overhead camera and use RoboRealm to acquire position.
14 year 4 13224
want to calculate distance between 2 point
how can i calculate a distance between 2 point.example i click the mouse at a and then click the mouse at b..then the distance a...
14 year 5 4545
Calculating distance
Hello, Was wondering what is the best module to be used in order to calculate the distance from the...
15 year 4 5187