- Welcome
- Getting Started With the NVIDIA DriveWorks SDK
- Modules
- Samples
- Tools
- Tutorials
- SDK Porting Guide
- DriveWorks API
- More
Defines the GPS sensor.
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... | |
struct dwGPSFrame |
Data Fields | ||
---|---|---|
float64_t | altitude |
|
float64_t | climb |
|
float64_t | course |
|
dwGPSFixStatus | fixStatus |
|
uint32_t | flags | The flags to show which values are valid in this GPS frame. |
dwGPSMode | gpsMode | GPS mode. |
float64_t | hacc |
|
float64_t | hdop |
|
float64_t | latitude |
|
float64_t | longitude |
|
dwGPSMode | mode |
|
float64_t | pdop |
|
uint8_t | reserved[468] | Reserved space. |
uint8_t | satelliteCount |
|
float64_t | speed |
|
dwTime_t | timestamp_us |
|
dwGPSTimestampQuality | timestampQuality |
|
char | utcDate[16] | UTC date as provided in the GPS package [ddmmyy] (null terminated). |
char | utcTime[16] | UTC time as provided in the GPS package [hhmmss.sss] (null terminated). |
dwTime_t | utcTimeUs |
|
float64_t | vacc |
|
dwGPSSignalValidityInfo | validityInfo | Signal validity information. |
float64_t | vdop |
|
struct dwGPSFrameNew |
Data Fields | ||
---|---|---|
float64_t | altitude |
|
float64_t | climb |
|
float64_t | course |
|
dwGPSFixStatus | fixStatus |
|
float64_t | hacc |
|
float64_t | hdop |
|
float64_t | latitude |
|
float64_t | longitude |
|
dwGPSMode | mode |
|
float64_t | pdop |
|
uint8_t | reserved[508] | Reserved space. |
uint8_t | satelliteCount |
|
float64_t | speed |
|
dwTime_t | timestamp_us |
|
dwGPSTimestampQuality | timestampQuality |
|
dwTime_t | utcTime |
|
float64_t | vacc |
|
dwGPSSignalValidityInfo | validityInfo | Signal validity information. |
float64_t | vdop |
|
struct dwGPSSignalValidityInfo |
Data Fields | ||
---|---|---|
dwSignalValidity | altitude | Validity of altitude signal. |
dwSignalValidity | climb | Validity of climb signal. |
dwSignalValidity | course | |
dwSignalValidity | fixStatus | Validity of 2D or 3D fix status signal. |
dwSignalValidity | hacc | Validity of horizontal accuracy of solution signal. |
dwSignalValidity | hdop | Validity of horizontal dilusion of precision signal. |
dwSignalValidity | latitude | Validity of latitude signal. |
dwSignalValidity | longitude | Validity of longitude signal. |
dwSignalValidity | mode | Validity of GPS mode signal. |
dwSignalValidity | pdop | Validity of positional dilusion of precision signal. |
dwSignalValidity | reserved[63] | Reserved space. |
dwSignalValidity | satelliteCount | Validity of satellite count signal. |
dwSignalValidity | speed | Validity of speed signal. |
dwSignalValidity | timestamp_us | Validity of timestamp signal. |
dwSignalValidity | timestampQuality | Validity of timestamp quality signal. |
dwSignalValidity | utcTimeUs | Validity of UTC time signal. |
dwSignalValidity | vacc | Validity of vertical accuracy of solution signal. |
dwSignalValidity | vdop | Validity of vertical dilusion of precision signal. |
enum dwGPSFixStatus |
enum dwGPSFlags |
Each flag shows if that value is valid in this GPS frame.
Enumerator | |
---|---|
DW_DEPRECATED_ENUM | Value of dwGPSFrame.latitude is valid. Magnetic heading. True heading. Value of dwIMUFrame.alignmentStatus is valid. Value of dwIMUFrame.magnetometer[2] is valid. Value of dwIMUFrame.magnetometer[1] is valid. Value of dwIMUFrame.magnetometer[0] is valid. Value of dwIMUFrame.acceleration[2] is valid. Value of dwIMUFrame.acceleration[1] is valid. Value of dwIMUFrame.acceleration[0] is valid. Value of dwIMUFrame.turnrate[2] is valid. Value of dwIMUFrame.turnrate[1] is valid. Value of dwIMUFrame.turnrate[0] is valid. Value of dwIMUFrame.orientationQuaternion.w is valid. Value of dwIMUFrame.orientationQuaternion.z is valid. Value of dwIMUFrame.orientationQuaternion.y is valid. Value of dwIMUFrame.orientationQuaternion.x is valid. Value of dwIMUFrame.orientation[2] is valid. Value of dwIMUFrame.orientation[1] is valid. Value of dwIMUFrame.orientation[0] is valid. Value of dwGPSFrame.gpsMode is valid. Value of dwGPSFrame.vacc is valid. Value of dwGPSFrame.hacc is valid. Value of dwGPSFrame.vdop is valid. Value of dwGPSFrame.hdop is valid. Value of dwGPSFrame.climb is valid. Value of dwGPSFrame.speed is valid. Value of dwGPSFrame.course is valid. Value of dwGPSFrame.altitude is valid. Value of dwGPSFrame.longitude is valid. 'dwIMUFrame.heading' points towards true north. 'dwIMUFrame.heading' points towards magnetic north. |
DW_DEPRECATED_ENUM | Value of dwGPSFrame.latitude is valid. Magnetic heading. True heading. Value of dwIMUFrame.alignmentStatus is valid. Value of dwIMUFrame.magnetometer[2] is valid. Value of dwIMUFrame.magnetometer[1] is valid. Value of dwIMUFrame.magnetometer[0] is valid. Value of dwIMUFrame.acceleration[2] is valid. Value of dwIMUFrame.acceleration[1] is valid. Value of dwIMUFrame.acceleration[0] is valid. Value of dwIMUFrame.turnrate[2] is valid. Value of dwIMUFrame.turnrate[1] is valid. Value of dwIMUFrame.turnrate[0] is valid. Value of dwIMUFrame.orientationQuaternion.w is valid. Value of dwIMUFrame.orientationQuaternion.z is valid. Value of dwIMUFrame.orientationQuaternion.y is valid. Value of dwIMUFrame.orientationQuaternion.x is valid. Value of dwIMUFrame.orientation[2] is valid. Value of dwIMUFrame.orientation[1] is valid. Value of dwIMUFrame.orientation[0] is valid. Value of dwGPSFrame.gpsMode is valid. Value of dwGPSFrame.vacc is valid. Value of dwGPSFrame.hacc is valid. Value of dwGPSFrame.vdop is valid. Value of dwGPSFrame.hdop is valid. Value of dwGPSFrame.climb is valid. Value of dwGPSFrame.speed is valid. Value of dwGPSFrame.course is valid. Value of dwGPSFrame.altitude is valid. Value of dwGPSFrame.longitude is valid. 'dwIMUFrame.heading' points towards true north. 'dwIMUFrame.heading' points towards magnetic north. |
DW_DEPRECATED_ENUM | Value of dwGPSFrame.latitude is valid. Magnetic heading. True heading. Value of dwIMUFrame.alignmentStatus is valid. Value of dwIMUFrame.magnetometer[2] is valid. Value of dwIMUFrame.magnetometer[1] is valid. Value of dwIMUFrame.magnetometer[0] is valid. Value of dwIMUFrame.acceleration[2] is valid. Value of dwIMUFrame.acceleration[1] is valid. Value of dwIMUFrame.acceleration[0] is valid. Value of dwIMUFrame.turnrate[2] is valid. Value of dwIMUFrame.turnrate[1] is valid. Value of dwIMUFrame.turnrate[0] is valid. Value of dwIMUFrame.orientationQuaternion.w is valid. Value of dwIMUFrame.orientationQuaternion.z is valid. Value of dwIMUFrame.orientationQuaternion.y is valid. Value of dwIMUFrame.orientationQuaternion.x is valid. Value of dwIMUFrame.orientation[2] is valid. Value of dwIMUFrame.orientation[1] is valid. Value of dwIMUFrame.orientation[0] is valid. Value of dwGPSFrame.gpsMode is valid. Value of dwGPSFrame.vacc is valid. Value of dwGPSFrame.hacc is valid. Value of dwGPSFrame.vdop is valid. Value of dwGPSFrame.hdop is valid. Value of dwGPSFrame.climb is valid. Value of dwGPSFrame.speed is valid. Value of dwGPSFrame.course is valid. Value of dwGPSFrame.altitude is valid. Value of dwGPSFrame.longitude is valid. 'dwIMUFrame.heading' points towards true north. 'dwIMUFrame.heading' points towards magnetic north. |
DW_DEPRECATED_ENUM | Value of dwGPSFrame.latitude is valid. Magnetic heading. True heading. Value of dwIMUFrame.alignmentStatus is valid. Value of dwIMUFrame.magnetometer[2] is valid. Value of dwIMUFrame.magnetometer[1] is valid. Value of dwIMUFrame.magnetometer[0] is valid. Value of dwIMUFrame.acceleration[2] is valid. Value of dwIMUFrame.acceleration[1] is valid. Value of dwIMUFrame.acceleration[0] is valid. Value of dwIMUFrame.turnrate[2] is valid. Value of dwIMUFrame.turnrate[1] is valid. Value of dwIMUFrame.turnrate[0] is valid. Value of dwIMUFrame.orientationQuaternion.w is valid. Value of dwIMUFrame.orientationQuaternion.z is valid. Value of dwIMUFrame.orientationQuaternion.y is valid. Value of dwIMUFrame.orientationQuaternion.x is valid. Value of dwIMUFrame.orientation[2] is valid. Value of dwIMUFrame.orientation[1] is valid. Value of dwIMUFrame.orientation[0] is valid. Value of dwGPSFrame.gpsMode is valid. Value of dwGPSFrame.vacc is valid. Value of dwGPSFrame.hacc is valid. Value of dwGPSFrame.vdop is valid. Value of dwGPSFrame.hdop is valid. Value of dwGPSFrame.climb is valid. Value of dwGPSFrame.speed is valid. Value of dwGPSFrame.course is valid. Value of dwGPSFrame.altitude is valid. Value of dwGPSFrame.longitude is valid. 'dwIMUFrame.heading' points towards true north. 'dwIMUFrame.heading' points towards magnetic north. |
DW_DEPRECATED_ENUM | Value of dwGPSFrame.latitude is valid. Magnetic heading. True heading. Value of dwIMUFrame.alignmentStatus is valid. Value of dwIMUFrame.magnetometer[2] is valid. Value of dwIMUFrame.magnetometer[1] is valid. Value of dwIMUFrame.magnetometer[0] is valid. Value of dwIMUFrame.acceleration[2] is valid. Value of dwIMUFrame.acceleration[1] is valid. Value of dwIMUFrame.acceleration[0] is valid. Value of dwIMUFrame.turnrate[2] is valid. Value of dwIMUFrame.turnrate[1] is valid. Value of dwIMUFrame.turnrate[0] is valid. Value of dwIMUFrame.orientationQuaternion.w is valid. Value of dwIMUFrame.orientationQuaternion.z is valid. Value of dwIMUFrame.orientationQuaternion.y is valid. Value of dwIMUFrame.orientationQuaternion.x is valid. Value of dwIMUFrame.orientation[2] is valid. Value of dwIMUFrame.orientation[1] is valid. Value of dwIMUFrame.orientation[0] is valid. Value of dwGPSFrame.gpsMode is valid. Value of dwGPSFrame.vacc is valid. Value of dwGPSFrame.hacc is valid. Value of dwGPSFrame.vdop is valid. Value of dwGPSFrame.hdop is valid. Value of dwGPSFrame.climb is valid. Value of dwGPSFrame.speed is valid. Value of dwGPSFrame.course is valid. Value of dwGPSFrame.altitude is valid. Value of dwGPSFrame.longitude is valid. 'dwIMUFrame.heading' points towards true north. 'dwIMUFrame.heading' points towards magnetic north. |
DW_DEPRECATED_ENUM | Value of dwGPSFrame.latitude is valid. Magnetic heading. True heading. Value of dwIMUFrame.alignmentStatus is valid. Value of dwIMUFrame.magnetometer[2] is valid. Value of dwIMUFrame.magnetometer[1] is valid. Value of dwIMUFrame.magnetometer[0] is valid. Value of dwIMUFrame.acceleration[2] is valid. Value of dwIMUFrame.acceleration[1] is valid. Value of dwIMUFrame.acceleration[0] is valid. Value of dwIMUFrame.turnrate[2] is valid. Value of dwIMUFrame.turnrate[1] is valid. Value of dwIMUFrame.turnrate[0] is valid. Value of dwIMUFrame.orientationQuaternion.w is valid. Value of dwIMUFrame.orientationQuaternion.z is valid. Value of dwIMUFrame.orientationQuaternion.y is valid. Value of dwIMUFrame.orientationQuaternion.x is valid. Value of dwIMUFrame.orientation[2] is valid. Value of dwIMUFrame.orientation[1] is valid. Value of dwIMUFrame.orientation[0] is valid. Value of dwGPSFrame.gpsMode is valid. Value of dwGPSFrame.vacc is valid. Value of dwGPSFrame.hacc is valid. Value of dwGPSFrame.vdop is valid. Value of dwGPSFrame.hdop is valid. Value of dwGPSFrame.climb is valid. Value of dwGPSFrame.speed is valid. Value of dwGPSFrame.course is valid. Value of dwGPSFrame.altitude is valid. Value of dwGPSFrame.longitude is valid. 'dwIMUFrame.heading' points towards true north. 'dwIMUFrame.heading' points towards magnetic north. |
DW_DEPRECATED_ENUM | Value of dwGPSFrame.latitude is valid. Magnetic heading. True heading. Value of dwIMUFrame.alignmentStatus is valid. Value of dwIMUFrame.magnetometer[2] is valid. Value of dwIMUFrame.magnetometer[1] is valid. Value of dwIMUFrame.magnetometer[0] is valid. Value of dwIMUFrame.acceleration[2] is valid. Value of dwIMUFrame.acceleration[1] is valid. Value of dwIMUFrame.acceleration[0] is valid. Value of dwIMUFrame.turnrate[2] is valid. Value of dwIMUFrame.turnrate[1] is valid. Value of dwIMUFrame.turnrate[0] is valid. Value of dwIMUFrame.orientationQuaternion.w is valid. Value of dwIMUFrame.orientationQuaternion.z is valid. Value of dwIMUFrame.orientationQuaternion.y is valid. Value of dwIMUFrame.orientationQuaternion.x is valid. Value of dwIMUFrame.orientation[2] is valid. Value of dwIMUFrame.orientation[1] is valid. Value of dwIMUFrame.orientation[0] is valid. Value of dwGPSFrame.gpsMode is valid. Value of dwGPSFrame.vacc is valid. Value of dwGPSFrame.hacc is valid. Value of dwGPSFrame.vdop is valid. Value of dwGPSFrame.hdop is valid. Value of dwGPSFrame.climb is valid. Value of dwGPSFrame.speed is valid. Value of dwGPSFrame.course is valid. Value of dwGPSFrame.altitude is valid. Value of dwGPSFrame.longitude is valid. 'dwIMUFrame.heading' points towards true north. 'dwIMUFrame.heading' points towards magnetic north. |
DW_DEPRECATED_ENUM | Value of dwGPSFrame.latitude is valid. Magnetic heading. True heading. Value of dwIMUFrame.alignmentStatus is valid. Value of dwIMUFrame.magnetometer[2] is valid. Value of dwIMUFrame.magnetometer[1] is valid. Value of dwIMUFrame.magnetometer[0] is valid. Value of dwIMUFrame.acceleration[2] is valid. Value of dwIMUFrame.acceleration[1] is valid. Value of dwIMUFrame.acceleration[0] is valid. Value of dwIMUFrame.turnrate[2] is valid. Value of dwIMUFrame.turnrate[1] is valid. Value of dwIMUFrame.turnrate[0] is valid. Value of dwIMUFrame.orientationQuaternion.w is valid. Value of dwIMUFrame.orientationQuaternion.z is valid. Value of dwIMUFrame.orientationQuaternion.y is valid. Value of dwIMUFrame.orientationQuaternion.x is valid. Value of dwIMUFrame.orientation[2] is valid. Value of dwIMUFrame.orientation[1] is valid. Value of dwIMUFrame.orientation[0] is valid. Value of dwGPSFrame.gpsMode is valid. Value of dwGPSFrame.vacc is valid. Value of dwGPSFrame.hacc is valid. Value of dwGPSFrame.vdop is valid. Value of dwGPSFrame.hdop is valid. Value of dwGPSFrame.climb is valid. Value of dwGPSFrame.speed is valid. Value of dwGPSFrame.course is valid. Value of dwGPSFrame.altitude is valid. Value of dwGPSFrame.longitude is valid. 'dwIMUFrame.heading' points towards true north. 'dwIMUFrame.heading' points towards magnetic north. |
DW_DEPRECATED_ENUM | Value of dwGPSFrame.latitude is valid. Magnetic heading. True heading. Value of dwIMUFrame.alignmentStatus is valid. Value of dwIMUFrame.magnetometer[2] is valid. Value of dwIMUFrame.magnetometer[1] is valid. Value of dwIMUFrame.magnetometer[0] is valid. Value of dwIMUFrame.acceleration[2] is valid. Value of dwIMUFrame.acceleration[1] is valid. Value of dwIMUFrame.acceleration[0] is valid. Value of dwIMUFrame.turnrate[2] is valid. Value of dwIMUFrame.turnrate[1] is valid. Value of dwIMUFrame.turnrate[0] is valid. Value of dwIMUFrame.orientationQuaternion.w is valid. Value of dwIMUFrame.orientationQuaternion.z is valid. Value of dwIMUFrame.orientationQuaternion.y is valid. Value of dwIMUFrame.orientationQuaternion.x is valid. Value of dwIMUFrame.orientation[2] is valid. Value of dwIMUFrame.orientation[1] is valid. Value of dwIMUFrame.orientation[0] is valid. Value of dwGPSFrame.gpsMode is valid. Value of dwGPSFrame.vacc is valid. Value of dwGPSFrame.hacc is valid. Value of dwGPSFrame.vdop is valid. Value of dwGPSFrame.hdop is valid. Value of dwGPSFrame.climb is valid. Value of dwGPSFrame.speed is valid. Value of dwGPSFrame.course is valid. Value of dwGPSFrame.altitude is valid. Value of dwGPSFrame.longitude is valid. 'dwIMUFrame.heading' points towards true north. 'dwIMUFrame.heading' points towards magnetic north. |
DW_DEPRECATED_ENUM | Value of dwGPSFrame.latitude is valid. Magnetic heading. True heading. Value of dwIMUFrame.alignmentStatus is valid. Value of dwIMUFrame.magnetometer[2] is valid. Value of dwIMUFrame.magnetometer[1] is valid. Value of dwIMUFrame.magnetometer[0] is valid. Value of dwIMUFrame.acceleration[2] is valid. Value of dwIMUFrame.acceleration[1] is valid. Value of dwIMUFrame.acceleration[0] is valid. Value of dwIMUFrame.turnrate[2] is valid. Value of dwIMUFrame.turnrate[1] is valid. Value of dwIMUFrame.turnrate[0] is valid. Value of dwIMUFrame.orientationQuaternion.w is valid. Value of dwIMUFrame.orientationQuaternion.z is valid. Value of dwIMUFrame.orientationQuaternion.y is valid. Value of dwIMUFrame.orientationQuaternion.x is valid. Value of dwIMUFrame.orientation[2] is valid. Value of dwIMUFrame.orientation[1] is valid. Value of dwIMUFrame.orientation[0] is valid. Value of dwGPSFrame.gpsMode is valid. Value of dwGPSFrame.vacc is valid. Value of dwGPSFrame.hacc is valid. Value of dwGPSFrame.vdop is valid. Value of dwGPSFrame.hdop is valid. Value of dwGPSFrame.climb is valid. Value of dwGPSFrame.speed is valid. Value of dwGPSFrame.course is valid. Value of dwGPSFrame.altitude is valid. Value of dwGPSFrame.longitude is valid. 'dwIMUFrame.heading' points towards true north. 'dwIMUFrame.heading' points towards magnetic north. |
DW_DEPRECATED_ENUM | Value of dwGPSFrame.latitude is valid. Magnetic heading. True heading. Value of dwIMUFrame.alignmentStatus is valid. Value of dwIMUFrame.magnetometer[2] is valid. Value of dwIMUFrame.magnetometer[1] is valid. Value of dwIMUFrame.magnetometer[0] is valid. Value of dwIMUFrame.acceleration[2] is valid. Value of dwIMUFrame.acceleration[1] is valid. Value of dwIMUFrame.acceleration[0] is valid. Value of dwIMUFrame.turnrate[2] is valid. Value of dwIMUFrame.turnrate[1] is valid. Value of dwIMUFrame.turnrate[0] is valid. Value of dwIMUFrame.orientationQuaternion.w is valid. Value of dwIMUFrame.orientationQuaternion.z is valid. Value of dwIMUFrame.orientationQuaternion.y is valid. Value of dwIMUFrame.orientationQuaternion.x is valid. Value of dwIMUFrame.orientation[2] is valid. Value of dwIMUFrame.orientation[1] is valid. Value of dwIMUFrame.orientation[0] is valid. Value of dwGPSFrame.gpsMode is valid. Value of dwGPSFrame.vacc is valid. Value of dwGPSFrame.hacc is valid. Value of dwGPSFrame.vdop is valid. Value of dwGPSFrame.hdop is valid. Value of dwGPSFrame.climb is valid. Value of dwGPSFrame.speed is valid. Value of dwGPSFrame.course is valid. Value of dwGPSFrame.altitude is valid. Value of dwGPSFrame.longitude is valid. 'dwIMUFrame.heading' points towards true north. 'dwIMUFrame.heading' points towards magnetic north. |
DW_GPS_FORCE32 |
enum dwGPSMode |
The GPS mode gives the status of the GNSS data.
Note that modes 1-7 are increasing in accuracy. Modes 8 and 9 are not quite as good as 6 and 7, respectively.
DW_API_PUBLIC dwStatus dwSensorGPS_popFrame | ( | dwGPSFrame *const | frame, |
dwSensorHandle_t const | sensor | ||
) |
Returns any GPS frame previously processed through RAW data stream.
This happens on the CPU thread where the function is called, incurring an additional load on that thread.
[out] | frame | Pointer to an GPS frame structure to be filled with new data. |
[in] | sensor | Sensor handle of the sensor previously created with 'dwSAL_createSensor()'. |
DW_API_PUBLIC dwStatus dwSensorGPS_popFrameNew | ( | dwGPSFrameNew *const | frame, |
dwSensorHandle_t const | sensor | ||
) |
Returns any GPS frame New previously processed through RAW data stream.
This happens on the CPU thread where the function is called, incurring an additional load on that thread.
[out] | frame | Pointer to an GPS frame New structure to be filled with new data. |
[in] | sensor | Sensor handle of the sensor previously created with 'dwSAL_createSensor()'. |
DW_API_PUBLIC dwStatus dwSensorGPS_processRawData | ( | uint8_t const *const | data, |
size_t const | size, | ||
dwSensorHandle_t const | sensor | ||
) |
Decodes RAW data previously read.
Any processed messages can be picked up using the dwSensorGPS_popMessage() method. This happens on the CPU thread where the function is called, incurring on additional load on that thread.
[in] | data | Undecoded gps data. |
[in] | size | Size in bytes of the raw data. |
[in] | sensor | Sensor handle of the sensor previously created with 'dwSAL_createSensor()'. |
DW_API_PUBLIC dwStatus dwSensorGPS_processRawDataNew | ( | uint8_t const *const | data, |
size_t const | size, | ||
dwSensorHandle_t const | sensor | ||
) |
Decodes RAW data previously read.
Any processed messages can be picked up using the dwSensorGPS_popMessageNew() method. This happens on the CPU thread where the function is called, incurring on additional load on that thread.
[in] | data | Undecoded gps data. |
[in] | size | Size in bytes of the raw data. |
[in] | sensor | Sensor handle of the sensor previously created with 'dwSAL_createSensor()'. |
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.
The method blocks until either a new valid frame is received from the sensor or the given timeout exceeds.
[out] | frame | A pointer to a GPS frame structure to be filled with new localization data. |
[in] | timeoutUs | Specifies the timeout in us to wait for a new message. Special values: DW_TIMEOUT_INFINITE - to wait infinitly. Zero - means polling of internal queue. |
[in] | sensor | Specifies the sensor handle of the GPS sensor previously created with 'dwSAL_createSensor()'. |
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.
The method blocks until either a new valid frame is received from the sensor or the given timeout exceeds.
[out] | frame | A pointer to a GPS frame New structure to be filled with new localization data. |
[in] | timeoutUs | Specifies the timeout in us to wait for a new message. Special values: DW_TIMEOUT_INFINITE - to wait infinitly. Zero - means polling of internal queue. |
[in] | sensor | Specifies the sensor handle of the GPS sensor previously created with 'dwSAL_createSensor()'. |