|
NVIDIA DriveOS Linux NSR SDK API Reference
|
7.0.3.0 Release
|
Go to the documentation of this file.
30 #ifndef DW_EGOMOTION_GLOBAL_GLOBALEGOMOTION_H_
31 #define DW_EGOMOTION_GLOBAL_GLOBALEGOMOTION_H_
33 #include <dw/egomotion/base/Egomotion.h>
34 #include <dw/sensors/gps/GPS.h>
121 const char* gpsSensorName);
347 #endif // DW_EGOMOTION_GLOBAL_GLOBALEGOMOTION_H_
A GPS packet containing localization information.
dwVector3f antennaPosition
GNSS antenna position in the rig coordinate system [m].
DW_API_PUBLIC dwStatus dwGlobalEgomotion_initialize(dwGlobalEgomotionHandle_t *handle, const dwGlobalEgomotionParameters *params, dwContextHandle_t ctx)
Initializes the global egomotion module.
size_t historySize
Size of history array, in number of state estimates it holds.
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
Handle representing the const Rig interface.
float32_t rotationalDrift
Expected magnitude of relative egomotion rotational drift [deg/s] A default value of 10 [deg/h] will ...
DW_API_PUBLIC dwPointCloudRangeImageCreatorParams const *const const dwContextHandle_t ctx
Instantaneous state uncertainty estimates.
DW_API_PUBLIC dwStatus dwGlobalEgomotion_getTimestamp(dwTime_t *timestamp, dwGlobalEgomotionConstHandle_t handle)
Get timestamp of current filter estimate.
DW_API_PUBLIC dwStatus dwGlobalEgomotion_addGPSMeasurement(const dwGPSFrame *measurement, dwGlobalEgomotionHandle_t handle)
Adds GPS measurement to the global egomotion module.
const WFDPipeline const WFDSource const WFDTransition const WFDRect *const const WFDuint64 timestamp
float32_t verticalNoiseMeter
Expected vertical position noise (CEP) of the GNSS sensor [m] A default value of 5 [m] will be assume...
Holds global egomotion uncertainty estimate.
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...
bool useHostTimeGPS
Use host timestamp at reception in global egomotion instead of GPS frame timestamp.
const WFDCommitType const WFDHandle handle
Holds global egomotion state estimate.
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_reset(dwGlobalEgomotionHandle_t handle)
Resets the state estimate and all history of the global egomotion module.
dwGlobalEgomotionGNSSCharacteristics sensorCharacteristics
Sensor characteristics.
DW_API_PUBLIC dwStatus dwGlobalEgomotion_addRelativeMotion(const dwEgomotionResult *egomotionResult, const dwEgomotionUncertainty *egomotionUncertainty, dwGlobalEgomotionHandle_t handle)
Adds relative egomotion estimate to the global egomotion module.
int64_t dwTime_t
Specifies a timestamp unit, in microseconds.
float float32_t
Specifies POD types.
Defines a three-element floating-point vector.
dwGlobalEgomotionGNSSCharacteristics dwGNSSCharacteristics
DW_API_PUBLIC dwStatus dwGlobalEgomotion_release(dwGlobalEgomotionHandle_t handle)
Releases the global egomotion module.
DW_API_PUBLIC dwStatus dwGlobalEgomotion_getEstimate(dwGlobalEgomotionResult *result, dwGlobalEgomotionUncertainty *uncertainty, dwGlobalEgomotionConstHandle_t handle)
Get current filter state estimate.
float32_t horizontalNoiseMeter
Expected horizontal position noise (CEP) of the GNSS sensor [m] A default value of 2....
struct dwContextObject * dwContextHandle_t
Context handle.
dwTime_t timeOffsetGPS
Time offset to be subtracted from timestamp provided in dwGPSFrame [us] Leave 0 unless the timestamp ...
struct dwGlobalEgomotionObject * dwGlobalEgomotionHandle_t
DW_API_PUBLIC dwStatus dwGlobalEgomotion_getHistorySize(size_t *num, dwGlobalEgomotionConstHandle_t handle)
Returns the number of estimates currently stored in the history.
dwStatus
Status definition.
DW_API_PUBLIC dwPointCloudRangeImageCreatorParams const *const params
Holds initialization parameters for the global egomotion module.
GNSS Sensor characteristics.
dwTime_t cycleTimeGPS
Cycle time of GPS updates [us] If left 0 a default value of 1'000'000 us (1 second) will be assumed.
Instantaneous state estimate.
struct dwGlobalEgomotionObject const * dwGlobalEgomotionConstHandle_t