Get Vehicle Drive State

Retrieving drive related simulation state of an omni.physx vehicle

Installation

To use this Node, you must enable omni.physx.graph in the Extension Manager.

Inputs

Name

Type

Description

Default

Vehicle USD Path (vehiclePath)

token

The USD path of the vehicle prim to get the drive state for

Outputs

Name

Type

Description

Default

Accelerator (accelerator)

float

The state of the accelerator pedal (in range [0, 1])

Brake0 (brake0)

float

The state of the brake0 control (in range [0, 1])

Brake1 (brake1)

float

The state of the brake1 control (in range [0, 1])

Steer (steer)

float

The state of the steering wheel (in range [-1, 1])

Current Gear (currentGear)

int

The current gear

Target Gear (targetGear)

int

The target gear

Automatic Transmission (automaticTransmission)

bool

The state of the automatic transmission

Engine Rotation Speed (engineRotationSpeed)

float

The engine rotation speed in radians per second