DcMotorAttachment
constructor(name: String, motor: DcMotor, idlePower: Double, maxPosition: Int, minPosition: Int = 0, direction: DcMotorSimple.Direction = DcMotorSimple.Direction.FORWARD)
Parameters
name
the name of the attachment
motor
the motor to control
idlePower
the idle power of the motor
maxPosition
the maximum position of the motor
minPosition
the minimum position of the motor