vec

fun vec(lsx: Double, lsy: Double): Vector2d

Convert the gamepad translation values to a robot vector. This inverts the y value as the gamepad y stick is inverted.