From 058dcdec39d87af19bc3e948888a04f341a9ded7 Mon Sep 17 00:00:00 2001 From: "Ana C. Huaman Quispe" Date: Fri, 10 Feb 2023 16:39:12 -0600 Subject: [PATCH] Cleaned up --- .../marker_tracking/src/marker_tracking/labelling_method.cc | 2 +- .../marker_tracking/tools/marker_tracking/markers_to_Kalibr.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/localization/marker_tracking/src/marker_tracking/labelling_method.cc b/localization/marker_tracking/src/marker_tracking/labelling_method.cc index 4ddde3b0f1..bd45e9ec50 100644 --- a/localization/marker_tracking/src/marker_tracking/labelling_method.cc +++ b/localization/marker_tracking/src/marker_tracking/labelling_method.cc @@ -130,7 +130,7 @@ void marker_tracking::LabelingCvSeq::LabelSquares(std::shared_ptr image } // Fit edge and put to vector of edges - cv::Vec4f params; // init with zeros? ANA HACK + cv::Vec4f params; // CAREFUL REVIEW: init with zeros? cv::fitLine(line_data, params, cv::DIST_L2, 0, 0.01, 0.01); fitted_lines[j] = alvar::Line(params); } diff --git a/localization/marker_tracking/tools/marker_tracking/markers_to_Kalibr.cc b/localization/marker_tracking/tools/marker_tracking/markers_to_Kalibr.cc index 51f6810658..3dbad491d0 100644 --- a/localization/marker_tracking/tools/marker_tracking/markers_to_Kalibr.cc +++ b/localization/marker_tracking/tools/marker_tracking/markers_to_Kalibr.cc @@ -168,7 +168,7 @@ int main(int argc, char* argv[]) { // Decode ID of each marker tag into its hexadecimal code. std::deque bs; marker.SetContent(alvar::MarkerData::MarkerContentType::MARKER_CONTENT_TYPE_NUMBER, marker_tag.id, 0); - // ANA HACK: More efficient is to use pointers rather than iterators + // CAREFUL REVIEW: More efficient is to use pointers rather than iterators uchar* ip; for (int i = 0; i < marker.GetContent().rows; ++i) { ip = marker.GetContent().ptr(i);