AHRSInterface.AHRS.Invalidate C# (CSharp) Method

Invalidate() public method

public Invalidate ( ) : void
return void
        public void Invalidate()
        {
            // Clear 'update' and 'measured' data members.
            for (int i = 0; i < UpdatePending.Length; i++)
            {
                UpdatePending[i] = false;
                Measured[i] = false;

                // Set maximum delay in milliseconds.  Set to 200 ms for each packet - special cases (ie. packets that take longer) are
                // set later.
                MaxDelay[i] = 1;
                ElapsedTime[i] = 0;
                DataPending[i] = false;
            }

            // Set 'Measured' flag to 'true' for packets that should not be sent on synchronization.

            Measured[(int)StateName.SENSOR_DATA] = true;
        }