Class: NMEAPlus::Message::NMEA::RMB
- Inherits:
-
NMEAMessage
- Object
- Base
- NMEAMessage
- NMEAPlus::Message::NMEA::RMB
- Defined in:
- lib/nmea_plus/message/nmea/rmb.rb
Overview
RMB - Recommended Minimum Navigation Information
Instance Attribute Summary collapse
-
#active? ⇒ Object
readonly
Field 1 of the payload, formatted with the function #_av_boolean.
-
#arrival_circle_entered? ⇒ Object
readonly
Field 13 of the payload, formatted with the function #_av_boolean.
-
#bearing_to_destination_degrees_true ⇒ Object
readonly
Field 11 of the payload, formatted with the function #_float.
-
#cross_track_error_nautical_miles ⇒ Object
readonly
Field 2 of the payload, formatted with the function #_float.
-
#destination_closing_velocity_knots ⇒ Object
readonly
Field 12 of the payload, formatted with the function #_float.
-
#direction_to_steer ⇒ Object
readonly
Field 3 of the payload, formatted with the function #_string.
-
#faa_mode ⇒ Object
readonly
Field 14 of the payload, formatted with the function #_string.
-
#range_to_destination_nautical_miles ⇒ Object
readonly
Field 10 of the payload, formatted with the function #_float.
-
#waypoint_from ⇒ Object
readonly
Field 5 of the payload, formatted with the function #_integer.
- #waypoint_latitude ⇒ Float readonly
- #waypoint_longitude ⇒ Float readonly
-
#waypoint_to ⇒ Object
readonly
Field 4 of the payload, formatted with the function #_integer.
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
#active? ⇒ Object (readonly)
Returns field 1 of the payload, formatted with the function #_av_boolean.
9 |
# File 'lib/nmea_plus/message/nmea/rmb.rb', line 9 field_reader :active?, 1, :_av_boolean |
#arrival_circle_entered? ⇒ Object (readonly)
Returns field 13 of the payload, formatted with the function #_av_boolean.
30 |
# File 'lib/nmea_plus/message/nmea/rmb.rb', line 30 field_reader :arrival_circle_entered?, 13, :_av_boolean |
#bearing_to_destination_degrees_true ⇒ Object (readonly)
Returns field 11 of the payload, formatted with the function #_float.
28 |
# File 'lib/nmea_plus/message/nmea/rmb.rb', line 28 field_reader :bearing_to_destination_degrees_true, 11, :_float |
#cross_track_error_nautical_miles ⇒ Object (readonly)
Returns field 2 of the payload, formatted with the function #_float.
10 |
# File 'lib/nmea_plus/message/nmea/rmb.rb', line 10 field_reader :cross_track_error_nautical_miles, 2, :_float |
#destination_closing_velocity_knots ⇒ Object (readonly)
Returns field 12 of the payload, formatted with the function #_float.
29 |
# File 'lib/nmea_plus/message/nmea/rmb.rb', line 29 field_reader :destination_closing_velocity_knots, 12, :_float |
#direction_to_steer ⇒ Object (readonly)
Returns field 3 of the payload, formatted with the function #_string.
11 |
# File 'lib/nmea_plus/message/nmea/rmb.rb', line 11 field_reader :direction_to_steer, 3, :_string |
#faa_mode ⇒ Object (readonly)
Returns field 14 of the payload, formatted with the function #_string.
31 |
# File 'lib/nmea_plus/message/nmea/rmb.rb', line 31 field_reader :faa_mode, 14, :_string |
#range_to_destination_nautical_miles ⇒ Object (readonly)
Returns field 10 of the payload, formatted with the function #_float.
27 |
# File 'lib/nmea_plus/message/nmea/rmb.rb', line 27 field_reader :range_to_destination_nautical_miles, 10, :_float |
#waypoint_from ⇒ Object (readonly)
Returns field 5 of the payload, formatted with the function #_integer.
13 |
# File 'lib/nmea_plus/message/nmea/rmb.rb', line 13 field_reader :waypoint_from, 5, :_integer |
#waypoint_latitude ⇒ Float (readonly)
17 18 19 |
# File 'lib/nmea_plus/message/nmea/rmb.rb', line 17 def waypoint_latitude self.class.degrees_minutes_to_decimal(@fields[6], @fields[7]) end |
#waypoint_longitude ⇒ Float (readonly)
23 24 25 |
# File 'lib/nmea_plus/message/nmea/rmb.rb', line 23 def waypoint_longitude self.class.degrees_minutes_to_decimal(@fields[8], @fields[9]) end |
#waypoint_to ⇒ Object (readonly)
Returns field 4 of the payload, formatted with the function #_integer.
12 |
# File 'lib/nmea_plus/message/nmea/rmb.rb', line 12 field_reader :waypoint_to, 4, :_integer |