2D Change Distance: Difference between revisions

From Visuino
Jump to navigation Jump to search
Created page with "Image: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. <b>Diagram:</b> Image:TArduino2DChangeDistance.Preview..."
(No difference)

Revision as of 04:40, 8 September 2025

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:

Properties

  • Enabled – Enables or disables the distance calculation.

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