Quaternion Value

From Visuino
Revision as of 07:00, 16 August 2025 by Visuino (talk | contribs) (Created page with "Image:TArduinoQuaternionValue.png == Summary == Generates a configurable Quaternion value for use in 3D orientation, rotation, or spatial calculations. == Description == The Quaternion Value component outputs a quaternion defined by its real and imaginary (X, Y, Z) parts. Values can be provided through Elements, allowing flexible update modes: Set Value elements update the quaternion when a Clock input is triggered. Set Value State elements update the quaternion...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

File:TArduinoQuaternionValue.png

Summary

Generates a configurable Quaternion value for use in 3D orientation, rotation, or spatial calculations.

Description

The Quaternion Value component outputs a quaternion defined by its real and imaginary (X, Y, Z) parts. Values can be provided through Elements, allowing flexible update modes:

Set Value elements update the quaternion when a Clock input is triggered.

Set Value State elements update the quaternion continuously based on a Boolean input state.

This makes the component versatile for applications such as fixed orientation reference, clock-triggered updates, or conditional quaternion switching.

Quaternions are widely used in 3D graphics, robotics, and sensor fusion for smooth and stable rotation representation without gimbal lock.

Diagram:

Categories

Properties

  • Elements – Configure update behavior:

Set Value – Updates quaternion values on Clock.

Set Value State – Updates quaternion values depending on a Boolean state.

  • Value – Defines the quaternion components:

Imaginary – X, Y, Z parts.

Real – Scalar part.

Pins

Input Pins

  • Clock – Triggers update for Set Value elements.

Output Pins

  • Out – Quaternion output (Real + Imaginary X, Y, Z).