DriveWorks SDK Reference
5.16.65 Release
For Test and Development only

EgomotionState.h File Reference

Detailed Description

NVIDIA DriveWorks API: Egomotion Producer/State Methods

Description: This file defines the producer/state API of egomotion module

Definition in file EgomotionState.h.

Go to the source code of this file.

Data Structures

struct  dwEgomotionStateParams
 Defines egomotion state initialization parameters. More...
 

Typedefs

typedef struct dwEgomotionStateObject const * dwConstEgomotionStateHandle_t
 
typedef struct dwEgomotionStateObject * dwEgomotionStateHandle_t
 

Functions

DW_API_PUBLIC dwStatus dwEgomotion_createEmptyState (dwEgomotionStateHandle_t *state, dwEgomotionHandle_t obj)
 Create empty state from the given egomotion module. More...
 
DW_API_PUBLIC dwStatus dwEgomotion_getHistoryCapacity (size_t *capacity, dwEgomotionConstHandle_t obj)
 Returns the capacity of the history, i.e. More...
 
DW_API_PUBLIC dwStatus dwEgomotion_getState (dwEgomotionStateHandle_t state, dwEgomotionConstHandle_t obj)
 Fills out already preallocated state handle. More...
 
DW_API_PUBLIC dwStatus dwEgomotionState_computeBodyTransformation (dwTransformation3f *const transformationAToB, dwEgomotionTransformationQuality *const quality, dwTime_t const timestamp, dwCoordinateSystem const coordinateSystemA, dwCoordinateSystem const coordinateSystemB, dwConstEgomotionStateHandle_t const obj)
 
DW_API_PUBLIC dwStatus dwEgomotionState_computeRelativeTransformation (dwTransformation3f *poseAtoB, dwEgomotionTransformationQuality *quality, dwTime_t timestamp_a, dwTime_t timestamp_b, dwConstEgomotionStateHandle_t obj)
 
DW_API_PUBLIC dwStatus dwEgomotionState_copy (dwEgomotionStateHandle_t state, dwConstEgomotionStateHandle_t source)
 Copy existing egomotion state to preallocated state handle. More...
 
DW_API_PUBLIC dwStatus dwEgomotionState_createEmpty (dwEgomotionStateHandle_t *state, dwEgomotionStateParams params, dwContextHandle_t ctx)
 Create empty state for a given motion model type. More...
 
DW_API_PUBLIC dwStatus dwEgomotionState_deserialize (const uint8_t *buffer, size_t bufferSize, dwEgomotionStateHandle_t state)
 Deserialize the state from the provided buffer. More...
 
DW_API_PUBLIC dwStatus dwEgomotionState_estimate (dwEgomotionResult *pose, dwEgomotionUncertainty *uncertainty, dwTime_t timestamp_us, dwConstEgomotionStateHandle_t obj)
 
DW_API_PUBLIC dwStatus dwEgomotionState_getEstimation (dwEgomotionResult *result, dwConstEgomotionStateHandle_t obj)
 
DW_API_PUBLIC dwStatus dwEgomotionState_getEstimationTimestamp (dwTime_t *timestamp, dwConstEgomotionStateHandle_t obj)
 
DW_API_PUBLIC dwStatus dwEgomotionState_getGyroscopeBias (dwVector3f *gyroBias, dwConstEgomotionStateHandle_t obj)
 
DW_API_PUBLIC dwStatus dwEgomotionState_getHistoryCapacity (size_t *capacity, dwConstEgomotionStateHandle_t obj)
 
DW_API_PUBLIC dwStatus dwEgomotionState_getHistoryElement (dwEgomotionResult *pose, dwEgomotionUncertainty *uncertainty, size_t index, dwConstEgomotionStateHandle_t obj)
 
DW_API_PUBLIC dwStatus dwEgomotionState_getHistorySize (size_t *num, dwConstEgomotionStateHandle_t obj)
 
DW_API_PUBLIC dwStatus dwEgomotionState_getMaxNumBytes (size_t *bufferCapacity, dwConstEgomotionStateHandle_t state)
 Get maximal number of bytes required for a buffer to contain serialized state. More...
 
DW_API_PUBLIC dwStatus dwEgomotionState_getMotionModel (dwMotionModel *model, dwConstEgomotionStateHandle_t obj)
 
DW_API_PUBLIC dwStatus dwEgomotionState_getUncertainty (dwEgomotionUncertainty *result, dwConstEgomotionStateHandle_t obj)
 
DW_API_PUBLIC dwStatus dwEgomotionState_release (dwEgomotionStateHandle_t state)
 Releases the egomotion state previously created with dwEgomotionState_createEmpty. More...
 
DW_API_PUBLIC dwStatus dwEgomotionState_serialize (size_t *numBytes, uint8_t *buffer, size_t bufferCapacity, dwConstEgomotionStateHandle_t state)
 Serialize the state out into the provided buffer. More...