public void UpdateTuningParameters(RCSSolverTuningParams tuningParams) { factorTorque = tuningParams.factorTorque; factorTranslate = tuningParams.factorTranslate; factorWaste = tuningParams.factorWaste; wasteThreshold = tuningParams.wasteThreshold; }
public void UpdateTuningParameters() { double wasteThreshold = overdrive * overdriveScale; RCSSolverTuningParams tuningParams = new RCSSolverTuningParams(); tuningParams.wasteThreshold = wasteThreshold; tuningParams.factorTorque = tuningParamFactorTorque; tuningParams.factorTranslate = tuningParamFactorTranslate; tuningParams.factorWaste = tuningParamFactorWaste; solverThread.UpdateTuningParameters(tuningParams); }
public void UpdateTuningParameters(RCSSolverTuningParams tuningParams) { solver.UpdateTuningParameters(tuningParams); ClearResults(); }