DriveWorks SDK Reference
4.0.0 Release
For Test and Development only

CalibrationTypes.h
Go to the documentation of this file.
1 // This code contains NVIDIA Confidential Information and is disclosed
3 // under the Mutual Non-Disclosure Agreement.
4 //
5 // Notice
6 // ALL NVIDIA DESIGN SPECIFICATIONS AND CODE ("MATERIALS") ARE PROVIDED "AS IS" NVIDIA MAKES
7 // NO REPRESENTATIONS, WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO
8 // THE MATERIALS, AND EXPRESSLY DISCLAIMS ANY IMPLIED WARRANTIES OF NONINFRINGEMENT,
9 // MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
10 //
11 // NVIDIA Corporation assumes no responsibility for the consequences of use of such
12 // information or for any infringement of patents or other rights of third parties that may
13 // result from its use. No license is granted by implication or otherwise under any patent
14 // or patent rights of NVIDIA Corporation. No third party distribution is allowed unless
15 // expressly authorized by NVIDIA. Details are subject to change without notice.
16 // This code supersedes and replaces all information previously supplied.
17 // NVIDIA Corporation products are not authorized for use as critical
18 // components in life support devices or systems without express written approval of
19 // NVIDIA Corporation.
20 //
21 // Copyright (c) 2016-2019 NVIDIA Corporation. All rights reserved.
22 //
23 // NVIDIA Corporation and its licensors retain all intellectual property and proprietary
24 // rights in and to this software and related documentation and any modifications thereto.
25 // Any use, reproduction, disclosure or distribution of this software and related
26 // documentation without an express license agreement from NVIDIA Corporation is
27 // strictly prohibited.
28 //
30 
48 #ifndef DW_CALIBRATION_ENGINE_CALIBRATIONTYPES_H_
49 #define DW_CALIBRATION_ENGINE_CALIBRATIONTYPES_H_
50 
51 #include <dw/core/base/Types.h>
52 
53 #ifdef __cplusplus
54 extern "C" {
55 #endif
56 
60 #define DW_CALIBRATION_MAXROUTINES 64
61 
65 typedef struct dwCalibrationRoutineObject* dwCalibrationRoutineHandle_t;
66 typedef struct dwCalibrationEngineObject* dwCalibrationEngineHandle_t;
67 
71 typedef enum dwCalibrationState {
74 
77 
81 
91 
95 typedef struct dwCalibrationStatus
96 {
98  bool started;
99 
102 
106 
111 typedef void (*dwCalibrationStatusChanged)(dwCalibrationRoutineHandle_t routine,
112  dwCalibrationStatus status,
113  void* userData);
114 
118 typedef enum dwCalibrationSignal {
128 
134 
145 
148 
152 
153 #ifdef __cplusplus
154 } // extern C
155 #endif
156 
158 #endif // DW_CALIBRATION_ENGINE_CALIBRATIONTYPES_H_
NVIDIA DriveWorks API: Core Types
Pose-related signals and pose components.
float float32_t
Specifies POD types.
Definition: Types.h:70
estimating the z component of a translation / direction
Let the calibration engine decide if fast-acceptance should be used.
estimating the yaw component of an orientation
struct dwCalibrationRoutineObject * dwCalibrationRoutineHandle_t
Handles to calibration module objects.
estimating "sensor to sensor" poses
DW_API_PUBLIC dwStatus dwCalibrationState_toString(const char **str, dwCalibrationState state)
Converts a calibration state enum to a human-readable string representation.
The routine has accepted an estimate and calibration continues.
estimating the roll component of an orientation
dwStatus
Status definition.
Definition: Status.h:180
struct dwCalibrationEngineObject * dwCalibrationEngineHandle_t
void(* dwCalibrationStatusChanged)(dwCalibrationRoutineHandle_t routine, dwCalibrationStatus status, void *userData)
Defines a callback function that is called when calibration routine has changed its internal status...
The routine hasn&#39;t accepted an estimate.
estimating a "sensor to rig" pose
estimating the x component of a translation / direction
dwCalibrationState
Defines the current state of an individual calibration.
Defines the current status of an individual calibration.
dwCalibrationState state
The current state of a calibration routine.
dwCalibrationFastAcceptanceOption
Fast-acceptance options to configure calibration routines with.
estimating the pitch component of an orientation
The routine has failed calibration.
float32_t percentageComplete
The current calibration percentage complete status. Valid percentages are in the range [0...
bool started
Flag indicating whether a calibration routine is running.
Unconditionally disable fast-acceptance (previously accepted estimates will not be used) ...
estimating the y component of a translation / direction
estimating speed correction factor for CAN odometry
dwCalibrationSignal
Defines signal types supported by a calibration routine.
Unconditionally enable fast-acceptance (previously accepted estimates need to be available) ...
#define DW_API_PUBLIC
Definition: Exports.h:54