From e1dd5db1abc88b957bc56979688827f535f51a2d Mon Sep 17 00:00:00 2001 From: "lxbpxylps@126.com" Date: Thu, 18 Feb 2021 21:37:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- TaiChi/TaiChi.ino | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/TaiChi/TaiChi.ino b/TaiChi/TaiChi.ino index 290eaeb..715323e 100644 --- a/TaiChi/TaiChi.ino +++ b/TaiChi/TaiChi.ino @@ -600,6 +600,13 @@ bool CatchAndCheck(float speed) //打开爪子 if(!OpenClawAndCheck()) //未能打开爪子 return false; + + //更新时间 + begin_time = millis(); + + //执行抓取动作 + servo.Catch(speed); + catch_times++; } }