Kaynağa Gözat

fix interpolation res issue

Tuan Nguyen 1 yıl önce
ebeveyn
işleme
b507024cc2
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      esp32/esp32.ino

+ 1 - 1
esp32/esp32.ino

@@ -42,7 +42,7 @@ bool isFirstCoordinates = true;
 float totalRevolutions = 0.0; // Tracks cumulative revolutions
 float maxSpeed = 550;
 float maxAcceleration = 5000;
-float interpolationResolution = 0.01;
+float interpolationResolution = 1;
 
 int modulus(int x, int y) {
   return x < 0 ? ((x + 1) % y) + y - 1 : x % y;