Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 8, 2024
1 parent 7865699 commit 20b93cd
Show file tree
Hide file tree
Showing 3 changed files with 519 additions and 557 deletions.
2 changes: 1 addition & 1 deletion g2o/types/slam3d/se3quat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ SE3Quat SE3Quat::exp(const Vector6& update) {
R = (Matrix3::Identity() + std::sin(theta) / theta * Omega +
(1 - std::cos(theta)) / (theta * theta) * Omega2);
V = (Matrix3::Identity() + (1 - std::cos(theta)) / (theta * theta) * Omega +
(theta - std::sin(theta)) / (std::pow(theta, 3)) * Omega2);
(theta - std::sin(theta)) / (std::pow(theta, 3))*Omega2);

Check warning on line 168 in g2o/types/slam3d/se3quat.cpp

View check run for this annotation

Codecov / codecov/patch

g2o/types/slam3d/se3quat.cpp#L168

Added line #L168 was not covered by tests
}
return SE3Quat(Quaternion(R), V * upsilon);
}
Expand Down
Loading

0 comments on commit 20b93cd

Please sign in to comment.