diff --git a/DroneSimulator/Drone.cs b/DroneSimulator/Drone.cs index a6af941..302b389 100644 --- a/DroneSimulator/Drone.cs +++ b/DroneSimulator/Drone.cs @@ -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);