From 398e5a8f48eef325653bedc47134f9e497fbb95f Mon Sep 17 00:00:00 2001 From: Alexander B Date: Sat, 26 Jul 2025 20:32:55 -0400 Subject: [PATCH] RC Calibration --- ESP-IDF_Robot/build/.ninja_lock | 0 ESP-IDF_Robot/build/CMakeFiles/git-data/head-ref | 2 +- ESP-IDF_Robot/main/rc.h | 4 ++-- 3 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 ESP-IDF_Robot/build/.ninja_lock diff --git a/ESP-IDF_Robot/build/.ninja_lock b/ESP-IDF_Robot/build/.ninja_lock new file mode 100644 index 000000000..e69de29bb diff --git a/ESP-IDF_Robot/build/CMakeFiles/git-data/head-ref b/ESP-IDF_Robot/build/CMakeFiles/git-data/head-ref index 570d5cabd..8c5c7996d 100644 --- a/ESP-IDF_Robot/build/CMakeFiles/git-data/head-ref +++ b/ESP-IDF_Robot/build/CMakeFiles/git-data/head-ref @@ -1 +1 @@ -7d427ad47f0e498927a3f0299a713f504faa22be +09796c8753f7d6b069276f3eb0223255ca52e72b diff --git a/ESP-IDF_Robot/main/rc.h b/ESP-IDF_Robot/main/rc.h index b55865dd3..d234ac91c 100644 --- a/ESP-IDF_Robot/main/rc.h +++ b/ESP-IDF_Robot/main/rc.h @@ -91,12 +91,12 @@ static void update_pwm (int rc_x, int rc_y) { // Turn Left if (x == 8190 && y == -8190) { - m.motor1_rpm_pcm = 4095; + m.motor1_rpm_pcm = 6172; m.motor2_rpm_pcm = 8190; } else if (x == 8190 && y == 8190) { m.motor1_rpm_pcm = 8190; - m.motor2_rpm_pcm = 4095; + m.motor2_rpm_pcm = 6172; } // FORWARD AND REVERSE //if ((x > 1500) && (y > 700 && y < 850)) {