Namespaces | Functions | Variables
nmea_gps_driver.py File Reference

Go to the source code of this file.

Namespaces

namespace  nmea_gps_driver

Functions

def nmea_gps_driver.addTFPrefix
def nmea_gps_driver.check_checksum
def nmea_gps_driver.convertNMEATimeToROS

Variables

tuple nmea_gps_driver.altitude = float(fields[9])
tuple nmea_gps_driver.data = GPS.readline()
tuple nmea_gps_driver.fields = data.split(',')
tuple nmea_gps_driver.frame_id = rospy.get_param('~frame_id','gps')
tuple nmea_gps_driver.GPS = serial.Serial(port=GPSport, baudrate=GPSrate, timeout=2)
tuple nmea_gps_driver.gps_quality = int(fields[6])
 nmea_gps_driver.GPSLock = False
tuple nmea_gps_driver.GPSport = rospy.get_param('~port','/dev/ttyUSB0')
tuple nmea_gps_driver.gpspub = rospy.Publisher('fix', NavSatFix)
tuple nmea_gps_driver.GPSrate = rospy.get_param('~baud',4800)
tuple nmea_gps_driver.gpstime = TimeReference()
tuple nmea_gps_driver.gpstimePub = rospy.Publisher('time_reference', TimeReference)
tuple nmea_gps_driver.gpsVel = TwistStamped()
tuple nmea_gps_driver.gpsVelPub = rospy.Publisher('vel',TwistStamped)
tuple nmea_gps_driver.hdop = float(fields[8])
tuple nmea_gps_driver.i = i.strip(',')
tuple nmea_gps_driver.latitude = float(fields[3][0:2])
tuple nmea_gps_driver.lockState = int(fields[2])
tuple nmea_gps_driver.longitude = float(fields[5][0:3])
tuple nmea_gps_driver.navData = NavSatFix()
tuple nmea_gps_driver.time_ref_source = rospy.get_param('~time_ref_source', frame_id)
tuple nmea_gps_driver.timeNow = rospy.get_rostime()
tuple nmea_gps_driver.useRMC = rospy.get_param('~useRMC', False)


nmea_gps_driver
Author(s): Steven Martin, Eric Perko
autogenerated on Mon Oct 6 2014 02:52:13