Browse Source

fix interpolation res issue

Tuan Nguyen 1 năm trước cách đây
mục cha
commit
b507024cc2
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;