|
garminnmea.cc File Reference
#include <fcntl.h>
#include <math.h>
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <termios.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <errno.h>
#include "error.h"
#include "driver.h"
#include "drivertable.h"
#include "player.h"
#include "replace.h"
Define Documentation
#define DEFAULT_GPS_PORT "/dev/ttyS0"
|
|
#define DEFAULT_DGPS_GROUP "225.0.0.43"
|
|
#define DEFAULT_DGPS_PORT 7778
|
|
#define GPS_STARTUP_CYCLE_USEC 100000
|
|
#define GPS_STARTUP_CYCLES 10
|
|
#define NMEA_GPRMB "GPRMB"
|
|
#define NMEA_GPRMC "GPRMC"
|
|
#define NMEA_GPGGA "GPGGA"
|
|
#define NMEA_GPGSA "GPGSA"
|
|
#define NMEA_GPGSV "GPGSV"
|
|
#define NMEA_GPGLL "GPGLL"
|
|
#define NMEA_GPBOD "GPBOD"
|
|
#define NMEA_GPRTE "GPRTE"
|
|
#define NMEA_PGRME "PGRME"
|
|
#define NMEA_PGRMZ "PGRMZ"
|
|
#define NMEA_PSLIB "PSLIB"
|
|
#define NMEA_MAX_SENTENCE_LEN 83
|
|
#define NMEA_START_CHAR '$'
|
|
#define NMEA_END_CHAR '\n'
|
|
#define NMEA_CHKSUM_CHAR '*'
|
|
#define WGS84_A 6378137.0
|
|
#define WGS84_B 6356752.31424518
|
|
#define WGS84_F 0.0033528107
|
|
#define WGS84_E 0.0818191908
|
|
#define WGS84_EP 0.0820944379
|
|
#define UTM_FN_S 10000000.0
|
|
#define UTM_E2 (WGS84_E*WGS84_E)
|
|
#define UTM_E4 (UTM_E2*UTM_E2)
|
|
#define UTM_E6 (UTM_E4*UTM_E2)
|
|
#define UTM_EP2 (UTM_E2/(1-UTM_E2))
|
|
Function Documentation
Generated on Tue May 3 14:15:39 2005 for Player by 1.3.6
|