/* ---------------------------------------------------------------------- */ 
/* NavDataDefs.h                                                          */ 
/* ---------------------------------------------------------------------- */ 
/*                                                                        */ 
/* (c) Copyright 1999  EdgeTech,                                          */ 
/*                                                                        */ 
/* This file contains proprietary information, and trade secrets of       */ 
/* EdgeTech, and may not be disclosed or reproduced without the prior     */ 
/* written consent of EdgeTech.                                           */ 
/*                                                                        */ 
/* EdgeTech is not responsible for the consequences of the use or misuse  */ 
/* of this software, even if they result from defects in it.              */ 
/*                                                                        */ 
/* ---------------------------------------------------------------------- */ 
/*                                                                        */ 
/* EdgeTech navigation data format description.                           */ 
/*                                                                        */ 
/* ---------------------------------------------------------------------- */ 

#ifndef __NAVDATADEFS_H__
#define __NAVDATADEFS_H__


/* ---------------------------------------------------------------------- */ 
/* Navigation data :                                                      */ 
/* A positive value designates east or north, a negative value designates */ 
/* west or south.                                                         */ 
/* ---------------------------------------------------------------------- */ 

typedef struct 
{
  /*   0 -   3 : Latitude (10000 * Minutes of Arc)                        */ 
  long int NMEALat;    

  /*   4 -   7 : Longitude (10000 * Minutes of Arc)                       */ 
  long int NMEALon;    

  /*   8 -  15 : X (Meters)                                               */ 
  double NMEAX;    

  /*  16 -  23 : Y (Meters)                                               */ 
  double NMEAY;    

  /*  24 -  27 : True Heading (degrees)                                   */ 
  float NMEAHeadingTrue;

  /*  28 -  31 : Magnetic Heading (degrees)                               */ 
  float NMEAHeadingMagnetic;

  /*  32 -  35 : Magnetic Deviation (degrees)                             */ 
  float NMEAMagneticDeviation;

  /*  36 -  39 : Magnetic Variation (degrees)                             */ 
  float NMEAMagneticVariation;

  /*  40 -  43 : Speed (knot)                                             */ 
  float NMEASpeedKnot;

  /*  44 -  47 : Speed (km / hr)                                          */ 
  float NMEASpeedK;

  /*  48 -  51 : Vehicle depth (Meters)                                   */ 
  float NMEAVehicleDepth

  /*  52 -  55 : Vehicle altitude (Meters)                                */ 
  float NMEAVehicleAltitude;

  /*  56 -  57 : Year                                                     */ 
  short int NMEAYear;

  /*  58 -  59 : Day of year (1 - 366)                                    */ 
  unsigned short int NMEADay;

  /*  60 -  61 : Hours (0 - 23)                                           */ 
  unsigned short int NMEAHour;

  /*  62 -  63 : Minutes (0 - 59)                                         */ 
  unsigned short int NMEAMinute;

  /*  64 -  65 : Seconds (0 - 59)                                         */ 
  unsigned short int NMEASecond;

  /*  66 - 145 : Annotation                                               */ 
  char NMEAAnnotation[80];

} NMEADataType;


/* ---------------------------------------------------------------------- */ 

#endif  /* end Not __NAVDATADEFS_H__ */ 

/* ---------------------------------------------------------------------- */ 
/*                         end NavDataDefs.h                              */ 
/* ---------------------------------------------------------------------- */ 

