class Gps::Nmea::Gsv
Attributes
azimuth[RW]
elevation[RW]
message_num[RW]
num_messages[RW]
snr[RW]
sv_prn[RW]
total_svs[RW]
Public Class Methods
new(line)
click to toggle source
# File lib/gps/nmea/gsv.rb, line 7 def initialize(line) @line = line fill_parts fill_data end
Private Instance Methods
fill_data()
click to toggle source
# File lib/gps/nmea/gsv.rb, line 15 def fill_data @num_messages = @parts[0].to_i @message_num = @parts[1].to_i @total_svs = @parts[2].to_i @sv_prn = @parts[3].to_i @elevation = @parts[4].to_i @azimuth = @parts[5].to_i @snr = @parts[6].to_i end