set Max Power
Sets the maximum power magnitude (applies for both negative and positive powers) this motor can run at. This will ensure all calls to setPower will never exceed the maximum boundary as defined by this function.
Note: Further calls to setPower that exceed the new domain will be scaled (for example, if the max power was defined as 0.8, setPower(1)
will set the motor power to 0.8 in RUN_WITHOUT_ENCODER
mode for a DcMotor)
Parameters
magnitude
maximum absolute magnitude of setPower, default of 1.0 (SDK), applies bidirectionally