Holds initialization parameters for the Egomotion module.
Definition at line 344 of file EgomotionTypes.h.
Data Fields | |
dwVehicle | vehicle |
Vehicle parameters to setup the model. More... | |
float32_t | lateralSlipCoefficient |
Lateral slip coefficient [rad*s^2/m]. More... | |
dwTransformation3f | imu2rig |
IMU extrinsics. More... | |
dwMotionModel | motionModel |
Specifies the motion model to be used for pose estimation. More... | |
bool | estimateInitialOrientation |
When enabled, initial rotation will be estimated from accelerometer measurements. More... | |
bool | automaticUpdate |
Automatically update state estimation. More... | |
uint32_t | historySize |
Number of state estimates to keep in the history (if 0 specified default of 1000 is used). More... | |
float32_t | gyroscopeBias [3] |
Initial gyroscope biases, if known at initialization time. More... | |
dwEgomotionSensorCharacteristics | sensorParameters |
Sensor parameters, containing information about sensor characteristics. More... | |
dwEgomotionSpeedMeasurementType | speedMeasurementType |
Defines which velocity readings from dwVehicleIOState shall be used for egomotion estimation. More... | |
dwEgomotionSteeringMeasurementType | steeringMeasurementType |
Defines which steering readings from dwVehicleIOState shall be used for egomotion estimation. More... | |
dwEgomotionLinearAccelerationFilterParams | linearAccelerationFilterParameters |
Linear acceleration filter parameters. More... | |
dwEgomotionSuspensionParameters | suspension |
Suspension model parameters. More... | |
bool dwEgomotionParameters::automaticUpdate |
Automatically update state estimation.
In general to update motion estimation, a call to dwEgomotion_update is required. When automaticUpdate is set, the motion estimation update is triggered by the addition of new sensor measurements. The exact update timestamp is dependent on the sensor type and motion model implementation.
DW_NOT_SUPPORTED
exception instead. Definition at line 379 of file EgomotionTypes.h.
bool dwEgomotionParameters::estimateInitialOrientation |
When enabled, initial rotation will be estimated from accelerometer measurements.
When disabled, initial rotation is assumed to be identity, i.e. vehicle standing on flat, horizontal ground.
Definition at line 370 of file EgomotionTypes.h.
float32_t dwEgomotionParameters::gyroscopeBias[3] |
Initial gyroscope biases, if known at initialization time.
Gyroscope biases are estimated internally at run-time, however it can be beneficial if the filter is initialized with already known biases. If unknown, leave biases zero-initialized.
Definition at line 389 of file EgomotionTypes.h.
uint32_t dwEgomotionParameters::historySize |
Number of state estimates to keep in the history (if 0 specified default of 1000 is used).
Also known as the capacity of the history. Any call to dwEgomotion_update, or automatic update, adds an estimate into the history.
Definition at line 384 of file EgomotionTypes.h.
dwTransformation3f dwEgomotionParameters::imu2rig |
IMU extrinsics.
Transformation from the IMU coordinate system to the vehicle rig coordinate system.
Definition at line 362 of file EgomotionTypes.h.
float32_t dwEgomotionParameters::lateralSlipCoefficient |
Lateral slip coefficient [rad*s^2/m].
Used in linear function mapping lateral acceleration [m/s^2] to slip angle [rad], such that slipAngle = lateralSlipCoefficient * lateralAcceleration. If 0, default slip coefficient of -2.83e-3 [rad*s^2/m] is used.
Definition at line 358 of file EgomotionTypes.h.
dwEgomotionLinearAccelerationFilterParams dwEgomotionParameters::linearAccelerationFilterParameters |
Linear acceleration filter parameters.
Definition at line 404 of file EgomotionTypes.h.
dwMotionModel dwEgomotionParameters::motionModel |
Specifies the motion model to be used for pose estimation.
Definition at line 365 of file EgomotionTypes.h.
dwEgomotionSensorCharacteristics dwEgomotionParameters::sensorParameters |
Sensor parameters, containing information about sensor characteristics.
If the struct is zero initialized, default assumptions about sensor parameters are made.
Definition at line 394 of file EgomotionTypes.h.
dwEgomotionSpeedMeasurementType dwEgomotionParameters::speedMeasurementType |
Defines which velocity readings from dwVehicleIOState
shall be used for egomotion estimation.
Definition at line 397 of file EgomotionTypes.h.
dwEgomotionSteeringMeasurementType dwEgomotionParameters::steeringMeasurementType |
Defines which steering readings from dwVehicleIOState
shall be used for egomotion estimation.
Definition at line 400 of file EgomotionTypes.h.
dwEgomotionSuspensionParameters dwEgomotionParameters::suspension |
Suspension model parameters.
The model is used internally to compensate for vehicle body rotation due to acceleration and resulting rotational suspension effects. If the struct is zero initialized, suspension will not be modeled and accounted for.
Definition at line 411 of file EgomotionTypes.h.
dwVehicle dwEgomotionParameters::vehicle |
Vehicle parameters to setup the model.
Definition at line 349 of file EgomotionTypes.h.