47#ifndef DW_SENSORS_GPS_GPS_H_
48#define DW_SENSORS_GPS_GPS_H_
NVIDIA DriveWorks API: Sensors
NVIDIA DriveWorks API: Core Types
NVIDIA DriveWorks API: Core Exports
uint8_t dwSignalValidity
The type of the encoded status field.
dwStatus
Status definition.
int64_t dwTime_t
Specifies a timestamp unit, in microseconds.
float64_t vacc
Vertical accuracy [m].
dwGPSMode gpsMode
GPS mode.
char utcTime[16]
UTC time as provided in the GPS package [hhmmss.sss] (null terminated).
float64_t hacc
Horizontal accuracy [m].
dwGPSMode gpsMode
GPS mode.
dwTime_t timestamp_us
Timestamp of the message when first received [usec].
float64_t latitude
Latitude [degree].
char utcDate[16]
UTC date as provided in the GPS package [ddmmyy] (null terminated).
float64_t vdop
Vertical dilution of precision (VDOP).
float64_t course
Course relative to true north [degree].
float64_t altitude
Altitude over WGS84 ellipsoid [m].
struct dwGPSFrameNew::@3 validityInfo
float64_t longitude
Longitude [degree].
dwGPSTimestampQuality timestampQuality
float64_t speed
Horizontal speed [m/s].
uint32_t flags
The flags to show which values are valid in this GPS frame.
float64_t hdop
Horizontal dilution of precision (HDOP).
float64_t climb
Vertical speed [m/s].
dwGPSFlags
Each flag shows if that value is valid in this GPS frame.
DW_API_PUBLIC dwStatus dwSensorGPS_processRawDataNew(uint8_t const *const data, size_t const size, dwSensorHandle_t const sensor)
Decodes RAW data previously read.
DW_API_PUBLIC dwStatus dwSensorGPS_readFrame(dwGPSFrame *const frame, dwTime_t const timeoutUs, dwSensorHandle_t const sensor)
Reads the next GPS packet with a given timeout.
dwGPSFixStatus
GPS satellite fix status.
DW_API_PUBLIC dwStatus dwSensorGPS_popFrame(dwGPSFrame *const frame, dwSensorHandle_t const sensor)
Returns any GPS frame previously processed through RAW data stream.
DW_API_PUBLIC dwStatus dwSensorGPS_processRawData(uint8_t const *const data, size_t const size, dwSensorHandle_t const sensor)
Decodes RAW data previously read.
DW_API_PUBLIC dwStatus dwSensorGPS_popFrameNew(dwGPSFrameNew *const frame, dwSensorHandle_t const sensor)
Returns any GPS frame New previously processed through RAW data stream.
dwGPSMode
The GPS mode gives the status of the GNSS data.
DW_API_PUBLIC dwStatus dwSensorGPS_readFrameNew(dwGPSFrameNew *const frame, dwTime_t const timeoutUs, dwSensorHandle_t const sensor)
Reads the next GPS packet with a given timeout.
@ DW_GPS_ALT
Value of dwGPSFrame.altitude is valid.
@ DW_GPS_LAT
Value of dwGPSFrame.latitude is valid.
@ DW_GPS_MODE
Value of dwGPSFrame.gpsMode is valid.
@ DW_GPS_LON
Value of dwGPSFrame.longitude is valid.
@ DW_GPS_VDOP
Value of dwGPSFrame.vdop is valid.
@ DW_GPS_COURSE
Value of dwGPSFrame.course is valid.
@ DW_GPS_VACC
Value of dwGPSFrame.vacc is valid.
@ DW_GPS_HACC
Value of dwGPSFrame.hacc is valid.
@ DW_GPS_SPEED
Value of dwGPSFrame.speed is valid.
@ DW_GPS_HDOP
Value of dwGPSFrame.hdop is valid.
@ DW_GPS_CLIMB
Value of dwGPSFrame.climb is valid.
@ DW_GPS_FIX_STATUS_2D_FIX
2D fix
@ DW_GPS_FIX_STATUS_NO_FIX
No fix.
@ DW_GPS_FIX_STATUS_3D_FIX
3D fix
@ DW_GPS_FIX_STATUS_FORCE32
@ DW_GPS_MODE_STAND_ALONE
GPS mode stand alone. No RTK or PPP correction.
@ DW_GPS_MODE_PPP_CONVERGING
GPS mode PPP converging. Using PPP, but solution has not finished converging, so the data is not yet ...
@ DW_GPS_MODE_INVALID_GPS
GPS mode invalid. This GPS data cannot be used.
@ DW_GPS_MODE_DEAD_RECKONING
GPS mode dead reckoning. Device relying on IMU alone for updates.
@ DW_GPS_MODE_RTK_FLOAT
GPS mode RTK float.
@ DW_GPS_MODE_CODE_DIFFERENTIAL
GPS mode code differential. No RTK or PPP correction.
@ DW_GPS_MODE_RTK_FIXED
GPS mode RTK fixed. This is the highest accuracy mode.
@ DW_GPS_MODE_UNKNOWN
GPS mode unknown. The device cannot or has not reported the mode.
@ DW_GPS_MODE_PRECISE_POINT
GPS mode precise point. No RTK or PPP correction.
@ DW_GPS_MODE_PPP_CONVERGED
GPS mode PPP converged. Most accurate mode for using PPP.
@ DW_GPS_TIMESTAMP_QUALITY_FORCE32
@ DW_GPS_TIMESTAMP_QUALITY_SYNC_LOST
Synchronization lost.
@ DW_GPS_TIMESTAMP_QUALITY_NOT_INIT
Not Initialized. still initializing.
@ DW_GPS_TIMESTAMP_QUALITY_OK
Normal Operation. Functional and Electrical Checks Passed.
A GPS packet containing localization information.
This structure contains one frame of data from an GPS/GNSS sensor.
struct dwSensorObject * dwSensorHandle_t
Handle representing a sensor.