|
NVIDIA DriveOS Linux NSR SDK API Reference
|
7.0.3.0 Release
|
Go to the documentation of this file.
29 #ifndef DW_SENSORS_GPS_GPS_H_
30 #define DW_SENSORS_GPS_GPS_H_
32 #include <dw/core/base/Config.h>
33 #include <dw/core/base/Exports.h>
34 #include <dw/core/base/Types.h>
37 #include <dw/sensors/common/SensorTypes.h>
321 #pragma GCC diagnostic push // TODO(pshu): Remove in next major release
322 #pragma GCC diagnostic ignored "-Wdeprecated-declarations"
325 DW_DEPRECATED(
"dwSensorGPS_readFrameNew() is deprecated and will be removed soon. Please use dwSensorGPS_readFrame() instead");
326 #pragma GCC diagnostic pop
348 DW_DEPRECATED(
"dwSensorGPS_processRawDataNew() is deprecated and will be removed soon. Please use dwSensorGPS_processRawData() instead");
366 #pragma GCC diagnostic push // TODO(pshu): Remove in next major release
367 #pragma GCC diagnostic ignored "-Wdeprecated-declarations"
370 DW_DEPRECATED(
"dwSensorGPS_popFrameNew() is deprecated and will be removed soon. Please use dwSensorGPS_popFrame() instead");
371 #pragma GCC diagnostic pop
376 #endif // DW_SENSORS_GPS_GPS_H_
A GPS packet containing localization information.
struct dwSensorObject * dwSensorHandle_t
Handle representing a sensor.
dwGPSFixStatus
GPS satellite fix status.
uint8_t reserved[508]
Reserved space.
dwGPSTimestampQuality timestampQuality
This structure contains one frame of data from an GPS/GNSS sensor.
DW_API_PUBLIC dwStatus dwSensorGPS_processRawDataNew(uint8_t const *const data, size_t const size, dwSensorHandle_t const sensor) DW_DEPRECATED("dwSensorGPS_processRawDataNew() is deprecated and will be removed soon. Please use dwSensorGPS_processRawData() instead")
Decodes RAW data previously read.
dwGPSTimestampQuality
GPS timestamp quality.
DW_API_PUBLIC const dwSensorHandle_t sensor
dwGPSMode
The GPS mode gives the status of the GNSS data.
int64_t dwTime_t
Specifies a timestamp unit, in microseconds.
DW_API_PUBLIC dwStatus dwSensorGPS_popFrame(dwGPSFrame *const frame, dwSensorHandle_t const sensor)
Returns any GPS frame previously processed through RAW data stream.
struct dwGPSFrameNew DW_DEPRECATED("dwGPSFrameNew is deprecated and will be removed soon. Please use dwGPSFrame instead")
This structure contains one frame of data from an GPS/GNSS sensor.
DW_API_PUBLIC dwStatus dwSensorGPS_processRawData(uint8_t const *const data, size_t const size, dwSensorHandle_t const sensor)
Decodes RAW data previously read.
dwStatus
Status definition.
DW_API_PUBLIC dwStatus dwSensorGPS_popFrameNew(dwGPSFrameNew *const frame, dwSensorHandle_t const sensor) DW_DEPRECATED("dwSensorGPS_popFrameNew() is deprecated and will be removed soon. Please use dwSensorGPS_popFrame() instead")
Returns any GPS frame New previously processed through RAW data stream.
This structure contains validity of each signal provided by GPS sensors.
DW_API_PUBLIC dwStatus dwSensorGPS_readFrame(dwGPSFrame *const frame, dwTime_t const timeoutUs, dwSensorHandle_t const sensor)
Reads the next available GPS data frame with a given timeout.
DW_API_PUBLIC dwStatus dwSensorGPS_readFrameNew(dwGPSFrameNew *const frame, dwTime_t const timeoutUs, dwSensorHandle_t const sensor) DW_DEPRECATED("dwSensorGPS_readFrameNew() is deprecated and will be removed soon. Please use dwSensorGPS_readFrame() instead")
Reads the next GPS packet with a given timeout.
dwGPSSignalValidityInfo validityInfo
Signal validity information.