Skip to content
Snippets Groups Projects
Commit 327bafa8 authored by Joan Vallvé Navarro's avatar Joan Vallvé Navarro
Browse files

Update FALKOExtractor.cpp

parent 7e410d1f
No related branches found
No related tags found
No related merge requests found
...@@ -172,7 +172,7 @@ namespace falkolib { ...@@ -172,7 +172,7 @@ namespace falkolib {
oriL /= midIndex; oriL /= midIndex;
oriR /= (size - (midIndex + 1)); oriR /= (size - (midIndex + 1));
Point2d ori = oriL + oriR; Point2d ori = oriL + oriR;
double theta = atan2(ori(1), ori(0)); return atan2(ori(1), ori(0));
} }
void FALKOExtractor::NMSKeypoint(const std::vector<int>& scores, const LaserScan& scan, unsigned int ibeg, unsigned int iend, double radius, int minval, std::vector<int>& peaks) { void FALKOExtractor::NMSKeypoint(const std::vector<int>& scores, const LaserScan& scan, unsigned int ibeg, unsigned int iend, double radius, int minval, std::vector<int>& peaks) {
...@@ -328,4 +328,4 @@ namespace falkolib { ...@@ -328,4 +328,4 @@ namespace falkolib {
x[1] = (A[0] * b[1] - b[0] * A[2]) / det; x[1] = (A[0] * b[1] - b[0] * A[2]) / det;
return true; return true;
} }
} }
\ No newline at end of file
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