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) |
|
The USD path of the vehicle prim to get the drive state for |
Outputs#
Name |
Type |
Description |
Default |
---|---|---|---|
Accelerator (accelerator) |
|
The state of the accelerator pedal (in range [0, 1]) |
|
Brake0 (brake0) |
|
The state of the brake0 control (in range [0, 1]) |
|
Brake1 (brake1) |
|
The state of the brake1 control (in range [0, 1]) |
|
Steer (steer) |
|
The state of the steering wheel (in range [-1, 1]) |
|
Current Gear (currentGear) |
|
The current gear |
|
Target Gear (targetGear) |
|
The target gear |
|
Automatic Transmission (automaticTransmission) |
|
The state of the automatic transmission |
|
Engine Rotation Speed (engineRotationSpeed) |
|
The engine rotation speed in radians per second |