Skip to content

Commit

Permalink
Merge pull request #1408 from rolalaro/fix_compilation_tuto
Browse files Browse the repository at this point in the history
Fix compilation error in tutorial
  • Loading branch information
fspindle authored May 21, 2024
2 parents b908bbd + c4883c5 commit 4141c66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tutorial/kalman/tutorial-ukf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ class vpMarkersMeasurements
vpColVector meas(2*nbMarkers);
vpHomogeneousMatrix wMo;
vpTranslationVector wTo(x[0], x[1], x[2]);
wMo.buildFrom(wTo, m_wRo);
wMo.build(wTo, m_wRo);
for (unsigned int i = 0; i < nbMarkers; ++i) {
vpColVector cX = m_cMw * wMo * m_markers[i];
double u = 0., v = 0.;
Expand All @@ -211,7 +211,7 @@ class vpMarkersMeasurements
vpColVector meas(2*nbMarkers);
vpHomogeneousMatrix wMo;
vpTranslationVector wTo(wX[0], wX[1], wX[2]);
wMo.buildFrom(wTo, m_wRo);
wMo.build(wTo, m_wRo);
for (unsigned int i = 0; i < nbMarkers; ++i) {
vpColVector cX = m_cMw * wMo * m_markers[i];
double u = 0., v = 0.;
Expand Down

0 comments on commit 4141c66

Please sign in to comment.