UNPKG

diff-steer

Version:

Differential steering algorithim for driving a two-motor bot with a two-axis joystick

9 lines (8 loc) 177 B
module.exports = { FULL_FWD: [0, -1], FULL_RIGHT: [1, 0], FULL_LEFT: [-1, 0], FULL_REV: [0, 1], FWD_RIGHT: [0.764706, -0.741176], REV_LEFT: [-0.726881, 0.686763] };