NVIDIA DriveOS Linux SDK API Reference

7.2.5.0 Early Access Release
Egomotion2.h File Reference

Go to the source code of this file.

Data Structures

struct  dwEgomotionMeasurementParameters
 Egomotion measurement parameters. More...
 
struct  dwEgomotionVMOParameters
 Vehicle motion observer parameters. More...
 
struct  dwEgomotionWheelObserverParameters
 Wheel observer parameters. More...
 
struct  dwEgomotionVehicleMovingDirectionDetectorParameters
 Vehicle moving direction detection parameters. More...
 
struct  dwEgomotionIMUIntrinsics
 IMU intrinsic parameters. More...
 
struct  dwEgomotionSuspensionProperties
 Suspension properties. More...
 
struct  dwEgomotionParameters2
 Egomotion parameters. More...
 

Typedefs

typedef enum dwEgomotionMeasurementTypes dwEgomotionMeasurementTypes
 Measurements used by egomotion. More...
 
typedef enum dwEgomotionGroundSpeedMeasurementTypes dwEgomotionGroundSpeedMeasurementTypes
 Ground speed measurement types. More...
 
typedef enum dwEgomotionDirectionMode dwEgomotionDirectionMode
 Vehicle direction detection modes. More...
 
typedef struct dwEgomotionMeasurementParameters dwEgomotionMeasurementParameters
 Egomotion measurement parameters. More...
 
typedef struct dwEgomotionVMOParameters dwEgomotionVMOParameters
 Vehicle motion observer parameters. More...
 
typedef struct dwEgomotionWheelObserverParameters dwEgomotionWheelObserverParameters
 Wheel observer parameters. More...
 
typedef struct dwEgomotionVehicleMovingDirectionDetectorParameters dwEgomotionVehicleMovingDirectionDetectorParameters
 Vehicle moving direction detection parameters. More...
 
typedef struct dwEgomotionIMUIntrinsics dwEgomotionIMUIntrinsics
 IMU intrinsic parameters. More...
 
typedef struct dwEgomotionSuspensionProperties dwEgomotionSuspensionProperties
 Suspension properties. More...
 
typedef struct dwEgomotionParameters2 dwEgomotionParameters2
 Egomotion parameters. More...
 

Enumerations

enum  dwEgomotionMeasurementTypes {
  DW_EGOMOTION_MEASUREMENT_STEERING = 0,
  DW_EGOMOTION_MEASUREMENT_SUSPENSION = 1,
  DW_EGOMOTION_MEASUREMENT_ANGULAR_ACCELERATION = 2,
  DW_EGOMOTION_MEASUREMENT_PROPER_ACCELERATION = 3,
  DW_EGOMOTION_MEASUREMENT_ANGULAR_VELOCITY = 4,
  DW_EGOMOTION_MEASUREMENT_LINEAR_GROUND_SPEED = 5,
  DW_EGOMOTION_MEASUREMENT_LINEAR_BODY_SPEED = 6,
  DW_EGOMOTION_MEASUREMENT_WHEEL_TICKS = 7,
  DW_EGOMOTION_MEASUREMENT_WHEEL_SPEEDS = 8,
  DW_EGOMOTION_MEASUREMENT_TRAILER_ANGLE = 9,
  DW_EGOMOTION_MEASUREMENT_REAR_STEERING = 10,
  DW_EGOMOTION_MEASUREMENT_TYPES_COUNT
}
 Measurements used by egomotion. More...
 
enum  dwEgomotionGroundSpeedMeasurementTypes {
  DW_EGOMOTION_GROUND_SPEED_FROM_WHEEL_SPEEDS_REAR_AXLE = 0,
  DW_EGOMOTION_GROUND_SPEED_FROM_WHEEL_SPEEDS_BOTH_AXLES = 1,
  DW_EGOMOTION_GROUND_SPEED_FROM_WHEEL_TICKS_AND_SPEEDS_REAR_AXLE = 2,
  DW_EGOMOTION_GROUND_SPEED_FROM_WHEEL_TICKS_AND_SPEEDS_BOTH_AXLES = 3,
  DW_DEPRECATED_ENUMERATOR =("DW_EGOMOTION_GROUND_SPEED_FROM_LINEAR_SPEED has been deprecated and will be removed in the next release.") = 4,
  DW_EGOMOTION_GROUND_SPEED_COUNT
}
 Ground speed measurement types. More...
 
enum  dwEgomotionDirectionMode {
  DW_EGOMOTION_DIRECTION_FROM_SPEED_SIGN = 0,
  DW_EGOMOTION_DIRECTION_FROM_WHEEL_DIR_AND_GEAR = 1,
  DW_EGOMOTION_DIRECTION_FROM_SPEED_SIGN_AND_GEAR = 2,
  DW_EGOMOTION_DIRECTION_COUNT
}
 Vehicle direction detection modes. More...
 

Functions

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. More...
 
DW_API_PUBLIC dwStatus dwEgomotion2_initDefaultParams (dwEgomotionParameters2 *params)
 Initializes the egomotion parameters to sane defaults applicable to most vehicles. More...
 
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. More...
 
DW_API_PUBLIC dwStatus dwEgomotion2_initialize (dwEgomotionHandle_t *const obj, dwEgomotionParameters2 const *params, dwContextHandle_t const ctx)
 Initializes the egomotion 2.0 module. More...
 
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. More...
 
DW_API_PUBLIC dwStatus dwEgomotion2_getAccelerometerBias (dwVector3f *accBias, dwEgomotionConstHandle_t obj)
 Get estimated accelerometer bias of the BASE IMU. More...
 
DW_API_PUBLIC dwStatus dwEgomotion2_getAccelerometerBiasByIndex (dwVector3f *accBias, uint32_t const sensorIndex, dwEgomotionConstHandle_t obj)
 Get estimated accelerometer bias of a specific IMU. More...
 
DW_API_PUBLIC dwStatus dwEgomotion2_getFrontSteeringAngleOffset (float32_t *steeringOffset, dwEgomotionConstHandle_t obj)
 Get estimated front steering angle offset. More...