Skip to content
This repository was archived by the owner on Nov 28, 2025. It is now read-only.

Commit 6ff3932

Browse files
authored
Merge pull request #51 from nim65s/topic/eigen32
use Eigen::DenseIndex to fix build on eigen3.2, fix #50
2 parents 584c525 + d7d07c2 commit 6ff3932

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/angle-estimator.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ compute_xff_dotSOUT( dynamicgraph::Vector& res,
340340
const dynamicgraph::Matrix & J = jacobianSIN( time );
341341
const dynamicgraph::Vector & dq = qdotSIN( time );
342342

343-
const Eigen::Index nr=J.rows(), nc=J.cols()-6;
343+
const Eigen::DenseIndex nr=J.rows(), nc=J.cols()-6;
344344
assert( nr==6 );
345345
dynamicgraph::Matrix Ja( nr,nc ); dynamicgraph::Vector dqa(nc);
346346
for( int j=0;j<nc;++j )
@@ -367,7 +367,7 @@ compute_qdotSOUT( dynamicgraph::Vector& res,
367367

368368
assert( dx.size()==6 );
369369

370-
const Eigen::Index nr=dq.size();
370+
const Eigen::DenseIndex nr=dq.size();
371371
res.resize( nr ); res=dq;
372372
for( int i=0;i<6;++i ) res(i)=dx(i);
373373

0 commit comments

Comments
 (0)