Class: NMEAPlus::Message::NMEA::OLN

Inherits:
NMEAMessage show all
Defined in:
lib/nmea_plus/message/nmea/oln.rb

Overview

OLN - Omega Lane Numbers Omega Lines of Positions (LOPs).

OMEGA system is not operational, no recommended replacement.

Defined Under Namespace

Classes: OmegaLanePair

Instance Attribute Summary collapse

Attributes inherited from NMEAMessage

#message_type, #talker

Attributes inherited from Base

#checksum, #data_type, #fields, #interpreted_data_type, #message_number, #next_part, #original, #payload, #prefix, #total_messages

Method Summary

Methods inherited from NMEAMessage

_10_boolean, _av_boolean

Methods inherited from Base

_float, _hex_to_integer, #_highest_contiguous_index, _integer, _interval_hms, _string, _utc_date_time, _utctime_hms, #add_message_part, #all_checksums_ok?, #all_messages_received?, #calculated_checksum, #checksum_ok?, degrees_minutes_to_decimal, field_reader, #highest_contiguous_index, nsew_signed_float

Instance Attribute Details

#omega_pair1OmegaLanePair (readonly)

Pair 1

Returns:



36
37
38
# File 'lib/nmea_plus/message/nmea/oln.rb', line 36

def omega_pair1
  OmegaLanePair.new(@fields[1..3])
end

#omega_pair2OmegaLanePair (readonly)

Pair 2

Returns:



43
44
45
# File 'lib/nmea_plus/message/nmea/oln.rb', line 43

def omega_pair2
  OmegaLanePair.new(@fields[4..6])
end

#omega_pair3OmegaLanePair (readonly)

Pair 3, AB-GH

Returns:



50
51
52
# File 'lib/nmea_plus/message/nmea/oln.rb', line 50

def omega_pair3
  OmegaLanePair.new(@fields[7..9])
end

#omega_pairsArray<OmegaLanePair> (readonly)

Returns:



56
57
58
# File 'lib/nmea_plus/message/nmea/oln.rb', line 56

def omega_pairs
  [omega_pair1, omega_pair2, omega_pair3]
end