增加注释,无修改
This commit is contained in:
parent
dad6373e8f
commit
6cd247662a
@ -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++)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user