Skip to content

Commit

Permalink
fix ethz-asl#376 index bug
Browse files Browse the repository at this point in the history
  • Loading branch information
goldbattle committed Feb 13, 2023
1 parent 5b7a28a commit f2e8ba4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ bool GridCalibrationTargetAprilgrid::computeObservation(
cv::cvtColor(imageCopy, imageCopy, cv::COLOR_GRAY2RGB);

//mark all duplicate tags in image
for (int j = 0; i < detections.size() - 1; i++) {
for (int j = 0; j < detections.size() - 1; j++) {
if (detections[j].id == detections[j + 1].id) {
detections[j].draw(imageCopy);
detections[j + 1].draw(imageCopy);
Expand Down

0 comments on commit f2e8ba4

Please sign in to comment.