public void SetParams(UKFilterParams p) { UKF.utParamsForecast = p.utParamsForecast; UKF.utParamsCorrection = p.utParamsCorrection; UKF.utParamsForecastStepwise = p.utParamsForecastStepwise; UKF.utParamsCorrectionStepwise = p.utParamsCorrectionStepwise; }
public UKFilterParams GetParams() { UKFilterParams p = new UKFilterParams(); p.utParamsForecast = UKF.utParamsForecast; p.utParamsCorrection = UKF.utParamsCorrection; p.utParamsForecastStepwise = UKF.utParamsForecastStepwise; p.utParamsCorrectionStepwise = UKF.utParamsCorrectionStepwise; return(p); }