http_handler();
}//End Costate
}//End While
}//End Main
/*********************************************************************/
/*Function to read in Navigation data and convert.*/
/*********************************************************************/
navread(){
double LATDEG; /* Current position degrees of Latitude */
double LATMIN; /* Current position minutes of Latitude */
double LONGDEG; /* Current position degrees of Longitude */
double LONGMIN; /* Current position minutes of Longitude */
double LATm; /* Converted Latitude into meters from equator */
double LONGm; /* Converted Longitude into meters from meridian */
double WPLATm; /* Converted Latitude into meters from equator*/
double WPLONGm; /* Converted Longitude into meters from meridian*/
double NUMSAT; /* Number of satalites*/
double ALT; /* Altitude in meters*/
double DOP; /* Quality of GPS signal*/
double DIFFLATm; /* Difference in latitude between the current position and WP
(meters)*/
double DIFFLONGm; /* Difference in longitude between the current position and WP
(meters)*/
const double pi = 3.14; /* Pi */
//STRING PARSE VARIABLES
char *GPSIn0,*GPSIn1,*GPSIn2,*GPSIn3,*GPSIn4,*GPSIn5,*GPSIn6;
char *GPSIn7,*GPSIn8,*GPSIn9,*GPSIn10,*GPSIn11,*GPSIn12,*GPSIn13;
char *GPSIn14,*GPSIn15,*GPSIn16,*GPSIn17,*GPSIn18,*GPSIn19,*GPSIn20;
char *GPSIn21,*GPSIn22;
char GPS7[10],GPS8[10],GPS10[10],GPS11[10];
Comentarios a estos manuales