NVIDIA DriveOS Linux SDK API Reference

7.2.5.0 Early Access Release
Egomotion2.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2021-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3  * SPDX-License-Identifier: LicenseRef-NvidiaProprietary
4  *
5  * NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
6  * property and proprietary rights in and to this material, related
7  * documentation and any modifications thereto. Any use, reproduction,
8  * disclosure or distribution of this material and related documentation
9  * without an express license agreement from NVIDIA CORPORATION or
10  * its affiliates is strictly prohibited.
11  */
12 
13 // Copyright (c) 2022 Mercedes-Benz AG. All rights reserved.
14 //
15 // Mercedes-Benz AG as copyright owner and NVIDIA Corporation as licensor retain
16 // all intellectual property and proprietary rights in and to this software
17 // and related documentation and any modifications thereto.
18 // Any use, reproduction, disclosure or distribution of this software and related
19 // documentation without an express license agreement is strictly prohibited.
20 //
21 // This code contains Confidential Information and is disclosed
22 // under the Mutual Non-Disclosure Agreement.
23 //
24 // Notice
25 // ALL DESIGN SPECIFICATIONS AND CODE ("MATERIALS") ARE PROVIDED "AS IS"
26 // NO REPRESENTATIONS, WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO
27 // THE MATERIALS, AND EXPRESSLY DISCLAIMS ANY IMPLIED WARRANTIES OF NONINFRINGEMENT,
28 // MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE ARE MADE.
29 //
30 // No responsibility is assumed for the consequences of use of such
31 // information or for any infringement of patents or other rights of third parties that may
32 // result from its use. No license is granted by implication or otherwise under any patent
33 // or patent rights. No third party distribution is allowed unless
34 // expressly authorized. Details are subject to change without notice.
35 // This code supersedes and replaces all information previously supplied.
36 // Products are not authorized for use as critical
37 // components in life support devices or systems without express written approval.
38 //
40 
41 // WARNING!!!
42 // Please don't use any type definition in this file.
43 // All of data types in this file are going to be modified and will not
44 // follow Nvidia deprecation policy.
45 
46 #ifndef DW_EGOMOTION_2_0_EGOMOTION2_H_
47 #define DW_EGOMOTION_2_0_EGOMOTION2_H_
48 
53 
54 #ifdef __cplusplus
55 extern "C" {
56 #endif
57 
80 
100  // coverity[misra_c_2012_directive_4_9_violation] Deviation Record: AV-NDAS-SWSADR-008
101  DW_EGOMOTION_GROUND_SPEED_FROM_LINEAR_SPEED DW_DEPRECATED_ENUMERATOR("DW_EGOMOTION_GROUND_SPEED_FROM_LINEAR_SPEED has been deprecated and will be removed in the next release.") = 4,
104 
133 
138 {
144 
151 
156 {
160 
165 
172 
177 
184 
188 
193 
199 
204 {
207 
211 
215 
219 
223 
227 
231 
233  uint32_t positionFuzzyLow;
234 
236  uint32_t positionFuzzyHigh;
237 
240 
243 
247 
251 
255 
257 
264 {
267 
271 
277 
282 {
285 
289 
294 {
297 
301 
307 {
310 
313 
316 
319 
321  size_t imuCount;
322 
325 
328 
331 
334 
338 
341 
344 
347 
350 
353 
356 
359 
366 
369 
371 
397  dwConstRigHandle_t rigConfiguration,
398  char const* imu1Name,
399  char const* imu2Name,
400  char const* imu3Name);
401 
420 
446  dwConstRigHandle_t rigConfiguration,
447  uint32_t const imu1Index,
448  uint32_t const imu2Index,
449  uint32_t const imu3Index);
450 
472  dwEgomotionParameters2 const* params,
473  dwContextHandle_t const ctx);
474 
500 
519 
539 
560 
563 #ifdef __cplusplus
564 }
565 #endif
566 #endif // DW_EGOMOTION_2_0_EGOMOTION2_H_
DW_EGOMOTION_MEASUREMENT_TRAILER_ANGLE
@ DW_EGOMOTION_MEASUREMENT_TRAILER_ANGLE
Definition: Egomotion2.h:76
dwEgomotionParameters2::suspension
dwEgomotionSuspensionProperties suspension
Suspension parameters.
Definition: Egomotion2.h:327
dwEgomotionIMUIntrinsics::accelerometerBias
float32_t accelerometerBias[3]
Initial accelerometer bias (offset) values. Leave 0 if unknown.
Definition: Egomotion2.h:287
DW_EGOMOTION_IMU_COUNT_MAX
@ DW_EGOMOTION_IMU_COUNT_MAX
Max number of IMUs supported.
Definition: EgomotionTypes.h:108
dwEgomotionHandle_t
struct dwEgomotionObject * dwEgomotionHandle_t
Egomotion Handle.
Definition: Egomotion.h:67
dwEgomotionParameters2::imuCount
size_t imuCount
Number of IMUs used simultaneously, in range [1, DW_EGOMOTION_IMU_COUNT_MAX].
Definition: Egomotion2.h:321
dwEgomotionWheelObserverParameters::wheelEncoder
dwVehicleWheelEncoderProperties wheelEncoder
Wheel encoder parameters.
Definition: Egomotion2.h:206
dwEgomotionParameters2::imuSensorIndices
uint32_t imuSensorIndices[DW_EGOMOTION_IMU_COUNT_MAX]
Sensor Ids of used IMU sensors. Order must match for all IMU parameter specification arrays.
Definition: Egomotion2.h:324
dwEgomotionWheelObserverParameters::stateHistorySize
size_t stateHistorySize
Internal state history size, in number of elements.
Definition: Egomotion2.h:210
dwEgomotionParameters2::hfeParameters
dwYawDisturbanceDetectorParameters hfeParameters
HFE Yaw Disturbance Detector parameters, see dwHFEYawDisturbDetectorParameters.
Definition: Egomotion2.h:358
DW_DEPRECATED_ENUMERATOR
@ DW_DEPRECATED_ENUMERATOR
Ground speed from signed vehicle linear speed at rear axle center (Wheel observer is disabled)
Definition: Egomotion2.h:101
dwEgomotionWheelObserverParameters::accelerationMax
float32_t accelerationMax
Maximum wheel acceleration, to which the state will be constrained (treated as error if error handlin...
Definition: Egomotion2.h:250
dwEgomotionParameters2::vehicle
dwGenericVehicle vehicle
Vehicle parameters.
Definition: Egomotion2.h:309
dwEgomotionParameters2::steeringOffsetEstimator
dwEgomotionSteeringOffsetEstimatorParameters steeringOffsetEstimator
Steering offset estimator parameters.
Definition: Egomotion2.h:355
dwEgomotion2_initParamsFromRig
DW_API_PUBLIC dwStatus dwEgomotion2_initParamsFromRig(dwEgomotionParameters2 *params, dwConstRigHandle_t rigConfiguration, char const *imu1Name, char const *imu2Name, char const *imu3Name)
Initializes the egomotion parameters to sane defaults given vehicle configuration.
dwEgomotionParameters2::imuExtrinsics
dwTransformation3f imuExtrinsics[DW_EGOMOTION_IMU_COUNT_MAX]
IMU extrinsics, transformation from IMU coordinate frame to vehicle rig coordinate frame....
Definition: Egomotion2.h:315
dwYawDisturbanceDetectorParameters
Yaw disturbance detector parameters for HFE integration.
Definition: IMUBiasEstimatorParameters.h:64
dwConstRigHandle_t
struct dwRigObject const * dwConstRigHandle_t
Handle representing the const Rig interface.
Definition: Rig.h:57
dwEgomotionVMOParameters::referencePoint
dwVector3f referencePoint
Reference point used internally, expressed in rig coordinate frame.
Definition: Egomotion2.h:187
dwEgomotionSuspensionProperties::centerHeight
dwVector2f centerHeight
Roll (x) and pitch (y) center heights.
Definition: Egomotion2.h:299
dwEgomotionDirectionMode
dwEgomotionDirectionMode
Vehicle direction detection modes.
Definition: Egomotion2.h:124
dwEgomotionMeasurementTypes
dwEgomotionMeasurementTypes
Measurements used by egomotion.
Definition: Egomotion2.h:66
DW_EGOMOTION_MEASUREMENT_ANGULAR_VELOCITY
@ DW_EGOMOTION_MEASUREMENT_ANGULAR_VELOCITY
Definition: Egomotion2.h:71
dwEgomotionVMOParameters
struct dwEgomotionVMOParameters dwEgomotionVMOParameters
Vehicle motion observer parameters.
dwEgomotionGroundSpeedMeasurementTypes
dwEgomotionGroundSpeedMeasurementTypes
Ground speed measurement types.
Definition: Egomotion2.h:90
dwVehicleWheelEncoderProperties
Wheel encoder parameters.
Definition: Vehicle.h:416
dwEgomotionWheelObserverParameters::positionFuzzyHigh
uint32_t positionFuzzyHigh
Upper end of high trust in wheel position (tick) counters, inclusive (variance adaptation).
Definition: Egomotion2.h:236
DW_EGOMOTION_DIRECTION_FROM_SPEED_SIGN
@ DW_EGOMOTION_DIRECTION_FROM_SPEED_SIGN
Vehicle Moving Direction based on signed wheel encoder information.
Definition: Egomotion2.h:126
dwEgomotionWheelObserverParameters::speedVarianceLow
float32_t speedVarianceLow
Speed variance when speed below speedFuzzyLow.
Definition: Egomotion2.h:226
dwEgomotionVMOParameters::chiSquaredInnovationGate
float32_t chiSquaredInnovationGate
Chi-squared value used to reject outlier speed measurements.
Definition: Egomotion2.h:176
dwEgomotionParameters2::vehicleMovingDirectionDetector
dwEgomotionVehicleMovingDirectionDetectorParameters vehicleMovingDirectionDetector
Vehicle moving direction detector parameters.
Definition: Egomotion2.h:340
dwEgomotionIMUIntrinsics::gyroscopeBias
float32_t gyroscopeBias[3]
Initial gyroscope bias (offset) values. Leave 0 if unknown.
Definition: Egomotion2.h:284
dwEgomotionMeasurementParameters
Egomotion measurement parameters.
Definition: Egomotion2.h:137
dwEgomotionParameters2
struct dwEgomotionParameters2 dwEgomotionParameters2
Egomotion parameters.
dwEgomotionSuspensionProperties::properties
dwVehicleSuspensionProperties properties
Suspension angular gradient around X- and Y-axis.
Definition: Egomotion2.h:296
dwEgomotionErrorHandlingParameters
Parameters for error handling related logic.
Definition: ErrorHandlingParameters.h:178
dwEgomotionParameters2::enableSuspensionSensorsUsage
bool enableSuspensionSensorsUsage
Enable usage of suspension sensor signals.
Definition: Egomotion2.h:368
DW_EGOMOTION_GROUND_SPEED_COUNT
@ DW_EGOMOTION_GROUND_SPEED_COUNT
Definition: Egomotion2.h:102
dwEgomotionSuspensionProperties
Suspension properties.
Definition: Egomotion2.h:293
DW_EGOMOTION_MEASUREMENT_LINEAR_GROUND_SPEED
@ DW_EGOMOTION_MEASUREMENT_LINEAR_GROUND_SPEED
Definition: Egomotion2.h:72
DW_EGOMOTION_MEASUREMENT_SUSPENSION
@ DW_EGOMOTION_MEASUREMENT_SUSPENSION
Definition: Egomotion2.h:68
dwEgomotionParameters2::stateHistorySize
size_t stateHistorySize
Number of state estimates to keep in the history (if 0 specified default of 1000 is used).
Definition: Egomotion2.h:330
dwEgomotionVehicleMovingDirectionDetectorParameters
struct dwEgomotionVehicleMovingDirectionDetectorParameters dwEgomotionVehicleMovingDirectionDetectorParameters
Vehicle moving direction detection parameters.
dwEgomotionWheelObserverParameters::speedVarianceHigh
float32_t speedVarianceHigh
Speed variance when speed above speedFuzzyHigh.
Definition: Egomotion2.h:230
dwEgomotion2_initializeState
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.
DW_EGOMOTION_GROUND_SPEED_FROM_WHEEL_TICKS_AND_SPEEDS_REAR_AXLE
@ DW_EGOMOTION_GROUND_SPEED_FROM_WHEEL_TICKS_AND_SPEEDS_REAR_AXLE
Ground speed from wheel ticks and speeds rear axle (Wheel observer is enabled)
Definition: Egomotion2.h:96
dwEgomotionVMOParameters::groundSpeedCovariance
float32_t groundSpeedCovariance[3]
Measurement covariance parameters (continuous time, coefficients on diagonal).
Definition: Egomotion2.h:170
DW_EGOMOTION_MEASUREMENT_PROPER_ACCELERATION
@ DW_EGOMOTION_MEASUREMENT_PROPER_ACCELERATION
Definition: Egomotion2.h:70
dwTime_t
int64_t dwTime_t
Definition: core/base/BasicTypes.h:65
float32_t
float float32_t
Definition: core/base/BasicTypes.h:43
dwVector3f
Defines a three-element floating-point vector.
Definition: MatrixTypes.h:74
dwEgomotionStateHandle_t
struct dwEgomotionStateObject * dwEgomotionStateHandle_t
Mutable handle to an egomotion state object.
Definition: EgomotionState.h:70
dwEgomotionVehicleMovingDirectionDetectorParameters::durationNoWheelTickThreshold
dwTime_t durationNoWheelTickThreshold
Threshold of no wheel ticks duration to determine whether the vehicle rolling direction is void or st...
Definition: Egomotion2.h:270
dwEgomotionVMOParameters::velocityMin
dwVector3f velocityMin
Minimum linear velocity along each axis, to which the state will be constrained (treated as error if ...
Definition: Egomotion2.h:197
dwEgomotionVMOParameters::velocityMax
dwVector3f velocityMax
Maximum linear velocity along each axis, to which the state will be constrained (treated as error if ...
Definition: Egomotion2.h:192
dwEgomotionParameters2
Egomotion parameters.
Definition: Egomotion2.h:306
dwEgomotion2_getFrontSteeringAngleOffset
DW_API_PUBLIC dwStatus dwEgomotion2_getFrontSteeringAngleOffset(float32_t *steeringOffset, dwEgomotionConstHandle_t obj)
Get estimated front steering angle offset.
dwEgomotionWheelObserverParameters::positionVarianceHigh
float32_t positionVarianceHigh
Position (tick) count variance when tick increment between positionFuzzyLow and positionFuzzyHigh.
Definition: Egomotion2.h:222
dwEgomotionWheelObserverParameters::speedFuzzyLow
float32_t speedFuzzyLow
Region below which wheel speeds have low trust (variance adaptation).
Definition: Egomotion2.h:239
obj
const NvSciSyncObj *const obj
Definition: wfdext.h:528
DW_EGOMOTION_MEASUREMENT_LINEAR_BODY_SPEED
@ DW_EGOMOTION_MEASUREMENT_LINEAR_BODY_SPEED
Linear body speed.
Definition: Egomotion2.h:73
dwEgomotionParameters2::errorHandling
dwEgomotionErrorHandlingParameters errorHandling
Error handling parameters.
Definition: Egomotion2.h:346
dwStatus
dwStatus
Status definition.
Definition: ErrorDefs.h:32
dwEgomotion2_getAccelerometerBiasByIndex
DW_API_PUBLIC dwStatus dwEgomotion2_getAccelerometerBiasByIndex(dwVector3f *accBias, uint32_t const sensorIndex, dwEgomotionConstHandle_t obj)
Get estimated accelerometer bias of a specific IMU.
Egomotion.h
dwEgomotionParameters2::imuIntrinsics
dwEgomotionIMUIntrinsics imuIntrinsics[DW_EGOMOTION_IMU_COUNT_MAX]
IMU intrinsics. Leave 0 initialized if unknown. Order must match the imuSensorIndices.
Definition: Egomotion2.h:318
dwEgomotionIMUIntrinsics
IMU intrinsic parameters.
Definition: Egomotion2.h:281
dwEgomotionIMUIntrinsics
struct dwEgomotionIMUIntrinsics dwEgomotionIMUIntrinsics
IMU intrinsic parameters.
DW_EGOMOTION_GROUND_SPEED_FROM_WHEEL_TICKS_AND_SPEEDS_BOTH_AXLES
@ DW_EGOMOTION_GROUND_SPEED_FROM_WHEEL_TICKS_AND_SPEEDS_BOTH_AXLES
Ground speed from wheel ticks and speeds both axles (Wheel observer is enabled)
Definition: Egomotion2.h:98
dwEgomotionVMOParameters::bodySpeedCovariance
float32_t bodySpeedCovariance[3]
[m^2/s^2, m^2/s^2, m^2/s^2]
Definition: Egomotion2.h:171
DW_EGOMOTION_DIRECTION_FROM_WHEEL_DIR_AND_GEAR
@ DW_EGOMOTION_DIRECTION_FROM_WHEEL_DIR_AND_GEAR
Vehicle Moving Direction based on unsigned wheel encoder, wheel direction and gear information.
Definition: Egomotion2.h:128
dwEgomotionParameters2::groundSpeedType
dwEgomotionGroundSpeedMeasurementTypes groundSpeedType
Indicates the source for ground speed.
Definition: Egomotion2.h:333
dwEgomotionVMOParameters::initialProcessCovariance
float32_t initialProcessCovariance[5]
[rad^2, rad^2, m^2/s^2, m^2/s^2, m^2/s^2]
Definition: Egomotion2.h:164
dwEgomotionVehicleMovingDirectionDetectorParameters
Vehicle moving direction detection parameters.
Definition: Egomotion2.h:263
dwEgomotionSuspensionProperties
struct dwEgomotionSuspensionProperties dwEgomotionSuspensionProperties
Suspension properties.
DW_EGOMOTION_DIRECTION_COUNT
@ DW_EGOMOTION_DIRECTION_COUNT
Definition: Egomotion2.h:131
dwEgomotionVehicleMovingDirectionDetectorParameters::mode
dwEgomotionDirectionMode mode
Mode of Vehicle Moving Direction Detector.
Definition: Egomotion2.h:266
dwEgomotionIMUAccBiasEstimatorParameters
IMU accelerometer bias estimator parameters.
Definition: IMUBiasEstimatorParameters.h:30
DW_EGOMOTION_GROUND_SPEED_FROM_WHEEL_SPEEDS_BOTH_AXLES
@ DW_EGOMOTION_GROUND_SPEED_FROM_WHEEL_SPEEDS_BOTH_AXLES
Ground speed from wheel speeds only both axle (Wheel observer is disabled)
Definition: Egomotion2.h:94
dwContextHandle_t
struct dwContextObject * dwContextHandle_t
Context handle.
Definition: Context.h:81
dwEgomotion2_initDefaultParams
DW_API_PUBLIC dwStatus dwEgomotion2_initDefaultParams(dwEgomotionParameters2 *params)
Initializes the egomotion parameters to sane defaults applicable to most vehicles.
dwEgomotionVMOParameters::processCovariance
float32_t processCovariance[5]
Process covariance parameters (continuous time, coefficients on diagonal).
Definition: Egomotion2.h:163
DW_EGOMOTION_MEASUREMENT_ANGULAR_ACCELERATION
@ DW_EGOMOTION_MEASUREMENT_ANGULAR_ACCELERATION
Definition: Egomotion2.h:69
dwEgomotionWheelObserverParameters::processCovariance
float32_t processCovariance[3]
Process covariance parameters (continuous time, coefficients on diagonal).
Definition: Egomotion2.h:214
dwGenericVehicle
Vehicle description.
Definition: Vehicle.h:532
DW_EGOMOTION_MEASUREMENT_WHEEL_SPEEDS
@ DW_EGOMOTION_MEASUREMENT_WHEEL_SPEEDS
Definition: Egomotion2.h:75
dwEgomotion2_getAccelerometerBias
DW_API_PUBLIC dwStatus dwEgomotion2_getAccelerometerBias(dwVector3f *accBias, dwEgomotionConstHandle_t obj)
Get estimated accelerometer bias of the BASE IMU.
dwEgomotionWheelObserverParameters::positionFuzzyLow
uint32_t positionFuzzyLow
Lower end of high trust in wheel position (tick) counters, inclusive (variance adaptation).
Definition: Egomotion2.h:233
EgomotionState.h
dwEgomotionMeasurementParameters::cycleTime
dwTime_t cycleTime[DW_EGOMOTION_MEASUREMENT_TYPES_COUNT]
Expected cycle time of each measurement type.
Definition: Egomotion2.h:149
dwEgomotionWheelObserverParameters::speedFuzzyHigh
float32_t speedFuzzyHigh
Region above which wheel speeds have high trust (variance adaptation).
Definition: Egomotion2.h:242
dwEgomotionVMOParameters
Vehicle motion observer parameters.
Definition: Egomotion2.h:155
dwEgomotionWheelObserverParameters::speedMax
float32_t speedMax
Maximum wheel speed, to which the state will be constrained (treated as error if error handling is ac...
Definition: Egomotion2.h:246
dwEgomotionIMUGyroBiasEstimatorParameters
IMU gyroscope bias estimator parameters.
Definition: IMUBiasEstimatorParameters.h:39
dwEgomotionVMOParameters::longitudinalGroundSpeedInnovationGate
float32_t longitudinalGroundSpeedInnovationGate
Variance multiplier value used to reject outlier ground speed measurements.
Definition: Egomotion2.h:183
dwTransformation3f
Specifies a 3D rigid transformation.
Definition: MatrixTypes.h:226
DW_EGOMOTION_MEASUREMENT_TYPES_COUNT
@ DW_EGOMOTION_MEASUREMENT_TYPES_COUNT
Definition: Egomotion2.h:78
dwEgomotionParameters2::accBiasEstimator
dwEgomotionIMUAccBiasEstimatorParameters accBiasEstimator[DW_EGOMOTION_IMU_COUNT_MAX]
IMU accelerometer bias estimator parameters.
Definition: Egomotion2.h:349
DW_API_PUBLIC
#define DW_API_PUBLIC
Definition: core/base/Exports.h:57
dwEgomotionParameters2::measurements
dwEgomotionMeasurementParameters measurements
Measurement parameters.
Definition: Egomotion2.h:312
dwEgomotionParameters2::gyroBiasEstimator
dwEgomotionIMUGyroBiasEstimatorParameters gyroBiasEstimator[DW_EGOMOTION_IMU_COUNT_MAX]
IMU gyroscope bias estimator parameters.
Definition: Egomotion2.h:352
DW_EGOMOTION_MEASUREMENT_WHEEL_TICKS
@ DW_EGOMOTION_MEASUREMENT_WHEEL_TICKS
Definition: Egomotion2.h:74
ErrorHandlingParameters.h
DW_EGOMOTION_MEASUREMENT_REAR_STEERING
@ DW_EGOMOTION_MEASUREMENT_REAR_STEERING
Definition: Egomotion2.h:77
dwEgomotionSteeringOffsetEstimatorParameters
Steering offset estimator parameters.
Definition: IMUBiasEstimatorParameters.h:48
dwEgomotionWheelObserverParameters::accelerationMin
float32_t accelerationMin
Minimum wheel acceleration, to which the state will be constrained (treated as error if error handlin...
Definition: Egomotion2.h:254
dwEgomotionWheelObserverParameters
struct dwEgomotionWheelObserverParameters dwEgomotionWheelObserverParameters
Wheel observer parameters.
dwEgomotionParameters2::automaticUpdate
bool automaticUpdate
Automatically update state estimation.
Definition: Egomotion2.h:365
IMUBiasEstimatorParameters.h
dwEgomotionParameters2::vehicleMotionObserver
dwEgomotionVMOParameters vehicleMotionObserver
Vehicle motion observer parameters.
Definition: Egomotion2.h:343
dwEgomotionVehicleMovingDirectionDetectorParameters::ticksAmbiguousSpeedThreshold
float32_t ticksAmbiguousSpeedThreshold
Speed below which driving direction from wheel tick increments and speeds can be ambiguous.
Definition: Egomotion2.h:275
dwEgomotionConstHandle_t
struct dwEgomotionObject const * dwEgomotionConstHandle_t
Const Egomotion Handle.
Definition: Egomotion.h:72
dwEgomotion2_initParamsFromRigByIndex
DW_API_PUBLIC dwStatus dwEgomotion2_initParamsFromRigByIndex(dwEgomotionParameters2 *params, dwConstRigHandle_t rigConfiguration, uint32_t const imu1Index, uint32_t const imu2Index, uint32_t const imu3Index)
Initializes the egomotion parameters to sane defaults given vehicle configuration.
dwEgomotionWheelObserverParameters::positionVarianceLow
float32_t positionVarianceLow
Position (tick) count variance when tick increment below positionFuzzyLow.
Definition: Egomotion2.h:218
dwEgomotionParameters2::wheelObserver
dwEgomotionWheelObserverParameters wheelObserver
Wheel observer parameters.
Definition: Egomotion2.h:337
dwEgomotionWheelObserverParameters
Wheel observer parameters.
Definition: Egomotion2.h:203
dwEgomotionVMOParameters::stateHistorySize
size_t stateHistorySize
Internal state history size, in number of elements.
Definition: Egomotion2.h:159
dwEgomotionMeasurementParameters::delay
dwTime_t delay[DW_EGOMOTION_MEASUREMENT_TYPES_COUNT]
Timestamp offset ("delay") of each measurement type, relative to its advertised timestamp.
Definition: Egomotion2.h:143
dwEgomotionMeasurementParameters
struct dwEgomotionMeasurementParameters dwEgomotionMeasurementParameters
Egomotion measurement parameters.
DW_EGOMOTION_GROUND_SPEED_FROM_WHEEL_SPEEDS_REAR_AXLE
@ DW_EGOMOTION_GROUND_SPEED_FROM_WHEEL_SPEEDS_REAR_AXLE
Ground speed from wheel speeds only rear axle (Wheel observer is disabled)
Definition: Egomotion2.h:92
DW_EGOMOTION_MEASUREMENT_STEERING
@ DW_EGOMOTION_MEASUREMENT_STEERING
Definition: Egomotion2.h:67
dwVehicleSuspensionProperties
Suspension properties.
Definition: Vehicle.h:467
dwEgomotion2_initialize
DW_API_PUBLIC dwStatus dwEgomotion2_initialize(dwEgomotionHandle_t *const obj, dwEgomotionParameters2 const *params, dwContextHandle_t const ctx)
Initializes the egomotion 2.0 module.
DW_EGOMOTION_DIRECTION_FROM_SPEED_SIGN_AND_GEAR
@ DW_EGOMOTION_DIRECTION_FROM_SPEED_SIGN_AND_GEAR
Vehicle Moving Direction based on signed wheel encoder and gear information.
Definition: Egomotion2.h:130
dwVector2f
Defines a two-element single-precision floating-point vector.
Definition: MatrixTypes.h:30