RavEngine
Loading...
Searching...
No Matches
physx::vehicle2::PxVehicleCommandValueResponseTable Struct Reference

Each command value may be associated with a table specifying a normalized response as a function of longitudinal speed. Multiple instances of PxVehicleCommandValueResponseTable allow a normalized response to be authored as a multi-variate piecewise polynomial with normalized command response expressed as a nonlinear function of command value and speed. More...

#include <PxVehicleCommandParams.h>

Collaboration diagram for physx::vehicle2::PxVehicleCommandValueResponseTable:
[legend]

Public Types

enum  Enum { eMAX_NB_SPEED_RESPONSES = 64 }
 

Public Attributes

PxReal commandValue
 The command value associated with the table of speed responses.
 
PxVehicleFixedSizeLookupTable< PxReal, eMAX_NB_SPEED_RESPONSES > speedResponses
 A lookup table specifying the normalised response to the specified command value as a function of longitudinal speed.
 

Detailed Description

Each command value may be associated with a table specifying a normalized response as a function of longitudinal speed. Multiple instances of PxVehicleCommandValueResponseTable allow a normalized response to be authored as a multi-variate piecewise polynomial with normalized command response expressed as a nonlinear function of command value and speed.

Member Data Documentation

◆ speedResponses

PxVehicleFixedSizeLookupTable<PxReal, eMAX_NB_SPEED_RESPONSES> physx::vehicle2::PxVehicleCommandValueResponseTable::speedResponses

A lookup table specifying the normalised response to the specified command value as a function of longitudinal speed.

Note
Each entry in the speedResponses table must be of the form (speed, normalizedResponse).
The longitudinal speeds in the table must form a monotonically increasing series.
The normalized responses must be in range (0,1).

The documentation for this struct was generated from the following file: