增加注释,无修改

This commit is contained in:
pxzleo 2017-04-07 20:29:27 +08:00
parent dad6373e8f
commit 6cd247662a

View File

@ -694,12 +694,12 @@ namespace Plane.FormationCreator.Formation
await info.Copter.HoverAsync(); await info.Copter.HoverAsync();
return; return;
} }
await Task.Delay(25).ConfigureAwait(false); await Task.Delay(25).ConfigureAwait(false); //判断是否到达位置20hz
dtNow = DateTime.Now; dtNow = DateTime.Now;
ts = dtNow - dtLastTime; ts = dtNow - dtLastTime;
if (ts.TotalMilliseconds > 500) // 每200ms发送一遍指点坐标 if (ts.TotalMilliseconds > 500) // 每500ms发送一遍指点坐标
{ {
for (int i = 0; i < 2; i++) for (int i = 0; i < 2; i++)
{ {