Skip to content

Commit

Permalink
Merge pull request #2 from OmarHarib/devel-c98
Browse files Browse the repository at this point in the history
Devel c98
  • Loading branch information
RossHartley authored Oct 16, 2018
2 parents 3329d7a + 64538a8 commit b68f283
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/LieGroup.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

namespace inekf {

#define TOLERANCE 1e-10
extern const double TOLERANCE;

Eigen::Matrix3d skew(const Eigen::Vector3d& v);
Eigen::Matrix3d Exp_SO3(const Eigen::Vector3d& w);
Expand Down
2 changes: 2 additions & 0 deletions src/LieGroup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ namespace inekf {

using namespace std;

const double TOLERANCE = 1e-10;

Eigen::Matrix3d skew(const Eigen::Vector3d& v) {
// Convert vector to skew-symmetric matrix
Eigen::Matrix3d M = Eigen::Matrix3d::Zero();
Expand Down
3 changes: 2 additions & 1 deletion src/NoiseParams.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ std::ostream& operator<<(std::ostream& os, const NoiseParams& p) {
os << "Landmark Covariance:\n" << p.Ql_ << endl;
os << "Contact Covariance:\n" << p.Qc_ << endl;
os << "-----------------------------------" << endl;
return os;
}

} // end inekf namespace
} // end inekf namespace

0 comments on commit b68f283

Please sign in to comment.