File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -122,16 +122,16 @@ function autotune(controller::WinchControllerState)
122122 # Define the parameters for the autotuning
123123 x0 = [wcs. p_speed, wcs. i_speed, wcs. t_blend] # initial guess for the speed controller gain
124124 x, info = bobyqa (simulate_sc, x0;
125- xl = 0.25 .* x0,
126- xu = 2.0 .* x0,
125+ xl = 0.75 .* x0,
126+ xu = 1.5 .* x0,
127127 rhobeg = minimum (x0)/ 4 ,
128128 npt= 10 ,
129129 maxfun = 500
130130 )
131131 elseif controller == wcsLowerForceLimit
132132 println (" Autotuning lower force limit controller..." )
133133 # Define the parameters for the autotuning
134- x0 = [maximum ([1e-4 , minimum ( wcs. pf_low) / 4 ]), wcs. if_low] # initial guess for the speed controller gain
134+ x0 = [maximum ([1e-4 , wcs. pf_low]), wcs. if_low] # initial guess for the speed controller gain
135135
136136 x, info = bobyqa (simulate_lfc, x0;
137137 xl = 0.25 .* x0,
You can’t perform that action at this time.
0 commit comments