From d1db42791543bcd37f818f150b4e37ba42cba56b Mon Sep 17 00:00:00 2001 From: Sergey Sklyarov Date: Tue, 22 Jul 2025 00:15:01 +0300 Subject: [PATCH] --- --- DroneSimulator/Drone.cs | 9 --------- 1 file changed, 9 deletions(-) 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);