DriveWorks SDK Reference
5.10.90 Release
For Test and Development only

GPS.h File Reference

Detailed Description

NVIDIA DriveWorks API: GPS

Description: This file defines methods to access GPS sensor.

Definition in file GPS.h.

Go to the source code of this file.

Data Structures

struct  dwGPSFrame
 A GPS packet containing localization information. More...
 
struct  dwGPSFrameNew
 This structure contains one frame of data from an GPS/GNSS sensor. More...
 
struct  dwGPSSignalValidityInfo
 This structure contains validity of each signal provided by GPS sensors. More...
 

Enumerations

enum  dwGPSFixStatus {
  DW_GPS_FIX_STATUS_NO_FIX = 0 ,
  DW_GPS_FIX_STATUS_2D_FIX = 1 ,
  DW_GPS_FIX_STATUS_3D_FIX = 2 ,
  DW_GPS_FIX_STATUS_FORCE32 = 0x7FFFFFFF
}
 GPS satellite fix status. More...
 
enum  dwGPSFlags {
  DW_DEPRECATED_ENUM =("Use dwGPSFrame.validityInfo.latitude instead") = 1 << 0 ,
  DW_DEPRECATED_ENUM =("Use dwGPSFrame.validityInfo.latitude instead") = 1 << 0 ,
  DW_DEPRECATED_ENUM =("Use dwGPSFrame.validityInfo.latitude instead") = 1 << 0 ,
  DW_DEPRECATED_ENUM =("Use dwGPSFrame.validityInfo.latitude instead") = 1 << 0 ,
  DW_DEPRECATED_ENUM =("Use dwGPSFrame.validityInfo.latitude instead") = 1 << 0 ,
  DW_DEPRECATED_ENUM =("Use dwGPSFrame.validityInfo.latitude instead") = 1 << 0 ,
  DW_DEPRECATED_ENUM =("Use dwGPSFrame.validityInfo.latitude instead") = 1 << 0 ,
  DW_DEPRECATED_ENUM =("Use dwGPSFrame.validityInfo.latitude instead") = 1 << 0 ,
  DW_DEPRECATED_ENUM =("Use dwGPSFrame.validityInfo.latitude instead") = 1 << 0 ,
  DW_DEPRECATED_ENUM =("Use dwGPSFrame.validityInfo.latitude instead") = 1 << 0 ,
  DW_DEPRECATED_ENUM =("Use dwGPSFrame.validityInfo.latitude instead") = 1 << 0 ,
  DW_GPS_FORCE32 = 0x7FFFFFFF
}
 Each flag shows if that value is valid in this GPS frame. More...
 
enum  dwGPSMode {
  DW_GPS_MODE_UNKNOWN = 0 ,
  DW_GPS_MODE_INVALID_GPS = 1 ,
  DW_GPS_MODE_DEAD_RECKONING = 2 ,
  DW_GPS_MODE_STAND_ALONE = 3 ,
  DW_GPS_MODE_PRECISE_POINT = 4 ,
  DW_GPS_MODE_CODE_DIFFERENTIAL = 5 ,
  DW_GPS_MODE_RTK_FLOAT = 6 ,
  DW_GPS_MODE_RTK_FIXED = 7 ,
  DW_GPS_MODE_PPP_CONVERGING = 8 ,
  DW_GPS_MODE_PPP_CONVERGED = 9 ,
  DW_GPS_MODE_FORCE32 = 0x7FFFFFFF
}
 The GPS mode gives the status of the GNSS data. More...
 
enum  dwGPSTimestampQuality {
  DW_GPS_TIMESTAMP_QUALITY_NOT_INIT = 0 ,
  DW_GPS_TIMESTAMP_QUALITY_OK = 1 ,
  DW_GPS_TIMESTAMP_QUALITY_SYNC_LOST = 2 ,
  DW_GPS_TIMESTAMP_QUALITY_FORCE32 = 0x7FFFFFFF
}
 GPS timestamp quality. More...
 

Functions

DW_API_PUBLIC dwStatus dwSensorGPS_popFrame (dwGPSFrame *const frame, dwSensorHandle_t const sensor)
 Returns any GPS frame previously processed through RAW data stream. More...
 
DW_API_PUBLIC dwStatus dwSensorGPS_popFrameNew (dwGPSFrameNew *const frame, dwSensorHandle_t const sensor)
 Returns any GPS frame New previously processed through RAW data stream. More...
 
DW_API_PUBLIC dwStatus dwSensorGPS_processRawData (uint8_t const *const data, size_t const size, dwSensorHandle_t const sensor)
 Decodes RAW data previously read. More...
 
DW_API_PUBLIC dwStatus dwSensorGPS_processRawDataNew (uint8_t const *const data, size_t const size, dwSensorHandle_t const sensor)
 Decodes RAW data previously read. More...
 
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. More...
 
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. More...