Get Vehicle Drive State
Retrieving drive related simulation state of an omni.physx vehicle
Installation
To use this node enable omni.physx.graph in the Extension Manager.
Inputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Vehicle USD Path (inputs:vehiclePath) |
|
The USD path of the vehicle prim to get the drive state for |
Outputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Accelerator (outputs:accelerator) |
|
The state of the accelerator pedal (in range [0, 1]) |
None |
Automatic Transmission (outputs:automaticTransmission) |
|
The state of the automatic transmission |
None |
Brake0 (outputs:brake0) |
|
The state of the brake0 control (in range [0, 1]) |
None |
Brake1 (outputs:brake1) |
|
The state of the brake1 control (in range [0, 1]) |
None |
Current Gear (outputs:currentGear) |
|
The current gear |
None |
Engine Rotation Speed (outputs:engineRotationSpeed) |
|
The engine rotation speed in radians per second |
None |
Steer (outputs:steer) |
|
The state of the steering wheel (in range [-1, 1]) |
None |
Target Gear (outputs:targetGear) |
|
The target gear |
None |
Metadata
Name |
Value |
---|---|
Unique ID |
omni.physx.graph.VehicleGetDriveState |
Version |
1 |
Extension |
omni.physx.graph |
Has State? |
False |
Implementation Language |
C++ |
Default Memory Type |
cpu |
Generated Code Exclusions |
tests, usd |
tags |
physics |
uiName |
Get Vehicle Drive State |
Categories |
PhysX Scene Vehicles |
Generated Class Name |
OgnVehicleGetDriveStateDatabase |
Python Module |
omni.physxgraph |