|
|
NVIDIA DriveOS Linux SDK API Reference
|
7.2.5.0 Early Access Release
|
Go to the documentation of this file.
60 #ifndef DW_EGOMOTION_BASE_EGOMOTIONSTATE_H_
61 #define DW_EGOMOTION_BASE_EGOMOTIONSTATE_H_
92 DW_DEPRECATED(
"dwEgomotion_createEmptyState has been deprecated and will be removed in the next release. Use dwEgomotion2_initializeState instead.")
403 #endif // DW_EGOMOTION_BASE_EGOMOTIONSTATE_H_
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.
DW_API_PUBLIC dwStatus dwEgomotion_getState(dwEgomotionStateHandle_t state, dwEgomotionConstHandle_t obj)
Fills out already preallocated state handle.
struct dwEgomotionObject * dwEgomotionHandle_t
Egomotion Handle.
DW_API_PUBLIC dwStatus dwEgomotionState_getMotionModel(dwMotionModel *model, dwConstEgomotionStateHandle_t obj)
DW_API_PUBLIC dwStatus dwEgomotion_getHistoryCapacity(size_t *capacity, dwEgomotionConstHandle_t obj)
Returns the capacity of the history, i.e.
DW_API_PUBLIC dwStatus dwEgomotionState_deserialize(const uint8_t *buffer, size_t bufferSize, dwEgomotionStateHandle_t state)
Deserialize the state from the provided buffer.
DW_API_PUBLIC dwStatus dwEgomotionState_computeRelativeTransformation(dwTransformation3f *poseAtoB, dwEgomotionTransformationQuality *quality, dwTime_t timestamp_a, dwTime_t timestamp_b, dwConstEgomotionStateHandle_t obj)
Instantaneous state uncertainty estimates.
DW_API_PUBLIC dwStatus dwEgomotionState_getGyroscopeBias(dwVector3f *gyroBias, dwConstEgomotionStateHandle_t obj)
DW_API_PUBLIC dwStatus dwEgomotionState_getHistorySize(size_t *num, dwConstEgomotionStateHandle_t obj)
DW_API_PUBLIC dwStatus dwEgomotionState_createEmpty(dwEgomotionStateHandle_t *state, dwEgomotionStateParams params, dwContextHandle_t ctx)
Create empty state for a given motion model type.
DW_API_PUBLIC dwStatus dwEgomotionState_append(dwEgomotionStateHandle_t state, dwConstEgomotionStateHandle_t source)
Append egomotion state to pre-existing state handle.
DW_API_PUBLIC dwStatus dwEgomotionState_getHistoryElement(dwEgomotionResult *pose, dwEgomotionUncertainty *uncertainty, size_t index, dwConstEgomotionStateHandle_t obj)
const WFDPipeline const WFDSource const WFDTransition const WFDRect *const const WFDuint64 timestamp
struct dwEgomotionStateObject const * dwConstEgomotionStateHandle_t
Const handle to an egomotion state object.
dwMotionModel
Defines the motion models.
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_getEstimationTimestamp(dwTime_t *timestamp, dwConstEgomotionStateHandle_t obj)
DW_API_PUBLIC dwStatus dwEgomotion2_initializeState(dwEgomotionStateHandle_t *state, size_t const historySize, dwContextHandle_t ctx)
Initializes an instance of the egomotion 2.0 state history.
Defines a three-element floating-point vector.
struct dwEgomotionStateObject * dwEgomotionStateHandle_t
Mutable handle to an egomotion state object.
const WFDPipeline const WFDSource source
DW_API_PUBLIC dwStatus dwEgomotion_createEmptyState(dwEgomotionStateHandle_t *state, dwEgomotionHandle_t obj)
Create empty state from the given egomotion module.
DW_API_PUBLIC dwStatus dwEgomotionState_getHistoryCapacity(size_t *capacity, dwConstEgomotionStateHandle_t obj)
const NvSciSyncObj *const obj
dwStatus
Status definition.
#define DW_DEPRECATED(msg)
Defines egomotion state initialization parameters.
DW_API_PUBLIC dwStatus dwEgomotionState_copy(dwEgomotionStateHandle_t state, dwConstEgomotionStateHandle_t source)
Copy existing egomotion state to preallocated state handle.
DW_API_PUBLIC dwStatus dwEgomotionState_getUncertainty(dwEgomotionUncertainty *result, dwConstEgomotionStateHandle_t obj)
struct dwContextObject * dwContextHandle_t
Context handle.
dwCoordinateSystem
Coordinate systems.
DW_API_PUBLIC dwStatus dwEgomotionState_estimate(dwEgomotionResult *pose, dwEgomotionUncertainty *uncertainty, dwTime_t timestamp_us, dwConstEgomotionStateHandle_t obj)
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.
DW_API_PUBLIC dwStatus dwEgomotionState_getEstimation(dwEgomotionResult *result, dwConstEgomotionStateHandle_t obj)
struct dwEgomotionObject const * dwEgomotionConstHandle_t
Const Egomotion Handle.
DW_API_PUBLIC dwStatus dwEgomotionState_release(dwEgomotionStateHandle_t state)
Releases the egomotion state previously created with dwEgomotionState_createEmpty.
Instantaneous state estimate.