48#ifndef DW_EGOMOTION_GLOBAL_GLOBALEGOMOTION_H_
49#define DW_EGOMOTION_GLOBAL_GLOBALEGOMOTION_H_
149 const char* gpsSensorName);
NVIDIA DriveWorks API: Egomotion Methods
NVIDIA DriveWorks API: GPS
Location point defined by WGS84 coordinates.
Defines a single-precision quaternion.
Confidence structure with 3x3 covariance matrix.
Defines a three-element floating-point vector.
float float32_t
Specifies POD types.
int64_t dwTime_t
Specifies a timestamp unit, in microseconds.
struct dwContextObject * dwContextHandle_t
Context handle.
dwStatus
Status definition.
Holds egomotion state estimate.
Holds egomotion uncertainty estimates.
dwGeoPointWGS84 position
Position in WGS-84 reference system.
bool validOrientation
Indicates validity of orientation uncertainty estimate.
float32_t horizontalNoiseMeter
Expected horizontal position noise (CEP) of the GNSS sensor [m] A default value of 2....
float32_t verticalNoiseMeter
Expected vertical position noise (CEP) of the GNSS sensor [m] A default value of 5 [m] will be assume...
dwTime_t timestamp
Estimate timestamp.
dwVector3f antennaPosition
GNSS antenna position in the rig coordinate system [m].
dwGNSSCharacteristics sensorCharacteristics
Sensor characteristics.
dwQuaternionf orientation
Rotation from rig coordinate system to ENU coordinate system.
bool validPosition
Indicates validity of position estimate.
float32_t rotationalDrift
Expected magnitude of relative egomotion rotational drift [deg/s] A default value of 10 [deg/h] will ...
dwTime_t timestamp
Estimate timestamp.
dwConfidence3f position
Position uncertainty (easting [m], northing [m], altitude [m]).
size_t historySize
Size of history array, in number of state estimates it holds.
dwConfidence3f orientation
Orientation uncertainty (roll [rad], pitch [rad], yaw [rad]).
bool validPosition
Indicates validity of position uncertainty estimate.
bool validOrientation
Indicates validity of orientation estimate.
DW_API_PUBLIC dwStatus dwGlobalEgomotion_getEstimate(dwGlobalEgomotionResult *result, dwGlobalEgomotionUncertainty *uncertainty, dwGlobalEgomotionConstHandle_t handle)
Get current filter state estimate.
DW_API_PUBLIC dwStatus dwGlobalEgomotion_addGPSMeasurement(const dwGPSFrame *measurement, dwGlobalEgomotionHandle_t handle)
Adds GPS measurement to the global egomotion module.
DW_API_PUBLIC dwStatus dwGlobalEgomotion_reset(dwGlobalEgomotionHandle_t handle)
Resets the state estimate and all history of the global egomotion module.
DW_API_PUBLIC dwStatus dwGlobalEgomotion_getHistoryEntry(dwGlobalEgomotionResult *result, dwGlobalEgomotionUncertainty *uncertainty, size_t index, dwGlobalEgomotionConstHandle_t handle)
Returns an entry from the history array.
DW_API_PUBLIC dwStatus dwGlobalEgomotion_addRelativeMotion(const dwEgomotionResult *egomotionResult, const dwEgomotionUncertainty *egomotionUncertainty, dwGlobalEgomotionHandle_t handle)
Adds relative egomotion estimate to the global egomotion module.
DW_API_PUBLIC dwStatus dwGlobalEgomotion_getHistorySize(size_t *num, dwGlobalEgomotionConstHandle_t handle)
Returns the number of estimates currently stored in the history.
DW_API_PUBLIC dwStatus dwGlobalEgomotion_initParamsFromRig(dwGlobalEgomotionParameters *params, dwConstRigHandle_t rigConfiguration, const char *gpsSensorName)
Initialize global egomotion parameters from a provided RigConfiguration.
DW_API_PUBLIC dwStatus dwGlobalEgomotion_getTimestamp(dwTime_t *timestamp, dwGlobalEgomotionConstHandle_t handle)
Get timestamp of current filter estimate.
DW_API_PUBLIC dwStatus dwGlobalEgomotion_release(dwGlobalEgomotionHandle_t handle)
Releases the global egomotion module.
struct dwGlobalEgomotionObject const * dwGlobalEgomotionConstHandle_t
DW_API_PUBLIC dwStatus dwGlobalEgomotion_initialize(dwGlobalEgomotionHandle_t *handle, const dwGlobalEgomotionParameters *params, dwContextHandle_t ctx)
Initializes the global egomotion module.
DW_API_PUBLIC dwStatus dwGlobalEgomotion_computeEstimate(dwGlobalEgomotionResult *result, dwGlobalEgomotionUncertainty *uncertainty, dwTime_t timestamp, dwGlobalEgomotionConstHandle_t handle)
Computes global state estimate at given timestamp, if necessary by linear interpolation between avail...
struct dwGlobalEgomotionObject * dwGlobalEgomotionHandle_t
GNSS Sensor characteristics.
Holds initialization parameters for the global egomotion module.
Holds global egomotion state estimate.
Holds global egomotion uncertainty estimate.
A GPS packet containing localization information.
struct dwRigObject const * dwConstRigHandle_t