Class: Gps::Nmea::Gsa
Instance Attribute Summary collapse
-
#forced ⇒ Object
Returns the value of attribute forced.
-
#hdop ⇒ Object
Returns the value of attribute hdop.
-
#mode ⇒ Object
Returns the value of attribute mode.
-
#pdop ⇒ Object
Returns the value of attribute pdop.
-
#sv_id ⇒ Object
Returns the value of attribute sv_id.
-
#vdop ⇒ Object
Returns the value of attribute vdop.
Attributes inherited from Sentence
Instance Method Summary collapse
-
#initialize(line) ⇒ Gsa
constructor
A new instance of Gsa.
Methods inherited from Sentence
#checksum_valid?, date_part_to_str, #generate_checksum, #get_checksum, #has_coordinates?, #has_datetime?, #lat_dec, #lat_long_dec, #long_dec, parse, time_part_to_str, #to_h, #to_json
Constructor Details
#initialize(line) ⇒ Gsa
Returns a new instance of Gsa.
6 7 8 9 10 |
# File 'lib/gps/nmea/gsa.rb', line 6 def initialize(line) @line = line fill_parts fill_data end |
Instance Attribute Details
#forced ⇒ Object
Returns the value of attribute forced.
4 5 6 |
# File 'lib/gps/nmea/gsa.rb', line 4 def forced @forced end |
#hdop ⇒ Object
Returns the value of attribute hdop.
4 5 6 |
# File 'lib/gps/nmea/gsa.rb', line 4 def hdop @hdop end |
#mode ⇒ Object
Returns the value of attribute mode.
4 5 6 |
# File 'lib/gps/nmea/gsa.rb', line 4 def mode @mode end |
#pdop ⇒ Object
Returns the value of attribute pdop.
4 5 6 |
# File 'lib/gps/nmea/gsa.rb', line 4 def pdop @pdop end |
#sv_id ⇒ Object
Returns the value of attribute sv_id.
4 5 6 |
# File 'lib/gps/nmea/gsa.rb', line 4 def sv_id @sv_id end |
#vdop ⇒ Object
Returns the value of attribute vdop.
4 5 6 |
# File 'lib/gps/nmea/gsa.rb', line 4 def vdop @vdop end |