Inverter Node

From RoboPad Wiki
Jump to navigation Jump to search

← Return to Node Catalogue

Inverter Node
Inputs
  • in
Outputs
  • out
Version Introduced
2.2

The Signal Inverter Node is a very simple node that consumes an input signal through the input port in, and then inverts that signal around 0.5, clipping the result to between 0 and 1.

This is one of the few nodes designed to be used in simple signalling scenarios where all you really care about are values between 0 and 1.

Inverter Nodes were introduced in firmware version 2.2. They have no configurable settings.

Example Behaviour Table

The table below shows some example inputs and the outputs that they would produce.

Input Output Comments
0 1
1 0
0.25 0.75
1.2 0 Here the true inversion value (-0.2) is clipped to 0.
-3 1 Here the true inversion value (3.5) is clipped to 1.