Class: NMEAPlus::Message::NMEA::DRU

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

Overview

DRU - Dual Doppler Auxiliary Data

Depth, turn rate and % RPM in support of Doppler velocity systems. The use of $–DPT is recommended for depth data, $–RPM for shaft rotation and $–ROT for rate of turn.

See Also:

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

#depth_metersObject (readonly)

Depth, meters

Returns:

  • field 1 of the payload, formatted with the function #_float



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

field_reader :depth_meters, 1, :_float

#depth_valid?Object (readonly)

Status: Depth

Returns:

  • field 2 of the payload, formatted with the function #_av_boolean



20
# File 'lib/nmea_plus/message/nmea/dru.rb', line 20

field_reader :depth_valid?, 2, :_av_boolean

#rate_of_turn_starboard_degrees_per_minuteObject (readonly)

Rate of turn, degrees per minute, “-” = port

Returns:

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



23
# File 'lib/nmea_plus/message/nmea/dru.rb', line 23

field_reader :rate_of_turn_starboard_degrees_per_minute, 3, :_float

#rate_of_turn_valid?Object (readonly)

Status: Rate of turn

Returns:

  • field 4 of the payload, formatted with the function #_av_boolean



26
# File 'lib/nmea_plus/message/nmea/dru.rb', line 26

field_reader :rate_of_turn_valid?, 4, :_av_boolean

#rotation_percentageObject (readonly)

Propeller shaft rotation, % of maximum, “-” = astern

Returns:

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



29
# File 'lib/nmea_plus/message/nmea/dru.rb', line 29

field_reader :rotation_percentage, 5, :_float