Skip to content

Commit

Permalink
bugfix in ceres error term parametrization
Browse files Browse the repository at this point in the history
  • Loading branch information
mfehr authored Aug 15, 2018
1 parent 6e14d2b commit 220b210
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ bool Unit3Parameterization::ComputeJacobian(

Eigen::Quaterniond quat_x_copy = quat_x;
if (quat_x_copy.w() < 0.) {
quat_x_copy.coeffs() = quat_x_copy.coeffs();
quat_x_copy.coeffs() = -quat_x_copy.coeffs();
}
// CHECK_GE(quat_x_copy.w(), 0);

Expand Down

0 comments on commit 220b210

Please sign in to comment.