TeamCode / org.firstinspires.ftc.teamcode.movement / DriveMotors / steerWithSpeed

steerWithSpeed

abstract fun steerWithSpeed(speed: Double, turn: Double): Unit

Steers the drive in a given direction at a given speed (i.e. with encoder).

Parameters

speed - the speed at which to drive the motors

turn - the direction to steer the motors in (negative = left, 0 = straight, positive = right)