nmea_plus 1.0.23 → 1.0.24
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -1
- data/lib/nmea_plus/ais_message_factory.rb +3 -4
- data/lib/nmea_plus/generated_parser/parser.rb +5 -5
- data/lib/nmea_plus/generated_parser/tokenizer.rb +1 -1
- data/lib/nmea_plus/message/ais/base_ais.rb +1 -1
- data/lib/nmea_plus/message/ais/vdm.rb +25 -25
- data/lib/nmea_plus/message/ais/vdm_payload/payload.rb +2 -1
- data/lib/nmea_plus/message/ais/vdm_payload/vdm_msg.rb +2 -2
- data/lib/nmea_plus/message/ais/vdm_payload/vdm_msg1.rb +1 -1
- data/lib/nmea_plus/message/ais/vdm_payload/vdm_msg10.rb +1 -1
- data/lib/nmea_plus/message/ais/vdm_payload/vdm_msg11.rb +1 -1
- data/lib/nmea_plus/message/ais/vdm_payload/vdm_msg12.rb +1 -1
- data/lib/nmea_plus/message/ais/vdm_payload/vdm_msg13.rb +1 -1
- data/lib/nmea_plus/message/ais/vdm_payload/vdm_msg14.rb +1 -1
- data/lib/nmea_plus/message/ais/vdm_payload/vdm_msg15.rb +1 -1
- data/lib/nmea_plus/message/ais/vdm_payload/vdm_msg16.rb +1 -1
- data/lib/nmea_plus/message/ais/vdm_payload/vdm_msg17.rb +1 -1
- data/lib/nmea_plus/message/ais/vdm_payload/vdm_msg18.rb +1 -1
- data/lib/nmea_plus/message/ais/vdm_payload/vdm_msg19.rb +1 -1
- data/lib/nmea_plus/message/ais/vdm_payload/vdm_msg2.rb +1 -1
- data/lib/nmea_plus/message/ais/vdm_payload/vdm_msg20.rb +1 -1
- data/lib/nmea_plus/message/ais/vdm_payload/vdm_msg21.rb +1 -1
- data/lib/nmea_plus/message/ais/vdm_payload/vdm_msg24.rb +1 -1
- data/lib/nmea_plus/message/ais/vdm_payload/vdm_msg27.rb +1 -1
- data/lib/nmea_plus/message/ais/vdm_payload/vdm_msg3.rb +1 -1
- data/lib/nmea_plus/message/ais/vdm_payload/vdm_msg4.rb +1 -1
- data/lib/nmea_plus/message/ais/vdm_payload/vdm_msg5.rb +1 -1
- data/lib/nmea_plus/message/ais/vdm_payload/vdm_msg6.rb +8 -8
- data/lib/nmea_plus/message/ais/vdm_payload/vdm_msg6_dynamic_payload.rb +1 -1
- data/lib/nmea_plus/message/ais/vdm_payload/vdm_msg6d1022f61.rb +2 -2
- data/lib/nmea_plus/message/ais/vdm_payload/vdm_msg6d1f0.rb +1 -1
- data/lib/nmea_plus/message/ais/vdm_payload/vdm_msg6d1f2.rb +1 -1
- data/lib/nmea_plus/message/ais/vdm_payload/vdm_msg6d1f3.rb +1 -1
- data/lib/nmea_plus/message/ais/vdm_payload/vdm_msg6d1f4.rb +1 -1
- data/lib/nmea_plus/message/ais/vdm_payload/vdm_msg6d1f5.rb +1 -1
- data/lib/nmea_plus/message/ais/vdm_payload/vdm_msg6d235f10.rb +1 -1
- data/lib/nmea_plus/message/ais/vdm_payload/vdm_msg7.rb +1 -1
- data/lib/nmea_plus/message/ais/vdm_payload/vdm_msg8.rb +6 -6
- data/lib/nmea_plus/message/ais/vdm_payload/vdm_msg8_dynamic_payload.rb +1 -1
- data/lib/nmea_plus/message/ais/vdm_payload/vdm_msg8d1f0.rb +1 -1
- data/lib/nmea_plus/message/ais/vdm_payload/vdm_msg8d1f22.rb +2 -2
- data/lib/nmea_plus/message/ais/vdm_payload/vdm_msg8d1f31.rb +1 -1
- data/lib/nmea_plus/message/ais/vdm_payload/vdm_msg8d200f10.rb +1 -1
- data/lib/nmea_plus/message/ais/vdm_payload/vdm_msg8d366f56.rb +1 -1
- data/lib/nmea_plus/message/ais/vdm_payload/vdm_msg9.rb +1 -1
- data/lib/nmea_plus/message/ais/vdm_payload/vdm_msg_binary_acknowledgement.rb +1 -1
- data/lib/nmea_plus/message/ais/vdm_payload/vdm_msg_class_b_cs_position.rb +1 -1
- data/lib/nmea_plus/message/ais/vdm_payload/vdm_msg_cnb.rb +1 -1
- data/lib/nmea_plus/message/ais/vdm_payload/vdm_msg_station_report.rb +1 -1
- data/lib/nmea_plus/message/ais/vdo.rb +1 -1
- data/lib/nmea_plus/message/base.rb +4 -4
- data/lib/nmea_plus/message/nmea/aam.rb +1 -1
- data/lib/nmea_plus/message/nmea/alm.rb +1 -1
- data/lib/nmea_plus/message/nmea/apa.rb +1 -1
- data/lib/nmea_plus/message/nmea/apb.rb +1 -1
- data/lib/nmea_plus/message/nmea/base_nmea.rb +1 -1
- data/lib/nmea_plus/message/nmea/bec.rb +1 -1
- data/lib/nmea_plus/message/nmea/ber.rb +1 -1
- data/lib/nmea_plus/message/nmea/bod.rb +1 -1
- data/lib/nmea_plus/message/nmea/bpi.rb +1 -1
- data/lib/nmea_plus/message/nmea/bwc.rb +2 -2
- data/lib/nmea_plus/message/nmea/bwr.rb +1 -1
- data/lib/nmea_plus/message/nmea/bww.rb +2 -2
- data/lib/nmea_plus/message/nmea/dbk.rb +1 -1
- data/lib/nmea_plus/message/nmea/dbs.rb +2 -2
- data/lib/nmea_plus/message/nmea/dbt.rb +2 -2
- data/lib/nmea_plus/message/nmea/dcn.rb +1 -1
- data/lib/nmea_plus/message/nmea/dpt.rb +1 -1
- data/lib/nmea_plus/message/nmea/dru.rb +1 -1
- data/lib/nmea_plus/message/nmea/dtm.rb +1 -1
- data/lib/nmea_plus/message/nmea/fsi.rb +1 -1
- data/lib/nmea_plus/message/nmea/gbs.rb +1 -1
- data/lib/nmea_plus/message/nmea/gda.rb +1 -1
- data/lib/nmea_plus/message/nmea/gdf.rb +1 -1
- data/lib/nmea_plus/message/nmea/gdp.rb +1 -1
- data/lib/nmea_plus/message/nmea/gga.rb +1 -1
- data/lib/nmea_plus/message/nmea/gla.rb +1 -1
- data/lib/nmea_plus/message/nmea/glc.rb +1 -1
- data/lib/nmea_plus/message/nmea/glf.rb +1 -1
- data/lib/nmea_plus/message/nmea/gll.rb +1 -1
- data/lib/nmea_plus/message/nmea/glp.rb +1 -1
- data/lib/nmea_plus/message/nmea/gns.rb +1 -1
- data/lib/nmea_plus/message/nmea/goa.rb +1 -1
- data/lib/nmea_plus/message/nmea/gof.rb +1 -1
- data/lib/nmea_plus/message/nmea/gop.rb +1 -1
- data/lib/nmea_plus/message/nmea/grs.rb +1 -1
- data/lib/nmea_plus/message/nmea/gsa.rb +1 -1
- data/lib/nmea_plus/message/nmea/gst.rb +1 -1
- data/lib/nmea_plus/message/nmea/gsv.rb +1 -1
- data/lib/nmea_plus/message/nmea/gtd.rb +1 -1
- data/lib/nmea_plus/message/nmea/gxa.rb +1 -1
- data/lib/nmea_plus/message/nmea/gxf.rb +1 -1
- data/lib/nmea_plus/message/nmea/gxp.rb +1 -1
- data/lib/nmea_plus/message/nmea/hcc.rb +1 -1
- data/lib/nmea_plus/message/nmea/hcd.rb +1 -1
- data/lib/nmea_plus/message/nmea/hdg.rb +1 -1
- data/lib/nmea_plus/message/nmea/hdm.rb +1 -1
- data/lib/nmea_plus/message/nmea/hdt.rb +1 -1
- data/lib/nmea_plus/message/nmea/hfb.rb +1 -1
- data/lib/nmea_plus/message/nmea/hsc.rb +1 -1
- data/lib/nmea_plus/message/nmea/htc.rb +1 -1
- data/lib/nmea_plus/message/nmea/hvd.rb +1 -1
- data/lib/nmea_plus/message/nmea/hvm.rb +1 -1
- data/lib/nmea_plus/message/nmea/ima.rb +1 -1
- data/lib/nmea_plus/message/nmea/its.rb +1 -1
- data/lib/nmea_plus/message/nmea/lcd.rb +1 -1
- data/lib/nmea_plus/message/nmea/mda.rb +1 -1
- data/lib/nmea_plus/message/nmea/mhu.rb +1 -1
- data/lib/nmea_plus/message/nmea/mmb.rb +1 -1
- data/lib/nmea_plus/message/nmea/msk.rb +1 -1
- data/lib/nmea_plus/message/nmea/mss.rb +1 -1
- data/lib/nmea_plus/message/nmea/mta.rb +1 -1
- data/lib/nmea_plus/message/nmea/mtw.rb +1 -1
- data/lib/nmea_plus/message/nmea/mwh.rb +1 -1
- data/lib/nmea_plus/message/nmea/mws.rb +1 -1
- data/lib/nmea_plus/message/nmea/mwv.rb +1 -1
- data/lib/nmea_plus/message/nmea/oln.rb +1 -1
- data/lib/nmea_plus/message/nmea/olw.rb +1 -1
- data/lib/nmea_plus/message/nmea/omp.rb +1 -1
- data/lib/nmea_plus/message/nmea/onz.rb +1 -1
- data/lib/nmea_plus/message/nmea/osd.rb +1 -1
- data/lib/nmea_plus/message/nmea/proprietary/pashr.rb +1 -1
- data/lib/nmea_plus/message/nmea/r00.rb +1 -1
- data/lib/nmea_plus/message/nmea/rma.rb +1 -1
- data/lib/nmea_plus/message/nmea/rmb.rb +1 -1
- data/lib/nmea_plus/message/nmea/rmc.rb +1 -1
- data/lib/nmea_plus/message/nmea/rnn.rb +1 -1
- data/lib/nmea_plus/message/nmea/rot.rb +1 -1
- data/lib/nmea_plus/message/nmea/rpm.rb +1 -1
- data/lib/nmea_plus/message/nmea/rsa.rb +1 -1
- data/lib/nmea_plus/message/nmea/rsd.rb +1 -1
- data/lib/nmea_plus/message/nmea/rte.rb +1 -1
- data/lib/nmea_plus/message/nmea/sbk.rb +1 -1
- data/lib/nmea_plus/message/nmea/scd.rb +1 -1
- data/lib/nmea_plus/message/nmea/scy.rb +1 -1
- data/lib/nmea_plus/message/nmea/sdb.rb +1 -1
- data/lib/nmea_plus/message/nmea/sfi.rb +1 -1
- data/lib/nmea_plus/message/nmea/sgd.rb +1 -1
- data/lib/nmea_plus/message/nmea/sgr.rb +1 -1
- data/lib/nmea_plus/message/nmea/siu.rb +1 -1
- data/lib/nmea_plus/message/nmea/slc.rb +1 -1
- data/lib/nmea_plus/message/nmea/snc.rb +1 -1
- data/lib/nmea_plus/message/nmea/snu.rb +1 -1
- data/lib/nmea_plus/message/nmea/sps.rb +1 -1
- data/lib/nmea_plus/message/nmea/ssf.rb +1 -1
- data/lib/nmea_plus/message/nmea/stc.rb +1 -1
- data/lib/nmea_plus/message/nmea/stn.rb +1 -1
- data/lib/nmea_plus/message/nmea/str.rb +1 -1
- data/lib/nmea_plus/message/nmea/sys.rb +1 -1
- data/lib/nmea_plus/message/nmea/tds.rb +1 -1
- data/lib/nmea_plus/message/nmea/tec.rb +1 -1
- data/lib/nmea_plus/message/nmea/tep.rb +1 -1
- data/lib/nmea_plus/message/nmea/tfi.rb +1 -1
- data/lib/nmea_plus/message/nmea/tga.rb +1 -1
- data/lib/nmea_plus/message/nmea/tif.rb +1 -1
- data/lib/nmea_plus/message/nmea/tpc.rb +1 -1
- data/lib/nmea_plus/message/nmea/tpr.rb +1 -1
- data/lib/nmea_plus/message/nmea/tpt.rb +1 -1
- data/lib/nmea_plus/message/nmea/trf.rb +1 -1
- data/lib/nmea_plus/message/nmea/trp.rb +1 -1
- data/lib/nmea_plus/message/nmea/trs.rb +1 -1
- data/lib/nmea_plus/message/nmea/ttm.rb +1 -1
- data/lib/nmea_plus/message/nmea/vbw.rb +1 -1
- data/lib/nmea_plus/message/nmea/vcd.rb +1 -1
- data/lib/nmea_plus/message/nmea/vdr.rb +1 -1
- data/lib/nmea_plus/message/nmea/vhw.rb +1 -1
- data/lib/nmea_plus/message/nmea/vlw.rb +1 -1
- data/lib/nmea_plus/message/nmea/vpe.rb +1 -1
- data/lib/nmea_plus/message/nmea/vpw.rb +1 -1
- data/lib/nmea_plus/message/nmea/vta.rb +1 -1
- data/lib/nmea_plus/message/nmea/vtg.rb +1 -1
- data/lib/nmea_plus/message/nmea/vti.rb +1 -1
- data/lib/nmea_plus/message/nmea/vwe.rb +1 -1
- data/lib/nmea_plus/message/nmea/vwr.rb +1 -1
- data/lib/nmea_plus/message/nmea/vwt.rb +1 -1
- data/lib/nmea_plus/message/nmea/wcv.rb +1 -1
- data/lib/nmea_plus/message/nmea/wdc.rb +1 -1
- data/lib/nmea_plus/message/nmea/wdr.rb +1 -1
- data/lib/nmea_plus/message/nmea/wfm.rb +1 -1
- data/lib/nmea_plus/message/nmea/wnc.rb +1 -1
- data/lib/nmea_plus/message/nmea/wnr.rb +1 -1
- data/lib/nmea_plus/message/nmea/wpl.rb +1 -1
- data/lib/nmea_plus/message/nmea/xdr.rb +1 -1
- data/lib/nmea_plus/message/nmea/xte.rb +1 -1
- data/lib/nmea_plus/message/nmea/xtr.rb +1 -1
- data/lib/nmea_plus/message/nmea/ywp.rb +1 -1
- data/lib/nmea_plus/message/nmea/yws.rb +1 -1
- data/lib/nmea_plus/message/nmea/zaa.rb +1 -1
- data/lib/nmea_plus/message/nmea/zcd.rb +1 -1
- data/lib/nmea_plus/message/nmea/zda.rb +1 -1
- data/lib/nmea_plus/message/nmea/zev.rb +1 -1
- data/lib/nmea_plus/message/nmea/zfi.rb +1 -1
- data/lib/nmea_plus/message/nmea/zfo.rb +1 -1
- data/lib/nmea_plus/message/nmea/zlz.rb +1 -1
- data/lib/nmea_plus/message/nmea/zpi.rb +1 -1
- data/lib/nmea_plus/message/nmea/zta.rb +1 -1
- data/lib/nmea_plus/message/nmea/zte.rb +1 -1
- data/lib/nmea_plus/message/nmea/ztg.rb +1 -1
- data/lib/nmea_plus/message/nmea/zti.rb +1 -1
- data/lib/nmea_plus/message/nmea/zwp.rb +1 -1
- data/lib/nmea_plus/message/nmea/zzu.rb +1 -1
- data/lib/nmea_plus/nmea_message_factory.rb +151 -151
- data/lib/nmea_plus/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d9ded4f69edc5edef8b0bb72fd568f5a8930bfef
|
4
|
+
data.tar.gz: 4ede957791552800b73615a0bb611ea385b12565
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d33c17e8eabf3949401d3445502f2aa4b621243ca11ebd2237111831e230e6228dc12615267bdffc224d89ea6e4120e9c14300b689cf9e8cc7c337061fcad10d
|
7
|
+
data.tar.gz: 80cd387fc2953f67143e36449e7bc1f6aec1ce7670dc2996a0ee71375fe1a8682762bc0c63c9eb0a71ff51b06a359c1a37d30ed45a5cb3dd329c0265fc9ad2f9
|
data/README.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
[![Gem Version](https://badge.fury.io/rb/nmea_plus.svg)](https://rubygems.org/gems/nmea_plus)
|
4
4
|
[![Build Status](https://travis-ci.org/ianfixes/nmea_plus.svg)](https://travis-ci.org/ianfixes/nmea_plus)
|
5
|
-
[![Documentation](http://img.shields.io/badge/docs-rdoc.info-blue.svg)](http://www.rubydoc.info/gems/nmea_plus/1.0.
|
5
|
+
[![Documentation](http://img.shields.io/badge/docs-rdoc.info-blue.svg)](http://www.rubydoc.info/gems/nmea_plus/1.0.24)
|
6
6
|
[![Documentation completeness](http://inch-ci.org/github/ianfixes/nmea_plus.svg?branch=master)](http://inch-ci.org/github/ianfixes/nmea_plus)
|
7
7
|
|
8
8
|
[NMEA Plus](https://github.com/ianfixes/nmea_plus) is a Ruby gem for parsing and decoding "GPS" messages: NMEA, AIS, and any other similar formats of short messaging typically used by marine equipment. It provides convenient access (by name) to the fields of each message type, and a stream reader designed for use with Ruby Blocks.
|
@@ -71,6 +71,7 @@ source_decoder.each_complete_message do |message|
|
|
71
71
|
puts message.ais.callsign.strip # prints "ZA83R"
|
72
72
|
puts message.ais.name.strip # prints "ARCO AVON"
|
73
73
|
puts message.ais.ship_cargo_type # prints 69
|
74
|
+
puts message.ais.ship_cargo_type_description # prints "Passenger, No additional information"
|
74
75
|
puts message.ais.ship_dimension_to_bow # prints 113
|
75
76
|
puts message.ais.ship_dimension_to_stern # prints 31
|
76
77
|
puts message.ais.ship_dimension_to_port # prints 17
|
@@ -7,8 +7,8 @@
|
|
7
7
|
require 'racc/parser.rb'
|
8
8
|
|
9
9
|
|
10
|
-
|
11
|
-
|
10
|
+
require 'nmea_plus/nmea_message_factory'
|
11
|
+
require 'nmea_plus/ais_message_factory'
|
12
12
|
|
13
13
|
module NMEAPlus
|
14
14
|
class Parser < Racc::Parser
|
@@ -29,13 +29,13 @@ end
|
|
29
29
|
##### State transition tables begin ###
|
30
30
|
|
31
31
|
racc_action_table = [
|
32
|
-
2, 3,
|
32
|
+
2, 3, 4, 5, 6, 7, 8, 9 ]
|
33
33
|
|
34
34
|
racc_action_check = [
|
35
|
-
0, 0,
|
35
|
+
0, 0, 1, 2, 3, 4, 5, 6 ]
|
36
36
|
|
37
37
|
racc_action_pointer = [
|
38
|
-
-3,
|
38
|
+
-3, 2, -2, -1, 5, 4, 5, nil, nil, nil ]
|
39
39
|
|
40
40
|
racc_action_default = [
|
41
41
|
-3, -3, -3, -3, -3, -3, -3, 10, -1, -2 ]
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#--
|
2
2
|
# DO NOT MODIFY!!!!
|
3
3
|
# This file is automatically generated by rex 1.0.5
|
4
|
-
# from lexical definition file "/Users/ikatz/Development/
|
4
|
+
# from lexical definition file "/Users/ikatz/Development/Public Github/nmea_plus/parser/tokenizer.rex".
|
5
5
|
#++
|
6
6
|
|
7
7
|
|
@@ -1,7 +1,7 @@
|
|
1
|
-
|
1
|
+
require 'nmea_plus/message/ais/base_ais'
|
2
2
|
|
3
3
|
=begin boilerplate for vdm payload objects
|
4
|
-
|
4
|
+
require 'nmea_plus/message/ais/vdm_payload/vdm_msg'
|
5
5
|
|
6
6
|
module NMEAPlus
|
7
7
|
module Message
|
@@ -17,29 +17,29 @@ end
|
|
17
17
|
|
18
18
|
=end
|
19
19
|
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
20
|
+
require 'nmea_plus/message/ais/vdm_payload/vdm_msg1'
|
21
|
+
require 'nmea_plus/message/ais/vdm_payload/vdm_msg2'
|
22
|
+
require 'nmea_plus/message/ais/vdm_payload/vdm_msg3'
|
23
|
+
require 'nmea_plus/message/ais/vdm_payload/vdm_msg4'
|
24
|
+
require 'nmea_plus/message/ais/vdm_payload/vdm_msg5'
|
25
|
+
require 'nmea_plus/message/ais/vdm_payload/vdm_msg6'
|
26
|
+
require 'nmea_plus/message/ais/vdm_payload/vdm_msg7'
|
27
|
+
require 'nmea_plus/message/ais/vdm_payload/vdm_msg8'
|
28
|
+
require 'nmea_plus/message/ais/vdm_payload/vdm_msg9'
|
29
|
+
require 'nmea_plus/message/ais/vdm_payload/vdm_msg10'
|
30
|
+
require 'nmea_plus/message/ais/vdm_payload/vdm_msg11'
|
31
|
+
require 'nmea_plus/message/ais/vdm_payload/vdm_msg12'
|
32
|
+
require 'nmea_plus/message/ais/vdm_payload/vdm_msg13'
|
33
|
+
require 'nmea_plus/message/ais/vdm_payload/vdm_msg14'
|
34
|
+
require 'nmea_plus/message/ais/vdm_payload/vdm_msg15'
|
35
|
+
require 'nmea_plus/message/ais/vdm_payload/vdm_msg16'
|
36
|
+
require 'nmea_plus/message/ais/vdm_payload/vdm_msg17'
|
37
|
+
require 'nmea_plus/message/ais/vdm_payload/vdm_msg18'
|
38
|
+
require 'nmea_plus/message/ais/vdm_payload/vdm_msg19'
|
39
|
+
require 'nmea_plus/message/ais/vdm_payload/vdm_msg20'
|
40
|
+
require 'nmea_plus/message/ais/vdm_payload/vdm_msg21'
|
41
|
+
require 'nmea_plus/message/ais/vdm_payload/vdm_msg24'
|
42
|
+
require 'nmea_plus/message/ais/vdm_payload/vdm_msg27'
|
43
43
|
|
44
44
|
module NMEAPlus
|
45
45
|
module Message
|
@@ -38,7 +38,8 @@ module NMEAPlus
|
|
38
38
|
args << fmt_arg unless fmt_arg.nil?
|
39
39
|
args << fmt_arg2 unless fmt_arg2.nil?
|
40
40
|
args << fmt_arg3 unless fmt_arg3.nil?
|
41
|
-
|
41
|
+
|
42
|
+
define_method(name) { self.send(formatter, *args) }
|
42
43
|
end
|
43
44
|
|
44
45
|
# Return an object by its class name, or nil if it isn't defined
|
@@ -1,11 +1,11 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
1
|
+
require 'nmea_plus/message/ais/vdm_payload/vdm_msg'
|
2
|
+
require 'nmea_plus/message/ais/vdm_payload/vdm_msg6d1f0'
|
3
|
+
require 'nmea_plus/message/ais/vdm_payload/vdm_msg6d1f2'
|
4
|
+
require 'nmea_plus/message/ais/vdm_payload/vdm_msg6d1f3'
|
5
|
+
require 'nmea_plus/message/ais/vdm_payload/vdm_msg6d1f4'
|
6
|
+
require 'nmea_plus/message/ais/vdm_payload/vdm_msg6d1f5'
|
7
|
+
require 'nmea_plus/message/ais/vdm_payload/vdm_msg6d235f10'
|
8
|
+
require 'nmea_plus/message/ais/vdm_payload/vdm_msg6d1022f61'
|
9
9
|
|
10
10
|
module NMEAPlus
|
11
11
|
module Message
|
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
require 'nmea_plus/message/ais/vdm_payload/vdm_msg6_dynamic_payload'
|
2
2
|
|
3
3
|
module NMEAPlus
|
4
4
|
module Message
|
@@ -42,7 +42,7 @@ module NMEAPlus
|
|
42
42
|
# @!attribute [r] $1
|
43
43
|
# @return [bool] The value in bit $2 of the status field
|
44
44
|
def self.bit_reader(name, position)
|
45
|
-
self.
|
45
|
+
define_method(name) { self.send(:_field0_bit, position) }
|
46
46
|
end
|
47
47
|
|
48
48
|
bit_reader :supply_fail?, 0
|
@@ -1,9 +1,9 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
1
|
+
require 'nmea_plus/message/ais/vdm_payload/vdm_msg'
|
2
|
+
require 'nmea_plus/message/ais/vdm_payload/vdm_msg8d1f0'
|
3
|
+
require 'nmea_plus/message/ais/vdm_payload/vdm_msg8d1f22'
|
4
|
+
require 'nmea_plus/message/ais/vdm_payload/vdm_msg8d1f31'
|
5
|
+
require 'nmea_plus/message/ais/vdm_payload/vdm_msg8d200f10'
|
6
|
+
require 'nmea_plus/message/ais/vdm_payload/vdm_msg8d366f56'
|
7
7
|
|
8
8
|
module NMEAPlus
|
9
9
|
module Message
|