struct IGC::Fix

Defined in:

igc/fix.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(coords : IGC::LatLon, time : Time, valid : Bool, pressure_altitude : Int32, gnss_altitude : Int32) #

[View source]

Instance Method Detail

def air_speed : Int32 | Nil #

IAS: Airspeed in km/h


[View source]
def air_speed=(air_speed : Int32 | Nil) #

IAS: Airspeed in km/h


[View source]
def coords : LatLon #

Location of the fix


[View source]
def coords=(coords : LatLon) #

Location of the fix


[View source]
def extensions : Hash(String, String) #

Extensions contained in the fix record


[View source]
def extensions=(extensions : Hash(String, String)) #

Extensions contained in the fix record


[View source]
def gnss_altitude : Int32 #

GPS altitude in meters


[View source]
def gnss_altitude=(gnss_altitude : Int32) #

GPS altitude in meters


[View source]
def magnetic_heading : UInt16 | Nil #

HDM: Magnetic heading, 0 is north


[View source]
def magnetic_heading=(magnetic_heading : UInt16 | Nil) #

HDM: Magnetic heading, 0 is north


[View source]
def populate_known_extensions #

[View source]
def pressure_altitude : Int32 #

Pressure altitude in meters


[View source]
def pressure_altitude=(pressure_altitude : Int32) #

Pressure altitude in meters


[View source]
def satellites_in_use : Int32 | Nil #

SIU: Number of satilles in use


[View source]
def satellites_in_use=(satellites_in_use : Int32 | Nil) #

SIU: Number of satilles in use


[View source]
def time : Time #

Time at which the fix was recorded. If the TDS record is present, then the decimal seconds presion will be applied.


[View source]
def time=(time : Time) #

Time at which the fix was recorded. If the TDS record is present, then the decimal seconds presion will be applied.


[View source]
def true_air_speed : Int32 | Nil #

TAS: True air speed in km/h


[View source]
def true_air_speed=(true_air_speed : Int32 | Nil) #

TAS: True air speed in km/h


[View source]
def true_heading : UInt16 | Nil #

HDT: True heading, 0 is north


[View source]
def true_heading=(true_heading : UInt16 | Nil) #

HDT: True heading, 0 is north


[View source]
def valid : Bool #

Is the fix valid?


[View source]
def valid=(valid : Bool) #

Is the fix valid?


[View source]
def valid? : Bool #

[View source]
def wind_direction : UInt16 | Nil #

WDI: Direction the wind is coming from, 0 is north


[View source]
def wind_direction=(wind_direction : UInt16 | Nil) #

WDI: Direction the wind is coming from, 0 is north


[View source]
def wind_speed : Int32 | Nil #

WSP: Wind speed in km/h


[View source]
def wind_speed=(wind_speed : Int32 | Nil) #

WSP: Wind speed in km/h


[View source]