setMaxPower

public void setMaxPower(double set)

This sets the maximum power the motors are allowed to use.

Parameters

set

This caps the motor power from [0, 1].