From 327bafa8ee1d9ea545d9766415986ea13a1064d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joan=20Vallv=C3=A9=20Navarro?= <jvallve@iri.upc.edu> Date: Tue, 26 Jan 2021 12:48:49 +0100 Subject: [PATCH] Update FALKOExtractor.cpp --- src/Feature/FALKOExtractor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Feature/FALKOExtractor.cpp b/src/Feature/FALKOExtractor.cpp index 9abe941..cac3d1b 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 +} -- GitLab