Class: NMEAPlus::Message::AIS::VDMPayload::VDMMsg9

Inherits:
VDMMsg
  • Object
show all
Defined in:
lib/nmea_plus/message/ais/vdm_payload/vdm_msg9.rb

Overview

AIS Type 9: Standard SAR Aircraft Position Report

Instance Attribute Summary collapse

Attributes inherited from VDMMsg

#message_type, #repeat_indicator, #source_mmsi, #source_mmsi_info

Attributes inherited from Payload

#fill_bits, #payload_bitstring

Method Summary

Methods inherited from VDMMsg

#auxiliary_craft?, #get_navigational_status_description, #get_ship_cargo_type_description

Methods inherited from Payload

#_2b_data_string, #_6b_ascii, #_6b_boolean, #_6b_integer, #_6b_integer_scaled, #_6b_integer_scaled_shifted, #_6b_negated_boolean, #_6b_string, #_6b_string_nullterminated, #_6b_unsigned_integer, #_6b_unsigned_integer_scaled, #_6b_unsigned_integer_scaled_shifted, #_8b_data_string, #_access, #_bit_slices, #_get_date_mdhm, #_object_by_name, #initialize, payload_reader

Constructor Details

This class inherits a constructor from NMEAPlus::Message::AIS::VDMPayload::Payload

Instance Attribute Details

#altitude_metersObject (readonly)

Returns The field defined by the 12 bits starting at payload bit 38, formatted with the function Payload#_u(4095, , ).

Returns:

  • The field defined by the 12 bits starting at payload bit 38, formatted with the function Payload#_u(4095, , )



10
# File 'lib/nmea_plus/message/ais/vdm_payload/vdm_msg9.rb', line 10

payload_reader :altitude_meters, 38, 12, :_u, 4095

#assigned?Object (readonly)

Returns The field defined by the 1 bits starting at payload bit 146, formatted with the function Payload#_b(, , ).

Returns:

  • The field defined by the 1 bits starting at payload bit 146, formatted with the function Payload#_b(, , )



20
# File 'lib/nmea_plus/message/ais/vdm_payload/vdm_msg9.rb', line 20

payload_reader :assigned?, 146, 1, :_b

#course_over_groundObject (readonly)

Returns The field defined by the 12 bits starting at payload bit 116, formatted with the function Payload#_U(10, , ).

Returns:

  • The field defined by the 12 bits starting at payload bit 116, formatted with the function Payload#_U(10, , )



16
# File 'lib/nmea_plus/message/ais/vdm_payload/vdm_msg9.rb', line 16

payload_reader :course_over_ground, 116, 12, :_U, 10

#dte_ready?Object (readonly)

Returns The field defined by the 1 bits starting at payload bit 142, formatted with the function Payload#_nb(, , ).

Returns:

  • The field defined by the 1 bits starting at payload bit 142, formatted with the function Payload#_nb(, , )



18
# File 'lib/nmea_plus/message/ais/vdm_payload/vdm_msg9.rb', line 18

payload_reader :dte_ready?, 142, 1, :_nb

#latitudeObject (readonly)

Returns The field defined by the 27 bits starting at payload bit 89, formatted with the function Payload#_I(60 * 10**4, 91, ).

Returns:

  • The field defined by the 27 bits starting at payload bit 89, formatted with the function Payload#_I(60 * 10**4, 91, )



15
# File 'lib/nmea_plus/message/ais/vdm_payload/vdm_msg9.rb', line 15

payload_reader :latitude, 89, 27, :_I, 60 * 10**4, 91

#longitudeObject (readonly)

Returns The field defined by the 28 bits starting at payload bit 61, formatted with the function Payload#_I(60 * 10**4, 181, ).

Returns:

  • The field defined by the 28 bits starting at payload bit 61, formatted with the function Payload#_I(60 * 10**4, 181, )



14
# File 'lib/nmea_plus/message/ais/vdm_payload/vdm_msg9.rb', line 14

payload_reader :longitude, 61, 28, :_I, 60 * 10**4, 181

#position_10m_accuracy?Object (readonly)

Returns The field defined by the 1 bits starting at payload bit 60, formatted with the function Payload#_b(, , ).

Returns:

  • The field defined by the 1 bits starting at payload bit 60, formatted with the function Payload#_b(, , )



13
# File 'lib/nmea_plus/message/ais/vdm_payload/vdm_msg9.rb', line 13

payload_reader :position_10m_accuracy?, 60, 1, :_b

#raim?Object (readonly)

Returns The field defined by the 1 bits starting at payload bit 147, formatted with the function Payload#_b(, , ).

Returns:

  • The field defined by the 1 bits starting at payload bit 147, formatted with the function Payload#_b(, , )



21
# File 'lib/nmea_plus/message/ais/vdm_payload/vdm_msg9.rb', line 21

payload_reader :raim?, 147, 1, :_b

#speed_over_groundObject (readonly)

Returns The field defined by the 10 bits starting at payload bit 50, formatted with the function Payload#_U(1, 1023, ).

Returns:

  • The field defined by the 10 bits starting at payload bit 50, formatted with the function Payload#_U(1, 1023, )



12
# File 'lib/nmea_plus/message/ais/vdm_payload/vdm_msg9.rb', line 12

payload_reader :speed_over_ground, 50, 10, :_U, 1, 1023

#time_stampObject (readonly)

Returns The field defined by the 6 bits starting at payload bit 128, formatted with the function Payload#_u(, , ).

Returns:

  • The field defined by the 6 bits starting at payload bit 128, formatted with the function Payload#_u(, , )



17
# File 'lib/nmea_plus/message/ais/vdm_payload/vdm_msg9.rb', line 17

payload_reader :time_stamp, 128, 6, :_u