setMotorPower

open fun setMotorPower(port: Int, power: Double)

Set the power of a motor

Parameters

port

Port of the motor

power

The power of the motor ranging from -1.0 to 1.0