RavEngine
Loading...
Searching...
No Matches
physx::vehicle2::PxVehicleDirectDriveActuationStateComponent Class Referenceabstract

Determine the actuation state for each wheel of a direct drive vehicle. More...

#include <PxVehicleDrivetrainComponents.h>

Inheritance diagram for physx::vehicle2::PxVehicleDirectDriveActuationStateComponent:
[legend]
Collaboration diagram for physx::vehicle2::PxVehicleDirectDriveActuationStateComponent:
[legend]

Public Member Functions

virtual void getDataForDirectDriveActuationStateComponent (const PxVehicleAxleDescription *&axleDescription, PxVehicleArrayData< const PxReal > &brakeResponseStates, PxVehicleArrayData< const PxReal > &throttleResponseStates, PxVehicleArrayData< PxVehicleWheelActuationState > &actuationStates)=0
 Provide vehicle data items for this component.
 
virtual bool update (const PxReal dt, const PxVehicleSimulationContext &context)
 Compute the actuation state for each wheel given the brake, handbrake and throttle states. .
 

Detailed Description

Determine the actuation state for each wheel of a direct drive vehicle.

Note
The actuation state for each wheel contains a binary record of whether brake and drive torque are to be applied to the wheel.
See also
PxVehicleDirectDriveCommandResponseComponent
PxVehicleDirectDrivetrainComponent
PxVehicleDirectDriveActuationStateUpdate

Member Function Documentation

◆ getDataForDirectDriveActuationStateComponent()

virtual void physx::vehicle2::PxVehicleDirectDriveActuationStateComponent::getDataForDirectDriveActuationStateComponent ( const PxVehicleAxleDescription *&  axleDescription,
PxVehicleArrayData< const PxReal > &  brakeResponseStates,
PxVehicleArrayData< const PxReal > &  throttleResponseStates,
PxVehicleArrayData< PxVehicleWheelActuationState > &  actuationStates 
)
pure virtual

Provide vehicle data items for this component.

Parameters
[out]axleDescriptionidentifies the wheels on each axle.
[out]brakeResponseStatesThe brake response states.
[out]throttleResponseStatesThe throttle response states.
[out]actuationStatesThe actuation states.

Implemented in snippetvehicle2::DirectDriveVehicle.

◆ update()

virtual bool physx::vehicle2::PxVehicleDirectDriveActuationStateComponent::update ( const PxReal  dt,
const PxVehicleSimulationContext &  context 
)
inlinevirtual

Compute the actuation state for each wheel given the brake, handbrake and throttle states. .

Implements physx::vehicle2::PxVehicleComponent.


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