Class AltitudeEncoding


  • public class AltitudeEncoding
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static Altitude decode​(int encoded)  
      static Altitude decodeModeC​(int encoded)
      Decode mode C altitude using appendix chapter three of ICAO Annex 10 Volume 9.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AltitudeEncoding

        public AltitudeEncoding()
    • Method Detail

      • decode

        public static Altitude decode​(int encoded)
      • decodeModeC

        public static Altitude decodeModeC​(int encoded)
        Decode mode C altitude using appendix chapter three of ICAO Annex 10 Volume 9. Using SSR Automtic pressure altitude transmission code (pulse position assignment) table.

        Oh yes this is using a lengthy table.

        Parameters:
        encoded - 13 bit encoded altitude with mbit/qbit
        Returns:
        encoded altitude with 100ft accuracy