From 81dc4cdeb7f4c61d2a8278a339dd376da69d5736 Mon Sep 17 00:00:00 2001 From: andreucm <acoromin@iri.upc.edu> Date: Wed, 6 Apr 2016 17:38:20 +0200 Subject: [PATCH] working copy of find corners from lines --- src/corner_finder.cpp | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/corner_finder.cpp b/src/corner_finder.cpp index a8c7479..e796344 100644 --- a/src/corner_finder.cpp +++ b/src/corner_finder.cpp @@ -21,7 +21,18 @@ int CornerFinder::findCorners( const Eigen::MatrixXs & _points, std::list<lasers int CornerFinder::findCorners( const std::list<laserscanutils::LineSegment> & _lines, std::list<laserscanutils::CornerPoint> & _corner_list) const { - //TODO +// //local vars +// std::list<laserscanutils::LineSegment>::iterator line_i, line_j; +// +// //loop over all lines , ij, and look for vertices greater than some threshold +// for (line_i = _lines.begin(); line_i != _lines.end(); line_i++) +// { +// for (line_j = _lines.begin(); line_j != _lines.end(); line_j++) +// { +// +// } +// } + } }//namespace -- GitLab