protected override void ResetVariables()
        {
            base.ResetVariables();

            currentNavigationDataStruct = new NavigationDataStruct();
            currentNavigationDataHeaderStruct = new NavigationDataHeaderStruct();

            currentNavigationData = new DroneData();

            currentSequenceNumber = initialSequenceNumber;
        }
        private void DetermineNavigationDataHeader(byte[] buffer)
        {
            unsafe
            {
                fixed (byte* entry = &buffer[0])
                {
                    currentNavigationDataHeaderStruct = *(NavigationDataHeaderStruct*)entry;
                }
            }

            SetStatusFlags(currentNavigationDataHeaderStruct.Status);
            //Console.WriteLine(currentNavigationDataHeaderStruct.Status);
        }