Skip to content
Snippets Groups Projects
Commit 09e609a6 authored by Joan Solà Ortega's avatar Joan Solà Ortega
Browse files

Fix method prototype for correct virtual override

parent a3aa22ea
No related branches found
No related tags found
No related merge requests found
......@@ -24,8 +24,8 @@ void LineFinderIterative::setIlfParams(const LineFinderIterativeParams & _params
ilf_params_.min_supports_ = _params.min_supports_;
}
unsigned int LineFinderIterative::findLines( const Eigen::Matrix<ScalarT, 3, Eigen::Dynamic> & _points,
std::list<laserscanutils::LineSegment> & _line_list) const
unsigned int LineFinderIterative::findLines( const Eigen::MatrixXs & _points,
std::list<laserscanutils::LineSegment> & _line_list)
{
//Find lines recursively
this->findLinesRecursive(_points, _line_list, 0, _points.cols()-1);
......
......@@ -77,8 +77,8 @@ class LineFinderIterative : public LineFinder
* \return Number of lines extracted.
*
*/
unsigned int findLines( const Eigen::Matrix<ScalarT, 3, Eigen::Dynamic> & _points,
std::list<laserscanutils::LineSegment> & _line_list) const;
unsigned int findLines( const Eigen::MatrixXs & _points,
std::list<laserscanutils::LineSegment> & _line_list) ;
//2nd version of findLines() required to correctly fill if end points are defined or not
unsigned int findLines( const laserscanutils::ScanSegment & _segment,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment