改回50间隔

修复方向不正确的bug
This commit is contained in:
xu 2020-11-26 18:51:13 +08:00
parent 3e46bbb376
commit f7be769b33
2 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ namespace Plane.Copters
/// <summary>
/// 更新虚拟飞行器状态的时间间隔,单位为毫秒。
/// </summary>
private const int UPDATE_INTERVAL = 50; //默认100 150可以跑1000架 100可以跑500架 50可以200-300架
private const int UPDATE_INTERVAL = 50; //默认100 i7电脑 150可以跑1000架 100可以跑500架 50可以200-300架
/// <summary>
/// 对飞行器的模拟是否正在运行。

View File

@ -152,7 +152,7 @@ namespace Plane.Protocols
public byte lock_status;
public byte gps_num_sats;
public Int16 battery_voltage;
public Int16 heading;
public UInt16 heading;
};