gps.h File Reference

gps.h file for this module. Includes, global vars, funtion prototypes, etc. More...

#include <lar/gps_interface.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <signal.h>
#include <math.h>
#include <unistd.h>
#include <termios.h>
#include <fcntl.h>
#include <sys/signal.h>
#include <sys/types.h>
#include <sys/time.h>
#include <sys/ioctl.h>
Include dependency graph for gps.h:
This graph shows which files directly or indirectly include this file:

Data Structures

struct  SerialDevice

Defines

#define _DO_NOT_USE_OPENCV_   0
#define _DO_NOT_USE_CARMEN_   0
#define MAX_NAME_LENGTH   256
#define MAX_COMMAND_LENGTH   256
#define EPSILON   0.0001
#define TIMEOUT   -1
#define WRONG   0
#define OK   1
#define DEFAULT_GPS_PORT   "/dev/ttyUSB0"
#define DEFAULT_GPS_BAUD   4800
#define DEFAULT_GPS_PARITY   NO
#define DEFAULT_GPS_DATABITS   8
#define DEFAULT_GPS_STOPBITS   1
#define DEFAULT_GPS_HWF   1
#define DEFAULT_GPS_SWF   0
#define BUFFER_LENGTH   512

Enumerations

enum  PARITY_TYPE { NO, EVEN, ODD }

Functions

int main (int argc, char **argv)
void shutdown_module (int x)
 makes a clean shutdown of the program
void handler_param_daemon (char *a, char *b, char *c)
int carmen_gps_parse_data (char *line, int num_chars)
void DEVICE_set_params (SerialDevice dev)
void DEVICE_set_baudrate (SerialDevice dev, int brate)
int DEVICE_connect_port (SerialDevice *dev)
int DEVICE_send (SerialDevice dev, unsigned char *cmd, int len)
int DECVICE_recieve (SerialDevice dev, unsigned char *cmd, int *len)
int DEVICE_read_data (SerialDevice dev)
int DEVICE_bytes_waiting (int sd)
void DEVICE_init_params (SerialDevice *p)

Variables

TYPE_executionflags flags
 Include the interface.
gps_gpgga_data_message gpgga_msg
 Include the interface.
gps_gprmc_data_message gprmc_msg
gps_gpgga_data_messagegps_extern_gpgga_ptr
gps_gprmc_data_messagegps_extern_gprmc_ptr

Detailed Description

gps.h file for this module. Includes, global vars, funtion prototypes, etc.

Generated on Wed Jun 2 12:43:03 2010 for LAR Atlas by  doxygen 1.6.3