Check the ts_mtm2_matlab_tools for the configuration tool provided by Harris.
For the hardpoint correction between the surrogate the mirror, I think the main difference is the stiff matrices:
1. Mirror: https://github.com/lsst-ts/ts_mtm2_matlab_tools/blob/develop/ReferenceFiles/StiffnessMatrix_M2.mat
2. Surrogate: https://github.com/lsst-ts/ts_mtm2_matlab_tools/blob/develop/ReferenceFiles/StiffnessMatrix_Surrogate.mat
I think we could do the run-time calculation of different hard points based on the following calculation:
https://github.com/lsst-ts/ts_mtm2_matlab_tools/blob/develop/Utilities/CalcHPFCInfMat.m
As the expectation, some parameter files are duplicated:
(base) teweitsai@te-weis-mbp-2:CtrlParameterFiles_2018-07-19_104257_m2$ ls
|
CommandDelayFilter_Params.csv Hd_ax_ff_Matrix_Params.csv
|
CommandPrefilter_Params.csv Hd_tan_Matrix_Params.csv
|
Configurable_Params.csv Hd_tan_ff_Matrix_Params.csv
|
ForceController_Params.csv Kdc_Matrix_Params.csv
|
Hd_ax_Matrix_Params.csv Kim_Matrix_Params.csv
|
(base) teweitsai@te-weis-mbp-2:CtrlParameterFiles_2018-07-19_104257_m2$ diff Hd_tan_Matrix_Params.csv Hd_tan_ff_Matrix_Params.csv
|
1c1
|
< Variable Name, Tangent Hardpoint Comp Matrix
|
---
|
> Variable Name, Tangent Hardpoint Comp Matrix Feedforward
|
(base) teweitsai@te-weis-mbp-2:CtrlParameterFiles_2018-07-19_104257_m2$ diff Kdc_Matrix_Params.csv Kim_Matrix_Params.csv
|
1c1
|
< Variable Name, Decoupling Matrix
|
---
|
> Variable Name, Influence Matrix
|
(base) teweitsai@te-weis-mbp-2:CtrlParameterFiles_2018-07-19_104257_m2$ diff Hd_ax_Matrix_Params.csv Hd_ax_ff_Matrix_Params.csv
|
1c1
|
< Variable Name, Axial Hardpoint Comp Matrix
|
---
|
> Variable Name, Axial Hardpoint Comp Matrix Feedforward
|
More duplication here:
(base) teweitsai@te-weis-mbp-2:closed_loop_controller$ diff CtrlParameterFiles_2018-07-19_104257_m2/Hd_tan_Matrix_Params.csv CtrlParameterFiles_2018-07-19_104314_surg/Hd_tan_Matrix_Params.csv
|
(base) teweitsai@te-weis-mbp-2:closed_loop_controller$ diff CtrlParameterFiles_2018-07-19_104257_m2/Hd_tan_ff_Matrix_Params.csv CtrlParameterFiles_2018-07-19_104314_surg/Hd_tan_ff_Matrix_Params.csv
|
(base) teweitsai@te-weis-mbp-2:closed_loop_controller$ diff CtrlParameterFiles_2018-07-19_104257_m2/Hd_ax_Matrix_Params.csv CtrlParameterFiles_2018-07-19_104314_surg/Hd_ax_Matrix_Params.csv
|
(base) teweitsai@te-weis-mbp-2:closed_loop_controller$ diff CtrlParameterFiles_2018-07-19_104257_m2/Hd_ax_ff_Matrix_Params.csv CtrlParameterFiles_2018-07-19_104314_surg/Hd_ax_ff_Matrix_Params.csv
|
As the expectation, the main difference in the hardpoint correction is: Kdc_Matrix_Params.csv.
Other difference in the control parameters:
(base) teweitsai@te-weis-mbp-2:closed_loop_controller$ diff CtrlParameterFiles_2018-07-19_104257_m2/CommandDelayFilter_Params.csv CtrlParameterFiles_2018-07-19_104314_surg/CommandDelayFilter_Params.csv
|
3,4d2
|
< 0.0140000000000001, 0.0140000000000001
|
< 0.9859999999999999, 0.9859999999999999
|
5a4,5
|
> 0.9680000000000002, 0.9680000000000002
|
> 0.0319999999999998, 0.0319999999999998
|
(base) teweitsai@te-weis-mbp-2:closed_loop_controller$ diff CtrlParameterFiles_2018-07-19_104257_m2/CommandPrefilter_Params.csv CtrlParameterFiles_2018-07-19_104314_surg/CommandPrefilter_Params.csv
|
(base) teweitsai@te-weis-mbp-2:closed_loop_controller$ diff CtrlParameterFiles_2018-07-19_104257_m2/Configurable_Params.csv CtrlParameterFiles_2018-07-19_104314_surg/Configurable_Params.csv
|
(base) teweitsai@te-weis-mbp-2:closed_loop_controller$ diff CtrlParameterFiles_2018-07-19_104257_m2/ForceController_Params.csv CtrlParameterFiles_2018-07-19_104314_surg/ForceController_Params.csv
|
2c2
|
< 0.3291319251000000, 0.3291319251000000
|
---
|
> 0.3387224999999999, 0.3387224999999999
|
Check the ts_mtm2_matlab_tools for the configuration tool provided by Harris.
For the hardpoint correction between the surrogate the mirror, I think the main difference is the stiff matrices:
1. Mirror: https://github.com/lsst-ts/ts_mtm2_matlab_tools/blob/develop/ReferenceFiles/StiffnessMatrix_M2.mat
2. Surrogate: https://github.com/lsst-ts/ts_mtm2_matlab_tools/blob/develop/ReferenceFiles/StiffnessMatrix_Surrogate.mat
I think we could do the run-time calculation of different hard points based on the following calculation:
https://github.com/lsst-ts/ts_mtm2_matlab_tools/blob/develop/Utilities/CalcHPFCInfMat.m
As the expectation, some parameter files are duplicated:
(base) teweitsai@te-weis-mbp-2:CtrlParameterFiles_2018-07-19_104257_m2$ ls
CommandDelayFilter_Params.csv Hd_ax_ff_Matrix_Params.csv
CommandPrefilter_Params.csv Hd_tan_Matrix_Params.csv
Configurable_Params.csv Hd_tan_ff_Matrix_Params.csv
ForceController_Params.csv Kdc_Matrix_Params.csv
Hd_ax_Matrix_Params.csv Kim_Matrix_Params.csv
(base) teweitsai@te-weis-mbp-2:CtrlParameterFiles_2018-07-19_104257_m2$ diff Hd_tan_Matrix_Params.csv Hd_tan_ff_Matrix_Params.csv
1c1
< Variable Name, Tangent Hardpoint Comp Matrix
---
> Variable Name, Tangent Hardpoint Comp Matrix Feedforward
(base) teweitsai@te-weis-mbp-2:CtrlParameterFiles_2018-07-19_104257_m2$ diff Kdc_Matrix_Params.csv Kim_Matrix_Params.csv
1c1
< Variable Name, Decoupling Matrix
---
> Variable Name, Influence Matrix
(base) teweitsai@te-weis-mbp-2:CtrlParameterFiles_2018-07-19_104257_m2$ diff Hd_ax_Matrix_Params.csv Hd_ax_ff_Matrix_Params.csv
1c1
< Variable Name, Axial Hardpoint Comp Matrix
---
> Variable Name, Axial Hardpoint Comp Matrix Feedforward
More duplication here:
(base) teweitsai@te-weis-mbp-2:closed_loop_controller$ diff CtrlParameterFiles_2018-07-19_104257_m2/Hd_tan_Matrix_Params.csv CtrlParameterFiles_2018-07-19_104314_surg/Hd_tan_Matrix_Params.csv
(base) teweitsai@te-weis-mbp-2:closed_loop_controller$ diff CtrlParameterFiles_2018-07-19_104257_m2/Hd_tan_ff_Matrix_Params.csv CtrlParameterFiles_2018-07-19_104314_surg/Hd_tan_ff_Matrix_Params.csv
(base) teweitsai@te-weis-mbp-2:closed_loop_controller$ diff CtrlParameterFiles_2018-07-19_104257_m2/Hd_ax_Matrix_Params.csv CtrlParameterFiles_2018-07-19_104314_surg/Hd_ax_Matrix_Params.csv
(base) teweitsai@te-weis-mbp-2:closed_loop_controller$ diff CtrlParameterFiles_2018-07-19_104257_m2/Hd_ax_ff_Matrix_Params.csv CtrlParameterFiles_2018-07-19_104314_surg/Hd_ax_ff_Matrix_Params.csv
As the expectation, the main difference in the hardpoint correction is: Kdc_Matrix_Params.csv.
Other difference in the control parameters:
(base) teweitsai@te-weis-mbp-2:closed_loop_controller$ diff CtrlParameterFiles_2018-07-19_104257_m2/CommandDelayFilter_Params.csv CtrlParameterFiles_2018-07-19_104314_surg/CommandDelayFilter_Params.csv
3,4d2
< 0.0140000000000001, 0.0140000000000001
< 0.9859999999999999, 0.9859999999999999
5a4,5
> 0.9680000000000002, 0.9680000000000002
> 0.0319999999999998, 0.0319999999999998
(base) teweitsai@te-weis-mbp-2:closed_loop_controller$ diff CtrlParameterFiles_2018-07-19_104257_m2/CommandPrefilter_Params.csv CtrlParameterFiles_2018-07-19_104314_surg/CommandPrefilter_Params.csv
(base) teweitsai@te-weis-mbp-2:closed_loop_controller$ diff CtrlParameterFiles_2018-07-19_104257_m2/Configurable_Params.csv CtrlParameterFiles_2018-07-19_104314_surg/Configurable_Params.csv
(base) teweitsai@te-weis-mbp-2:closed_loop_controller$ diff CtrlParameterFiles_2018-07-19_104257_m2/ForceController_Params.csv CtrlParameterFiles_2018-07-19_104314_surg/ForceController_Params.csv
2c2
< 0.3291319251000000, 0.3291319251000000
---
> 0.3387224999999999, 0.3387224999999999