forked from StopPointTeam/TaiChi
修正错误
This commit is contained in:
parent
d69e6198cc
commit
e1dd5db1ab
@ -600,6 +600,13 @@ bool CatchAndCheck(float speed)
|
|||||||
//打开爪子
|
//打开爪子
|
||||||
if(!OpenClawAndCheck()) //未能打开爪子
|
if(!OpenClawAndCheck()) //未能打开爪子
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
//更新时间
|
||||||
|
begin_time = millis();
|
||||||
|
|
||||||
|
//执行抓取动作
|
||||||
|
servo.Catch(speed);
|
||||||
|
catch_times++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user