Functions | Variables
libnmea_navsat_driver.parser Namespace Reference

Functions

def convert_deg_to_rads (degs)
 
def convert_knots_to_mps (knots)
 
def convert_latitude (field)
 
def convert_longitude (field)
 
def convert_status_flag (status_flag)
 
def convert_time (nmea_utc)
 
def parse_nmea_sentence (nmea_sentence)
 
def safe_float (field)
 
def safe_int (field)
 

Variables

 logger = logging.getLogger('rosout')
 
dictionary parse_maps
 

Function Documentation

def libnmea_navsat_driver.parser.convert_deg_to_rads (   degs)

Definition at line 95 of file parser.py.

def libnmea_navsat_driver.parser.convert_knots_to_mps (   knots)

Definition at line 90 of file parser.py.

def libnmea_navsat_driver.parser.convert_latitude (   field)

Definition at line 55 of file parser.py.

def libnmea_navsat_driver.parser.convert_longitude (   field)

Definition at line 59 of file parser.py.

def libnmea_navsat_driver.parser.convert_status_flag (   status_flag)

Definition at line 81 of file parser.py.

def libnmea_navsat_driver.parser.convert_time (   nmea_utc)

Definition at line 63 of file parser.py.

def libnmea_navsat_driver.parser.parse_nmea_sentence (   nmea_sentence)

Definition at line 127 of file parser.py.

def libnmea_navsat_driver.parser.safe_float (   field)

Definition at line 41 of file parser.py.

def libnmea_navsat_driver.parser.safe_int (   field)

Definition at line 48 of file parser.py.

Variable Documentation

libnmea_navsat_driver.parser.logger = logging.getLogger('rosout')

Definition at line 38 of file parser.py.

dictionary libnmea_navsat_driver.parser.parse_maps
Initial value:
1 = {
2  "GGA": [
3  ("fix_type", int, 6),
4  ("latitude", convert_latitude, 2),
5  ("latitude_direction", str, 3),
6  ("longitude", convert_longitude, 4),
7  ("longitude_direction", str, 5),
8  ("altitude", safe_float, 9),
9  ("mean_sea_level", safe_float, 11),
10  ("hdop", safe_float, 8),
11  ("num_satellites", safe_int, 7),
12  ("utc_time", convert_time, 1),
13  ],
14  "RMC": [
15  ("utc_time", convert_time, 1),
16  ("fix_valid", convert_status_flag, 2),
17  ("latitude", convert_latitude, 3),
18  ("latitude_direction", str, 4),
19  ("longitude", convert_longitude, 5),
20  ("longitude_direction", str, 6),
21  ("speed", convert_knots_to_mps, 7),
22  ("true_course", convert_deg_to_rads, 8),
23  ]
24  }

Definition at line 101 of file parser.py.



rosflight_utils
Author(s):
autogenerated on Wed Jul 3 2019 20:00:31