Intro
Takes X & Y co-ordinates from a joystick and converts them into Left and Right values for a tank-drive system.
Usage
npm install joystick2tank
var j2t = ;var values = ; // { left: 70, right: 100 }
See example.js to see how to handle scaling values from joysticks that don't operate from -100 to 100.
Credits
Based on the excellent write-up by Mauser.