Quaternion Mux(Multi channel Switch)

From Visuino
Revision as of 07:22, 16 August 2025 by Visuino (talk | contribs) (Created page with "Image:TArduinoQuaternionMux.png == Summary == Selects and outputs one Quaternion input from multiple channels based on the selection index. == Description == The Quaternion Mux component works as a multi-channel switch for Quaternion values. It allows you to provide multiple Quaternion inputs and dynamically select which one to route to the output by setting the Select pin. This is useful when switching between different Quaternion sources, such as sensor readings,...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

File:TArduinoQuaternionMux.png

Summary

Selects and outputs one Quaternion input from multiple channels based on the selection index.

Description

The Quaternion Mux component works as a multi-channel switch for Quaternion values. It allows you to provide multiple Quaternion inputs and dynamically select which one to route to the output by setting the Select pin. This is useful when switching between different Quaternion sources, such as sensor readings, stored states, or calculated orientations.

Diagram:

Categories

Properties

  • Initial Channel (integer) – The default input channel selected at startup.
  • Input Pins (integer, default = 2) – The number of Quaternion input channels available.

Pins

  • In – Quaternion inputs (the number of pins depends on Input Pins property).
  • Select (integer) – Selects which input channel is routed to the output.

Output Pins

  • Out – Outputs the currently selected Quaternion input.