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 edit summary
 
Line 12: Line 12:
[[Image:TArduino2DChangeDistance.Preview.png]]
[[Image:TArduino2DChangeDistance.Preview.png]]


== Properties ==
*'''Enabled''' – Enables or disables the distance calculation. 


== Pins ==
== Pins ==

Latest revision as of 04:46, 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:


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