Class: NMEAPlus::Message::NMEA::RMB
- Inherits:
-
NMEAMessage
- Object
- Base
- NMEAMessage
- NMEAPlus::Message::NMEA::RMB
- Defined in:
- lib/nmea_plus/message/nmea/rmb.rb
Instance Attribute Summary collapse
-
#active? ⇒ Object
readonly
Field 1 of the payload, formatted with the function NMEAMessage#_av_boolean.
-
#arrival_circle_entered? ⇒ Object
readonly
Field 13 of the payload, formatted with the function NMEAMessage#_av_boolean.
-
#bearing_to_destination_degrees_true ⇒ Object
readonly
Field 11 of the payload, formatted with the function Base#_float.
-
#cross_track_error_nautical_miles ⇒ Object
readonly
Field 2 of the payload, formatted with the function Base#_float.
-
#destination_closing_velocity_knots ⇒ Object
readonly
Field 12 of the payload, formatted with the function Base#_float.
-
#direction_to_steer ⇒ Object
readonly
Field 3 of the payload, formatted with the function Base#_string.
-
#faa_mode ⇒ Object
readonly
Field 14 of the payload, formatted with the function Base#_string.
-
#range_to_destination_nautical_miles ⇒ Object
readonly
Field 10 of the payload, formatted with the function Base#_float.
-
#waypoint_from ⇒ Object
readonly
Field 5 of the payload, formatted with the function Base#_integer.
- #waypoint_latitude ⇒ Float readonly
- #waypoint_longitude ⇒ Float readonly
-
#waypoint_to ⇒ Object
readonly
Field 4 of the payload, formatted with the function Base#_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
#_degrees_minutes_to_decimal, #_float, #_hex_to_integer, #_highest_contiguous_index, #_integer, #_interval_hms, #_nsew_signed_float, #_string, #_utc_date_time, #_utctime_hms, #add_message_part, #all_checksums_ok?, #all_messages_received?, #calculated_checksum, #checksum_ok?, field_reader, #highest_contiguous_index
Instance Attribute Details
#active? ⇒ Object (readonly)
Returns field 1 of the payload, formatted with the function NMEAMessage#_av_boolean.
8 |
# File 'lib/nmea_plus/message/nmea/rmb.rb', line 8 field_reader :active?, 1, :_av_boolean |
#arrival_circle_entered? ⇒ Object (readonly)
Returns field 13 of the payload, formatted with the function NMEAMessage#_av_boolean.
29 |
# File 'lib/nmea_plus/message/nmea/rmb.rb', line 29 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 Base#_float.
27 |
# File 'lib/nmea_plus/message/nmea/rmb.rb', line 27 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 Base#_float.
9 |
# File 'lib/nmea_plus/message/nmea/rmb.rb', line 9 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 Base#_float.
28 |
# File 'lib/nmea_plus/message/nmea/rmb.rb', line 28 field_reader :destination_closing_velocity_knots, 12, :_float |
#direction_to_steer ⇒ Object (readonly)
Returns field 3 of the payload, formatted with the function Base#_string.
10 |
# File 'lib/nmea_plus/message/nmea/rmb.rb', line 10 field_reader :direction_to_steer, 3, :_string |
#faa_mode ⇒ Object (readonly)
Returns field 14 of the payload, formatted with the function Base#_string.
30 |
# File 'lib/nmea_plus/message/nmea/rmb.rb', line 30 field_reader :faa_mode, 14, :_string |
#range_to_destination_nautical_miles ⇒ Object (readonly)
Returns field 10 of the payload, formatted with the function Base#_float.
26 |
# File 'lib/nmea_plus/message/nmea/rmb.rb', line 26 field_reader :range_to_destination_nautical_miles, 10, :_float |
#waypoint_from ⇒ Object (readonly)
Returns field 5 of the payload, formatted with the function Base#_integer.
12 |
# File 'lib/nmea_plus/message/nmea/rmb.rb', line 12 field_reader :waypoint_from, 5, :_integer |
#waypoint_latitude ⇒ Float (readonly)
16 17 18 |
# File 'lib/nmea_plus/message/nmea/rmb.rb', line 16 def waypoint_latitude _degrees_minutes_to_decimal(@fields[6], @fields[7]) end |
#waypoint_longitude ⇒ Float (readonly)
22 23 24 |
# File 'lib/nmea_plus/message/nmea/rmb.rb', line 22 def waypoint_longitude _degrees_minutes_to_decimal(@fields[8], @fields[9]) end |
#waypoint_to ⇒ Object (readonly)
Returns field 4 of the payload, formatted with the function Base#_integer.
11 |
# File 'lib/nmea_plus/message/nmea/rmb.rb', line 11 field_reader :waypoint_to, 4, :_integer |