Refactor rotation threshold in CKobuki.cpp

This commit is contained in:
ishak jmilou.ishak
2024-10-07 10:34:40 +02:00
parent 4fddaae186
commit 20409490fd

View File

@@ -720,8 +720,8 @@ void CKobuki::doRotation(long double th)
if (u > thresh) if (u > thresh)
u = thresh; u = thresh;
if (u < 0.6) if (u < 0.4)
u = 0.6; u = 0.4;
if (i < u) if (i < u)
{ {
@@ -743,8 +743,8 @@ void CKobuki::doRotation(long double th)
if (u > thresh) if (u > thresh)
u = thresh; u = thresh;
if (u < 0.6) if (u < 0.4)
u = 0.6; u = 0.4;
if (i < u) if (i < u)
{ {