We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be17de8 commit 5169c8dCopy full SHA for 5169c8d
src/sot/sot.cpp
@@ -606,12 +606,13 @@ computeControlLaw( dynamicgraph::Vector& control,const int& iterTime )
606
}
607
/***/sotCOUNTER(6,7); // TRACE
608
609
+ if (rankJ == 0) break;
610
611
/* --- COMPUTE QDOT AND P --- */
612
/*DEBUG: normally, the first iter (ie the test below)
613
* is the same than the other, starting with control_0 = q0SIN. */
614
if( iterTask==0 ) control.noalias() += Jp*err;
- else control += Jp*(err - JK*control);
615
+ else control += Proj * (Jp*(err - JK*control));
616
/***/sotCOUNTER(7,8); // QDOT
617
618
/* --- OPTIMAL FORM: To debug. --- */
0 commit comments