class Nmea::Gps::Gga
Constants
- QUALITIES
Public Instance Methods
altitude_in_meters()
click to toggle source
# File lib/nmea_gps/sentences/gga.rb, line 45 def altitude_in_meters raw_data[8].to_f end
Also aliased as: altitude
checksum()
click to toggle source
# File lib/nmea_gps/sentences/gga.rb, line 64 def checksum raw_data[14].to_s end
dgps_station_id()
click to toggle source
# File lib/nmea_gps/sentences/gga.rb, line 60 def dgps_station_id raw_data[13].to_s end
height_of_geoid_above_wgs84_ellipsoid()
click to toggle source
# File lib/nmea_gps/sentences/gga.rb, line 50 def height_of_geoid_above_wgs84_ellipsoid raw_data[10].to_f end
Also aliased as: height_of_geoid
horizontal_dilution_of_precision()
click to toggle source
en.wikipedia.org/wiki/Dilution_of_precision_%28GPS%29
# File lib/nmea_gps/sentences/gga.rb, line 40 def horizontal_dilution_of_precision raw_data[7].to_f end
Also aliased as: hdop
latitude()
click to toggle source
# File lib/nmea_gps/sentences/gga.rb, line 22 def latitude dmm_to_ddd raw_data[1], raw_data[2] end
longitude()
click to toggle source
# File lib/nmea_gps/sentences/gga.rb, line 26 def longitude dmm_to_ddd raw_data[3], raw_data[4] end
name()
click to toggle source
# File lib/nmea_gps/sentences/gga.rb, line 14 def name "Global positioning system fixed data" end
number_of_satellites()
click to toggle source
# File lib/nmea_gps/sentences/gga.rb, line 34 def number_of_satellites raw_data[6].to_i end
Also aliased as: satellites
quality()
click to toggle source
# File lib/nmea_gps/sentences/gga.rb, line 30 def quality QUALITIES[raw_data[5].to_i] end
time()
click to toggle source
# File lib/nmea_gps/sentences/gga.rb, line 18 def time hhmmss_to_local_time raw_data[0] end
time_in_seconds_since_last_dgps_update()
click to toggle source
# File lib/nmea_gps/sentences/gga.rb, line 55 def time_in_seconds_since_last_dgps_update raw_data[12].to_i end
Also aliased as: last_dgps_update