Skip to content

Commit

Permalink
Added enum for coordinate system type
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasWikander committed Dec 2, 2022
1 parent bf58eb5 commit 87752d3
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions positioning.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,15 @@ typedef struct {
bool isAltitudeValid;
} GeographicPositionType;

typedef enum {
COORDINATE_SYSTEM_ETRS89 = 0,
COORDINATE_SYSTEM_NAD83 = 1,
COORDINATE_SYSTEM_ITRF2000 = 2,
COORDINATE_SYSTEM_WGS84 = 3,
COORDINATE_SYSTEM_LOCAL = 4,
COORDINATE_SYSTEM_UNAVAILABLE = 255
} CoordinateSystemType;

/*! Struct describing longitudinal and lateral speed of an object */
typedef struct {
double longitudinal_m_s;
Expand Down

0 comments on commit 87752d3

Please sign in to comment.