drive

fun drive(radians: Double, magnitude: Double, rotation: Double = 0.0)

Makes the robot drive in a certain direction radians with a given strength magnitude.

If rotation is specified, it acts as a offset applied to each wheel to make the entire robot spin.


fun drive(polar: Polar2d, rotation: Double = 0.0)