diff --git a/sdk b/sdk index 85b8278..1bd944d 160000 --- a/sdk +++ b/sdk @@ -1 +1 @@ -Subproject commit 85b827815841cd0ad95352d5ee5917a6034c45e3 +Subproject commit 1bd944d7ea168f6378ac8d8da86badf4c2f0ba27 diff --git a/usrc/main.cpp b/usrc/main.cpp index d5f21eb..cadebf3 100644 --- a/usrc/main.cpp +++ b/usrc/main.cpp @@ -79,14 +79,14 @@ static void initsubmodule() { motora.setAcceleration(300); motora.setDeceleration(300); - motora.setIHOLD_IRUN(0, 4, 10); + motora.setIHOLD_IRUN(0, 1, 10); motorb.setAcceleration(300); motorb.setDeceleration(300); - motorb.setIHOLD_IRUN(0, 4, 10); + motorb.setIHOLD_IRUN(0, 1, 10); - motora.rotate(0); - motorb.rotate(0); + motora.enable(false); + motorb.enable(false); /******************************************************************************* * zcanXYRobotCtrlModule *