From 20409490fde119c70853970529085d8cbe731230 Mon Sep 17 00:00:00 2001 From: "ishak jmilou.ishak" Date: Mon, 7 Oct 2024 10:34:40 +0200 Subject: [PATCH] Refactor rotation threshold in CKobuki.cpp --- src/C++/Driver/src/CKobuki.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/C++/Driver/src/CKobuki.cpp b/src/C++/Driver/src/CKobuki.cpp index ad62283..ffde869 100755 --- a/src/C++/Driver/src/CKobuki.cpp +++ b/src/C++/Driver/src/CKobuki.cpp @@ -720,8 +720,8 @@ void CKobuki::doRotation(long double th) if (u > thresh) u = thresh; - if (u < 0.6) - u = 0.6; + if (u < 0.4) + u = 0.4; if (i < u) { @@ -743,8 +743,8 @@ void CKobuki::doRotation(long double th) if (u > thresh) u = thresh; - if (u < 0.6) - u = 0.6; + if (u < 0.4) + u = 0.4; if (i < u) {