Skip to content

Commit

Permalink
Fix typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoltin committed Jul 10, 2024
1 parent ec51522 commit 84a7753
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion localization/camera/src/camera_params.cc
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ void camera::CameraParameters::DistortCentered(Eigen::Vector2d const& undistorte
if (r > std::numeric_limits<double>::epsilon()) {
double theta = atan(r);
double theta2 = theta * theta;
double thetad = theta * (1 + k1 * theta2 + k2 * theta2 * theta);
double thetad = theta * (1 + k1 * theta2 + k2 * theta2 * theta2);

*distorted_c = thetad / r * norm;
} else {
Expand Down

0 comments on commit 84a7753

Please sign in to comment.