diff --git a/src/Feature/FALKOExtractor.cpp b/src/Feature/FALKOExtractor.cpp index 9abe9417ba857325cdb05e9eff266fbda0222320..cac3d1b215318d91a80e7b72c2116d9961b52f79 100644 --- a/src/Feature/FALKOExtractor.cpp +++ b/src/Feature/FALKOExtractor.cpp @@ -172,7 +172,7 @@ namespace falkolib { oriL /= midIndex; oriR /= (size - (midIndex + 1)); 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) { @@ -328,4 +328,4 @@ namespace falkolib { x[1] = (A[0] * b[1] - b[0] * A[2]) / det; return true; } -} \ No newline at end of file +}