50 #ifndef DW_EGOMOTION_GLOBAL_GLOBALEGOMOTION_H_ 51 #define DW_EGOMOTION_GLOBAL_GLOBALEGOMOTION_H_ 151 const char* gpsSensorName);
222 dwGlobalEgomotionHandle_t handle);
239 dwGlobalEgomotionHandle_t handle);
254 dwGlobalEgomotionConstHandle_t handle);
271 dwGlobalEgomotionConstHandle_t handle);
296 dwGlobalEgomotionConstHandle_t handle);
330 dwGlobalEgomotionConstHandle_t handle);
336 #endif // DW_EGOMOTION_GLOBAL_GLOBALEGOMOTION_H_ GNSS Sensor characteristics.
bool validPosition
Indicates validity of position estimate.
float float32_t
Specifies POD types.
NVIDIA DriveWorks API: Egomotion Methods
dwGeoPointWGS84 position
Position in WGS-84 reference system.
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...
Defines a three-element floating-point vector.
DW_API_PUBLIC dwStatus dwGlobalEgomotion_getHistoryEntry(dwGlobalEgomotionResult *result, dwGlobalEgomotionUncertainty *uncertainty, size_t index, dwGlobalEgomotionConstHandle_t handle)
Returns an entry from the history array.
Defines a single-precision quaternion.
size_t historySize
Size of history array, in number of state estimates it holds.
DW_API_PUBLIC dwStatus dwGlobalEgomotion_release(dwGlobalEgomotionHandle_t handle)
Releases the global egomotion module.
dwGNSSCharacteristics sensorCharacteristics
Sensor characteristics.
dwQuaternionf orientation
Rotation from rig coordinate system to ENU coordinate system.
bool validPosition
Indicates validity of position uncertainty estimate.
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.
bool validOrientation
Indicates validity of orientation estimate.
dwConfidence3f orientation
Orientation uncertainty (roll [rad], pitch [rad], yaw [rad]).
bool validOrientation
Indicates validity of orientation uncertainty estimate.
dwConfidence3f position
Position uncertainty (easting [m], northing [m], altitude [m]).
dwStatus
Status definition.
Holds global egomotion state estimate.
Location point defined by WGS84 coordinates.
int64_t dwTime_t
Specifies a timestamp unit, in microseconds.
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_initParamsFromRig(dwGlobalEgomotionParameters *params, dwConstRigHandle_t rigConfiguration, const char *gpsSensorName)
Initialize global egomotion parameters from a provided RigConfiguration.
struct dwRigObject const * dwConstRigHandle_t
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_getTimestamp(dwTime_t *timestamp, dwGlobalEgomotionConstHandle_t handle)
Get timestamp of current filter estimate.
NVIDIA DriveWorks API: GPS
Holds global egomotion uncertainty estimate.
dwTime_t timestamp
Estimate timestamp.
Holds egomotion uncertainty estimates.
dwTime_t timestamp
Estimate timestamp.
struct dwGlobalEgomotionObject * dwGlobalEgomotionHandle_t
Holds egomotion state estimate.
struct dwContextObject * dwContextHandle_t
Context handle.
DW_API_PUBLIC dwStatus dwGlobalEgomotion_addRelativeMotion(const dwEgomotionResult *egomotionResult, const dwEgomotionUncertainty *egomotionUncertainty, dwGlobalEgomotionHandle_t handle)
Adds relative egomotion estimate to the global egomotion module.
float32_t rotationalDrift
Expected magnitude of relative egomotion rotational drift [deg/s] A default value of 10 [deg/h] will ...
Holds initialization parameters for the global egomotion module.
dwVector3f antennaPosition
GNSS antenna position in the rig coordinate system [m].
float32_t horizontalNoiseMeter
Expected horizontal position noise (CEP) of the GNSS sensor [m] A default value of 2...
DW_API_PUBLIC dwStatus dwGlobalEgomotion_getEstimate(dwGlobalEgomotionResult *result, dwGlobalEgomotionUncertainty *uncertainty, dwGlobalEgomotionConstHandle_t handle)
Get current filter state estimate.
DW_API_PUBLIC dwStatus dwGlobalEgomotion_getHistorySize(size_t *num, dwGlobalEgomotionConstHandle_t handle)
Returns the number of estimates currently stored in the history.
A GPS packet containing localization information.
float32_t verticalNoiseMeter
Expected vertical position noise (CEP) of the GNSS sensor [m] A default value of 5 [m] will be assume...