File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -622,6 +622,8 @@ computeControlLaw( dynamicgraph::Vector& control,const int& iterTime )
622
622
{ Proj.resize ( mJ ,mJ ); Proj.setIdentity (); }
623
623
624
624
/* --- OLIVIER START --- */
625
+ // Update by Joseph Mirabel to match Eigen API
626
+
625
627
sotDEBUG (2 ) << " Proj non optimal (rankJ= " <<rankJ
626
628
<< " , iterTask =" << iterTask
627
629
<< " )" ;
@@ -630,7 +632,7 @@ computeControlLaw( dynamicgraph::Vector& control,const int& iterTime )
630
632
sotDEBUG (2 ) << " JpxJt = " << Jp*Jt;
631
633
sotDEBUG (25 ) << " Proj-Jp*Jt" <<iterTask<<" = " << (Proj-Jp*Jt) <<endl;
632
634
633
- Proj.noalias () -= Jp * Jt ;
635
+ Proj.noalias () -= svd. matrixV (). leftCols (rankJ) * svd. matrixV (). leftCols (rankJ). adjoint () ;
634
636
635
637
/* --- OLIVIER END --- */
636
638
You can’t perform that action at this time.
0 commit comments