2D Distance
Jump to navigation
Jump to search
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.