public void setMaxProportionalError(double maxProportionalError) {
   gains.setMaxProportionalError(maxProportionalError);
 }