2D Change Distance
Jump to navigation
Jump to search
File:TArduino2DChangeDistance.png
Summary
Calculates the distance change of a point in 2D space based on analog X and Y inputs.
Description
The 2D Change Distance component computes the Euclidean distance traveled by a point from its previous position using the current X and Y analog inputs. This is useful for measuring motion, tracking displacement, or detecting movement in planar systems.
Diagram:
Pins
Input Pins
- X (analog) – Current X-coordinate of the point.
- Y (analog) – Current Y-coordinate of the point.
Output Pins
- Out (analog) – Analog value representing the distance change since the last measurement.
Categories
- File:TArduinoAnalogCategory.png Category Analog – Analog signal processing components.
- File:TArduinoMathCategory.png Category Math – Mathematical computations on analog signals.