From 1e2f168032667974d5c0f5906f9b0cdfdd592d1a Mon Sep 17 00:00:00 2001 From: zhaohe Date: Sun, 15 Oct 2023 13:41:16 +0800 Subject: [PATCH] update --- sdk | 2 +- usrc/main.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sdk b/sdk index c13f0f7..9f2fd2e 160000 --- a/sdk +++ b/sdk @@ -1 +1 @@ -Subproject commit c13f0f786605b749458956e3b77c66b065315c7a +Subproject commit 9f2fd2e2c684b6a7c09bfa5c6f5ae38a44e21d1b diff --git a/usrc/main.cpp b/usrc/main.cpp index 35f6880..ac14131 100644 --- a/usrc/main.cpp +++ b/usrc/main.cpp @@ -94,8 +94,8 @@ void umain() { ZLOGI(TAG, "motora initialize 5160:%x ", g_motor.readICVersion()); } - g_motor.setAcceleration(300000); - g_motor.setDeceleration(300000); + g_motor.setAcceleration(100); + g_motor.setDeceleration(100); g_motor.setIHOLD_IRUN(0, 8, 10); g_motor.rotate(0);