Преглед изворни кода

fix interpolation res issue

Tuan Nguyen пре 1 година
родитељ
комит
b507024cc2
1 измењених фајлова са 1 додато и 1 уклоњено
  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;