Joystick Mixer Node

From RoboPad Wiki
Revision as of 02:43, 6 March 2023 by Blayze (talk | contribs) (Creates page.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

← Return to Node Catalogue

Joystick Mixer Node
Inputs
  • xaxis
  • yaxis
Outputs
  • left drive
  • right drive
Version Introduced
2.1

The Joystick Mixer Node is a single-purpose node that takes x and y axis signals, ostensibly from a Joystick Node and mixes them to generate left/right differential drive motor drive signals that can be passed to H-Bridge IO Units.

Joystick Mixer Nodes were introduced in firmware version 2.1 along with all basic nodes. It has no configurable settings.

Inputs

Joystick Mixer Nodes have two input ports: xaxis and yaxis, which - just as their counter parts in the Joystick Node's output ports - represent a position between (0, 0) and (1, 1) on a dual-axis joystick, where (0.5, 0.5) is the central position - the neutral position where no motion should occur.

Outputs

Joystick Mixer Nodes have two output ports: left drive and right drive that reprsent the velocity of a left or right drive motor in a differential drive robot, from 0 to 1 where 0 is fully reverse and 1 is fully forward - just as should be used for H-Bridge IO Unit input ports.