Skip to content

Commit

Permalink
Fix CI warning in TransformPointCloudViaArucoMarker
Browse files Browse the repository at this point in the history
This commit fixes the following warning:
constness of 'markerCenter' prevents automatic move
  • Loading branch information
SatjaSivcev committed Nov 1, 2021
1 parent 8b6dcb6 commit 9db9410
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ namespace
const auto xCoordinate =
(forwardDiagonal.intercept - backDiagonal.intercept) / (backDiagonal.slope - forwardDiagonal.slope);
const auto yCoordinate = backDiagonal.slope * xCoordinate + backDiagonal.intercept;
const auto markerCenter = cv::Point2f(xCoordinate, yCoordinate);
auto markerCenter = cv::Point2f(xCoordinate, yCoordinate);

return markerCenter;
}
Expand Down

0 comments on commit 9db9410

Please sign in to comment.