2D Change Distance

From Visuino
Revision as of 04:46, 8 September 2025 by Visuino (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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