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 1571
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...
9 year 3 2512
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 3563
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...
12 year 15 4398
Pixels to Centimeters
I want to know the position of some robots; I have a static overhead camera and use RoboRealm to acquire position.
15 year 4 13745
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...
15 year 5 4783
Calculating distance
Hello, Was wondering what is the best module to be used in order to calculate the distance from the...
15 year 4 5437