---
This commit is contained in:
@ -63,15 +63,6 @@ namespace DroneSimulator
|
||||
private RealMode.Range RealRange = new RealMode.Range();
|
||||
private RealMode.OpticalFlow RealOF = new RealMode.OpticalFlow();
|
||||
|
||||
private uint TickCount = 0;
|
||||
|
||||
private uint Ticks()
|
||||
{
|
||||
uint tick = (uint)(Stopwatch.GetTimestamp() / Stopwatch.Frequency / 1000);
|
||||
TickCount += tick;
|
||||
return TickCount;
|
||||
}
|
||||
|
||||
public static byte[] getBytes(object data)
|
||||
{
|
||||
int size = Marshal.SizeOf(data);
|
||||
|
Reference in New Issue
Block a user