Class: NMEAPlus::Message::NMEA::TTM

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

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

#_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

#closest_approach_point_distanceObject (readonly)

Returns field 8 of the payload, formatted with the function Base#_float.

Returns:

  • field 8 of the payload, formatted with the function Base#_float



14
# File 'lib/nmea_plus/message/nmea/ttm.rb', line 14

field_reader :closest_approach_point_distance, 8, :_float

#closest_approach_point_timeObject (readonly)

Returns field 9 of the payload, formatted with the function Base#_float.

Returns:

  • field 9 of the payload, formatted with the function Base#_float



15
# File 'lib/nmea_plus/message/nmea/ttm.rb', line 15

field_reader :closest_approach_point_time, 9, :_float

#reference_targetObject (readonly)

Returns field 13 of the payload, formatted with the function Base#_string.

Returns:

  • field 13 of the payload, formatted with the function Base#_string



18
# File 'lib/nmea_plus/message/nmea/ttm.rb', line 18

field_reader :reference_target, 13, :_string

#target_bearing_from_ownshipObject (readonly)

Returns field 3 of the payload, formatted with the function Base#_float.

Returns:

  • field 3 of the payload, formatted with the function Base#_float



9
# File 'lib/nmea_plus/message/nmea/ttm.rb', line 9

field_reader :target_bearing_from_ownship, 3, :_float

#target_bearing_unitsObject (readonly)

Returns field 4 of the payload, formatted with the function Base#_string.

Returns:

  • field 4 of the payload, formatted with the function Base#_string



10
# File 'lib/nmea_plus/message/nmea/ttm.rb', line 10

field_reader :target_bearing_units, 4, :_string

#target_courseObject (readonly)

Returns field 6 of the payload, formatted with the function Base#_float.

Returns:

  • field 6 of the payload, formatted with the function Base#_float



12
# File 'lib/nmea_plus/message/nmea/ttm.rb', line 12

field_reader :target_course, 6, :_float

#target_course_unitsObject (readonly)

Returns field 7 of the payload, formatted with the function Base#_string.

Returns:

  • field 7 of the payload, formatted with the function Base#_string



13
# File 'lib/nmea_plus/message/nmea/ttm.rb', line 13

field_reader :target_course_units, 7, :_string

#target_distanceObject (readonly)

Returns field 2 of the payload, formatted with the function Base#_float.

Returns:

  • field 2 of the payload, formatted with the function Base#_float



8
# File 'lib/nmea_plus/message/nmea/ttm.rb', line 8

field_reader :target_distance, 2, :_float

#target_nameObject (readonly)

Returns field 11 of the payload, formatted with the function Base#_string.

Returns:

  • field 11 of the payload, formatted with the function Base#_string



16
# File 'lib/nmea_plus/message/nmea/ttm.rb', line 16

field_reader :target_name, 11, :_string

#target_numberObject (readonly)

Returns field 1 of the payload, formatted with the function Base#_integer.

Returns:

  • field 1 of the payload, formatted with the function Base#_integer



7
# File 'lib/nmea_plus/message/nmea/ttm.rb', line 7

field_reader :target_number, 1, :_integer

#target_speedObject (readonly)

Returns field 5 of the payload, formatted with the function Base#_float.

Returns:

  • field 5 of the payload, formatted with the function Base#_float



11
# File 'lib/nmea_plus/message/nmea/ttm.rb', line 11

field_reader :target_speed, 5, :_float

#target_statusObject (readonly)

Returns field 12 of the payload, formatted with the function Base#_string.

Returns:

  • field 12 of the payload, formatted with the function Base#_string



17
# File 'lib/nmea_plus/message/nmea/ttm.rb', line 17

field_reader :target_status, 12, :_string