Skip to content

Commit 7665954

Browse files
author
Gabriele Nava
authored
Merge pull request #132 from CarlottaSartore/VelocityControllerModifications
Minor modifications to velocity controller
2 parents 7bf78dc + f2d58f6 commit 7665954

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed
Binary file not shown.

library/simulink-library/MomentumVelocityControl/src/casadi_block.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ function setupImpl(obj,M,h,Jc,Jcmm,nu_k,Jc_dot_nu,C_friction,b_friction,H_star,s
442442
s_dot_k_1_star = zeros(26,1);
443443
tau_star = zeros(26,1);
444444
f_star = zeros(12,1);
445-
if(obj.solver_fails_counter>4)
445+
if(obj.solver_fails_counter>6)
446446
error('solver failed more that 4 times');
447447
end
448448
else

0 commit comments

Comments
 (0)