35 lines
856 B
C
35 lines
856 B
C
//
|
|
// Created by villuton on 26.03.25.
|
|
//
|
|
|
|
#ifndef NMEA0183_SENTENCE_H
|
|
#define NMEA0183_SENTENCE_H
|
|
|
|
/**
|
|
* Sentence location data in fractional NDEG and Cardinal directions
|
|
*/
|
|
typedef struct {
|
|
double lat; /**< Latitude in NDEG - [degree][min].[sec/60] */
|
|
char ns; /**< [N]orth or [S]outh */
|
|
double lon; /**< Longitude in NDEG - [degree][min].[sec/60] */
|
|
char ew; /**< [E]ast or [W]est */
|
|
}tNmeaLocation;
|
|
|
|
/**
|
|
* Position data in fractional degrees or radians
|
|
*/
|
|
typedef struct {
|
|
double lat; /**< Latitude */
|
|
double lon; /**< Longitude */
|
|
}tNmeaPositionDouble;
|
|
|
|
/**
|
|
* Position data in fractional degrees or radians
|
|
*/
|
|
typedef struct {
|
|
float lat; /**< Latitude */
|
|
float lon; /**< Longitude */
|
|
}tNmeaPositionFloat;
|
|
|
|
#endif //NMEA0183_SENTENCE_H
|