NVIDIA DriveOS Linux SDK API Reference

7.2.5.0 Early Access Release
GPS.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2016-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3  * SPDX-License-Identifier: LicenseRef-NvidiaProprietary
4  *
5  * NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
6  * property and proprietary rights in and to this material, related
7  * documentation and any modifications thereto. Any use, reproduction,
8  * disclosure or distribution of this material and related documentation
9  * without an express license agreement from NVIDIA CORPORATION or
10  * its affiliates is strictly prohibited.
11  */
12 
29 #ifndef DW_SENSORS_GPS_GPS_H_
30 #define DW_SENSORS_GPS_GPS_H_
31 
32 #include <dw/core/base/Config.h>
33 #include <dw/core/base/Exports.h>
34 #include <dw/core/base/Types.h>
35 
38 
39 #ifdef __cplusplus
40 extern "C" {
41 #endif
42 
88 dwStatus dwSensorGPS_readFrame(dwGPSFrame* const frame, dwTime_t const timeoutUs, dwSensorHandle_t const sensor);
89 
127 dwStatus dwSensorGPS_processRawData(uint8_t const* const data, size_t const size, dwSensorHandle_t const sensor);
128 
158 
161 #ifdef __cplusplus
162 }
163 #endif
164 #endif // DW_SENSORS_GPS_GPS_H_
dwGPSFrame
A GPS packet containing localization information.
Definition: GPSFrame.h:284
dwSensorHandle_t
struct dwSensorObject * dwSensorHandle_t
Handle representing a sensor.
Definition: SensorTypes.h:44
Types.h
sensor
const dwSensorHandle_t sensor
Definition: Camera.h:848
Exports.h
dwTime_t
int64_t dwTime_t
Definition: core/base/BasicTypes.h:65
dwSensorGPS_popFrame
DW_API_PUBLIC dwStatus dwSensorGPS_popFrame(dwGPSFrame *const frame, dwSensorHandle_t const sensor)
Returns any GPS frame previously processed through RAW data stream.
dwStatus
dwStatus
Status definition.
Definition: ErrorDefs.h:32
Config.h
dwSensorGPS_processRawData
DW_API_PUBLIC dwStatus dwSensorGPS_processRawData(uint8_t const *const data, size_t const size, dwSensorHandle_t const sensor)
Decodes RAW data previously read.
GPSFrame.h
SensorTypes.h
DW_API_PUBLIC
#define DW_API_PUBLIC
Definition: core/base/Exports.h:57
dwSensorGPS_readFrame
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.