TeamCode / org.firstinspires.ftc.teamcode.movement / TwoWheelDrive / setMotorMode

setMotorMode

open fun setMotorMode(mode: RunMode): Unit

Sets both motors to a given mode.

Parameters

mode - mode to set the motors to