Skip to content

Commit

Permalink
Linting fixes for CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarmendezm committed Dec 17, 2023
1 parent 5e9737e commit a5e3c8c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ template <typename T>
bool ReprojectionErrorCostFunctor::operator()(const T* const position, const T* const orientation,
const T* const calibration, const T* const point, T* residual) const
{

// Point to Camera CF ( X' = [R|t] X = RX + t )
// Rotate Point (RX)
T p[3];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,8 @@ TEST(ReprojectionErrorSnavellyConstraint, Optimization)

// Check
EXPECT_NEAR(0.00, position_variable->x(), 1.0e-2); // 1cm error (too few points for more accuracy)
EXPECT_NEAR(0.00, position_variable->y(), 1.0e-2);
EXPECT_NEAR(0.00, position_variable->z(), 1.0e-2);
EXPECT_NEAR(0.00, position_variable->y(), 1.0e-2);
EXPECT_NEAR(0.00, position_variable->z(), 1.0e-2);

EXPECT_NEAR(1.0, orientation_variable->w(), 1.0e-3);
EXPECT_NEAR(0.00, orientation_variable->x(), 1.0e-3);
Expand Down

0 comments on commit a5e3c8c

Please sign in to comment.