Exemplo n.º 1
0
        private double CalculateVSpeed(int rngIndex)
        {
            ushort rngValue = RngIndexer.GetRngValue(rngIndex);
            double vSpeed   = (rngValue / 65536d) * VSpeedScale + VSpeedOffset;

            return(vSpeed);
        }
Exemplo n.º 2
0
        private ushort CalculateAngle(int rngIndex)
        {
            ushort rngValue = RngIndexer.GetRngValue(rngIndex);
            ushort angle    = rngValue;

            return(angle);
        }
Exemplo n.º 3
0
        private double CalculateHSpeed(int rngIndex)
        {
            ushort rngValue = RngIndexer.GetRngValue(rngIndex);
            double hSpeed   = (rngValue / 65536d) * HSpeedScale;

            return(hSpeed);
        }