Quaternion Array

From Visuino
Jump to navigation Jump to search

File:TArduinoQuaternionArray.png

Summary

Stores and outputs a Quaternion value from an indexed array.

Description

The Quaternion Array component maintains an array of Quaternion values. Each element in the array can be predefined through its Elements property. At runtime, the component outputs the Quaternion at the specified index. The Clock input triggers updating of the output with the Quaternion value at the current Index.

Diagram:

Categories

Properties

  • Initial Index (integer) – The starting index of the array.
  • Elements – List of Quaternions (defined as “Value”) stored in the array.

Pins

  • Clock – Clock input; updates the output with the Quaternion value at the given Index.
  • Index (integer) – Selects which element from the array to output.

Output Pins

  • Out – Outputs the Quaternion value stored at the current Index.