InertiaSDK

Loading...
Searching...
No Matches
GPSSample.h
1#pragma once
2
3 namespace inertia
4{
5
10 struct INERTIA_API GPSsample
11{
12 bool navigationValid;
13 bool velocityValid;
14
15 bool hasUTC;
16 unsigned year;
17 unsigned month;
18 unsigned day;
19 unsigned hour;
20 unsigned minute;
21 double second;
22
23 bool hasLatLon;
24 double latitude;
25 double longitude;
26
27 bool hasAltitudeEllipsoid;
28 double altitudeEllipsoid;
29
30 bool hasAltitudeMSL;
31 double altitudeMSL;
32
33 bool hasSpeedOverGround;
34 double speedOverGround;
35
36 bool hasCourseOverGround;
37 double courseOverGround;
38
39 bool hasNumberSvsInFix;
40 unsigned numberSvsInFix;
41
42 bool hasHDOP;
43 double horDilutionOfPrecision;
44
45 bool hasHorPosError;
46 double horPosError;
47
48 bool hasVertPosError;
49 double vertPosError;
50
51 bool hasTimeError;
52 double timeError;
53
54 bool hasHorVelocityError;
55 double horVelocityError;
56
58 GPSsample();
59};
60
61}
inertia
Definition FlashCommands.h:6
inertia::GPSsample::velocityValid
bool velocityValid
The velocity values in the GPS sample are valid.
Definition GPSSample.h:13
inertia::GPSsample::latitude
double latitude
The Latitude (degrees).
Definition GPSSample.h:24
inertia::GPSsample::timeError
double timeError
The Estimated Time Error (ETE) (s).
Definition GPSSample.h:52
inertia::GPSsample::hasCourseOverGround
bool hasCourseOverGround
The GPS sample has a Course over Ground value.
Definition GPSSample.h:36
inertia::GPSsample::year
unsigned year
The UTC timestamp year.
Definition GPSSample.h:16
inertia::GPSsample::vertPosError
double vertPosError
The Estimated Vertical Position Error (EVPE) (m).
Definition GPSSample.h:49
inertia::GPSsample::speedOverGround
double speedOverGround
The Speed over Ground (m/s).
Definition GPSSample.h:34
inertia::GPSsample::second
double second
The UTC timestamp second (and millisecond).
Definition GPSSample.h:21
inertia::GPSsample::hasUTC
bool hasUTC
The GPS sample has UTC timestamp values.
Definition GPSSample.h:15
inertia::GPSsample::GPSsample
GPSsample()
inertia::GPSsample::hasHorPosError
bool hasHorPosError
The GPS sample has an Estimated Horizontal Position Error value.
Definition GPSSample.h:45
inertia::GPSsample::horVelocityError
double horVelocityError
The Estimated Horizontal Velocity Error (EHVE) (m/s).
Definition GPSSample.h:55
inertia::GPSsample::hasVertPosError
bool hasVertPosError
The GPS sample has an Estimated Vertical Position Error value.
Definition GPSSample.h:48
inertia::GPSsample::altitudeEllipsoid
double altitudeEllipsoid
The Altitude from Ellipsoid (m).
Definition GPSSample.h:28
inertia::GPSsample::navigationValid
bool navigationValid
The navigation values in the GPS sample are valid.
Definition GPSSample.h:12
inertia::GPSsample::hasTimeError
bool hasTimeError
The GPS sample has an Estimated Time Error value.
Definition GPSSample.h:51
inertia::GPSsample::courseOverGround
double courseOverGround
The Course over Ground (degrees).
Definition GPSSample.h:37
inertia::GPSsample::longitude
double longitude
The Longitude (degrees).
Definition GPSSample.h:25
inertia::GPSsample::hasSpeedOverGround
bool hasSpeedOverGround
The GPS sample has a Speed over Ground value.
Definition GPSSample.h:33
inertia::GPSsample::hasLatLon
bool hasLatLon
The GPS sample has Latitude and Longitude values.
Definition GPSSample.h:23
inertia::GPSsample::hour
unsigned hour
The UTC timestamp hour.
Definition GPSSample.h:19
inertia::GPSsample::horDilutionOfPrecision
double horDilutionOfPrecision
The Horizontal Dilution of Position (HDOP).
Definition GPSSample.h:43
inertia::GPSsample::hasHorVelocityError
bool hasHorVelocityError
The GPS sample has an Estimated Horizontal Velocity Error value.
Definition GPSSample.h:54
inertia::GPSsample::hasAltitudeMSL
bool hasAltitudeMSL
The GPS sample has an Altitude from Mean Sea Level value.
Definition GPSSample.h:30
inertia::GPSsample::month
unsigned month
The UTC timestamp month.
Definition GPSSample.h:17
inertia::GPSsample::numberSvsInFix
unsigned numberSvsInFix
The Number of used Satellites.
Definition GPSSample.h:40
inertia::GPSsample::hasAltitudeEllipsoid
bool hasAltitudeEllipsoid
The GPS sample has an Altitude from Ellipsoid value.
Definition GPSSample.h:27
inertia::GPSsample::horPosError
double horPosError
The Estimated Horizontal Position Error (EHPE) (m).
Definition GPSSample.h:46
inertia::GPSsample::hasNumberSvsInFix
bool hasNumberSvsInFix
The GPS sample has a Number of used Satellites value.
Definition GPSSample.h:39
inertia::GPSsample::hasHDOP
bool hasHDOP
The GPS sample has a Horizontal Dilution of Position value.
Definition GPSSample.h:42
inertia::GPSsample::day
unsigned day
The UTC timestamp day.
Definition GPSSample.h:18
inertia::GPSsample::minute
unsigned minute
The UTC timestamp minute.
Definition GPSSample.h:20
inertia::GPSsample::altitudeMSL
double altitudeMSL
The Altitude from Mean Sea Level (m).
Definition GPSSample.h:31