2D Distance: Difference between revisions
Jump to navigation
Jump to search
Created page with "Image:TArduino2DDistance.png == Summary == Calculates the Euclidean distance between two points in 2D space from analog inputs. == Description == The 2D Distance component computes the distance between a start point and an end point using their X and Y analog values. This is useful for position tracking, motion detection, or measuring displacement in planar systems. <b>Diagram:</b> Image:TArduino2DDistance.Preview.png == Properties == *'''Enabled''' –..." |
No edit summary |
||
Line 12: | Line 12: | ||
[[Image:TArduino2DDistance.Preview.png]] | [[Image:TArduino2DDistance.Preview.png]] | ||
== Pins == | == Pins == |
Latest revision as of 04:38, 8 September 2025
Summary
Calculates the Euclidean distance between two points in 2D space from analog inputs.
Description
The 2D Distance component computes the distance between a start point and an end point using their X and Y analog values. This is useful for position tracking, motion detection, or measuring displacement in planar systems.
Diagram:
Pins
Input Pins
- Start X (analog) – X-coordinate of the starting point.
- Start Y (analog) – Y-coordinate of the starting point.
- End X (analog) – X-coordinate of the ending point.
- End Y (analog) – Y-coordinate of the ending point.
Output Pins
- Out (analog) – Analog value representing the calculated distance between the start and end points.
Categories
- File:TArduinoAnalogCategory.png Category Analog – Analog signal processing components.
- File:TArduinoMathCategory.png Category Math – Mathematical computations on analog signals.