Class: NMEAPlus::Message::NMEA::OLN
- Inherits:
-
NMEAMessage
- Object
- Base
- NMEAMessage
- NMEAPlus::Message::NMEA::OLN
- 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
-
#omega_pair1 ⇒ OmegaLanePair
readonly
Pair 1.
-
#omega_pair2 ⇒ OmegaLanePair
readonly
Pair 2.
-
#omega_pair3 ⇒ OmegaLanePair
readonly
Pair 3, AB-GH.
- #omega_pairs ⇒ Array<OmegaLanePair> readonly
Attributes inherited from NMEAMessage
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
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_pair1 ⇒ OmegaLanePair (readonly)
Pair 1
36 37 38 |
# File 'lib/nmea_plus/message/nmea/oln.rb', line 36 def omega_pair1 OmegaLanePair.new(@fields[1..3]) end |
#omega_pair2 ⇒ OmegaLanePair (readonly)
Pair 2
43 44 45 |
# File 'lib/nmea_plus/message/nmea/oln.rb', line 43 def omega_pair2 OmegaLanePair.new(@fields[4..6]) end |
#omega_pair3 ⇒ OmegaLanePair (readonly)
Pair 3, AB-GH
50 51 52 |
# File 'lib/nmea_plus/message/nmea/oln.rb', line 50 def omega_pair3 OmegaLanePair.new(@fields[7..9]) end |
#omega_pairs ⇒ Array<OmegaLanePair> (readonly)
56 57 58 |
# File 'lib/nmea_plus/message/nmea/oln.rb', line 56 def omega_pairs [omega_pair1, omega_pair2, omega_pair3] end |