Skip to content

Commit

Permalink
remove print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
varunagrawal committed Sep 21, 2021
1 parent 64a9e69 commit a4a80bc
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions gtsam/navigation/ImuFactor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,16 +75,12 @@ void PreintegratedImuMeasurements::integrateMeasurement(
// (1/dt) allows to pass from continuous time noise to discrete time noise
// Update the uncertainty on the state (matrix A in [4]).
preintMeasCov_ = A * preintMeasCov_ * A.transpose();
// std::cout << "A * p * A\n" << preintMeasCov_ << std::endl;
// These 2 updates account for uncertainty on the IMU measurement (matrix B in [4]).
preintMeasCov_.noalias() += B * (aCov / dt) * B.transpose();
// std::cout << "p + B\n" << preintMeasCov_ << std::endl;
preintMeasCov_.noalias() += C * (wCov / dt) * C.transpose();
// std::cout << "ApA' + B + C\n" << preintMeasCov_ << std::endl;

// NOTE(frank): (Gi*dt)*(C/dt)*(Gi'*dt), with Gi << Z_3x3, I_3x3, Z_3x3 (9x3 matrix)
preintMeasCov_.block<3, 3>(3, 3).noalias() += iCov * dt;
// std::cout << "p + iCov\n" << preintMeasCov_ << std::endl;
}

//------------------------------------------------------------------------------
Expand Down

0 comments on commit a4a80bc

Please sign in to comment.