CARLA
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
FWheelPhysicsControl Struct Reference

#include <WheelPhysicsControl.h>

Public Member Functions

 FWheelPhysicsControl ()
 

Public Attributes

EAxleType AxleType
 If left undefined then the bAffectedByEngine value is used, if defined then bAffectedByEngine is ignored and the differential setup on the vehicle defines which wheels get power from the engine.
 
bool bABSEnabled
 Advanced Braking System Enabled.
 
bool bAffectedByBrake
 Whether brake should affect this wheel.
 
bool bAffectedByEngine
 Whether engine should power this wheel.
 
bool bAffectedByHandbrake
 Whether handbrake should affect this wheel.
 
bool bAffectedBySteering
 Whether steering should affect this wheel.
 
bool bTractionControlEnabled
 Straight Line Traction Control Enabled.
 
float CorneringStiffness
 Tyre Cornering Ability.
 
ETorqueCombineMethod ExternalTorqueCombineMethod
 Determines how the SetDriveTorque/SetBrakeTorque inputs are combined with the internal torques.
 
float FrictionForceMultiplier
 Friction Force Multiplier.
 
FRichCurve LateralSlipGraph
 
FVector Location
 
float MaxBrakeTorque
 max brake torque for this wheel (Nm)
 
float MaxHandBrakeTorque
 Max handbrake brake torque for this wheel (Nm).
 
float MaxSteerAngle
 
float MaxWheelspinRotation
 Max Wheelspin rotation rad/sec.
 
FVector Offset
 If BoneName is specified, offset the wheel from the bone's location.
 
FVector OldLocation
 
float RollbarScaling
 Anti-roll effect.
 
float SideSlipModifier
 Wheel Lateral Skid Grip Loss, lower number less grip on skid.
 
float SkidThreshold
 Wheel Lateral Skid Threshold.
 
float SlipThreshold
 Wheel Longitudinal Slip Threshold.
 
float SpringPreload
 Spring Preload (N/m)
 
float SpringRate
 Spring Force (N/m)
 
FVector SuspensionAxis
 Local body direction in which where suspension forces are applied (typically along -Z-axis)
 
float SuspensionDampingRatio
 Suspension damping, larger value causes the suspension to come to rest faster [range 0 to 1].
 
FVector SuspensionForceOffset
 Vertical offset from where suspension forces are applied (along Z-axis)
 
float SuspensionMaxDrop
 How far the wheel can drop below the resting position.
 
float SuspensionMaxRaise
 How far the wheel can go above the resting position.
 
int SuspensionSmoothing
 Smooth suspension [0-off, 10-max] - Warning might cause momentary visual inter-penetration of the wheel against objects/terrain.
 
ESweepShape SweepShape
 Wheel suspension trace type, defaults to ray trace.
 
ESweepType SweepType
 Whether wheel suspension considers simple, complex.
 
FVector Velocity
 
int32 WheelIndex
 
float WheelLoadRatio
 
float WheelMass
 Mass of the wheel Kg.
 
float WheelRadius
 Radius of the wheel.
 
float WheelWidth
 Width of the wheel.
 

Detailed Description

Definition at line 16 of file Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/Vehicle/WheelPhysicsControl.h.

Constructor & Destructor Documentation

◆ FWheelPhysicsControl()

FWheelPhysicsControl::FWheelPhysicsControl ( )
inline

Member Data Documentation

◆ AxleType

EAxleType FWheelPhysicsControl::AxleType

If left undefined then the bAffectedByEngine value is used, if defined then bAffectedByEngine is ignored and the differential setup on the vehicle defines which wheels get power from the engine.

Definition at line 64 of file Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/Vehicle/WheelPhysicsControl.h.

Referenced by carla::rpc::WheelPhysicsControl::FromFWheelPhysicsControl(), and carla::rpc::WheelPhysicsControl::operator FWheelPhysicsControl().

◆ bABSEnabled

bool FWheelPhysicsControl::bABSEnabled

◆ bAffectedByBrake

bool FWheelPhysicsControl::bAffectedByBrake

◆ bAffectedByEngine

bool FWheelPhysicsControl::bAffectedByEngine

◆ bAffectedByHandbrake

bool FWheelPhysicsControl::bAffectedByHandbrake

◆ bAffectedBySteering

bool FWheelPhysicsControl::bAffectedBySteering

◆ bTractionControlEnabled

bool FWheelPhysicsControl::bTractionControlEnabled

◆ CorneringStiffness

float FWheelPhysicsControl::CorneringStiffness

◆ ExternalTorqueCombineMethod

ETorqueCombineMethod FWheelPhysicsControl::ExternalTorqueCombineMethod

◆ FrictionForceMultiplier

float FWheelPhysicsControl::FrictionForceMultiplier

◆ LateralSlipGraph

FRichCurve FWheelPhysicsControl::LateralSlipGraph

◆ Location

FVector FWheelPhysicsControl::Location

◆ MaxBrakeTorque

float FWheelPhysicsControl::MaxBrakeTorque

◆ MaxHandBrakeTorque

float FWheelPhysicsControl::MaxHandBrakeTorque

Max handbrake brake torque for this wheel (Nm).

A handbrake should have a stronger brake torque than the brake. This will be ignored for wheels that are not affected by the handbrake.

Definition at line 206 of file Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/Vehicle/WheelPhysicsControl.h.

Referenced by ACarlaWheeledVehicle::ApplyWheelPhysicsControl(), and carla::rpc::WheelPhysicsControl::operator FWheelPhysicsControl().

◆ MaxSteerAngle

float FWheelPhysicsControl::MaxSteerAngle

◆ MaxWheelspinRotation

float FWheelPhysicsControl::MaxWheelspinRotation

◆ Offset

FVector FWheelPhysicsControl::Offset

If BoneName is specified, offset the wheel from the bone's location.

Otherwise this offsets the wheel from the vehicle's origin.

Definition at line 71 of file Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/Vehicle/WheelPhysicsControl.h.

Referenced by carla::rpc::WheelPhysicsControl::FromFWheelPhysicsControl(), and carla::rpc::WheelPhysicsControl::operator FWheelPhysicsControl().

◆ OldLocation

FVector FWheelPhysicsControl::OldLocation

◆ RollbarScaling

float FWheelPhysicsControl::RollbarScaling

◆ SideSlipModifier

float FWheelPhysicsControl::SideSlipModifier

◆ SkidThreshold

float FWheelPhysicsControl::SkidThreshold

◆ SlipThreshold

float FWheelPhysicsControl::SlipThreshold

◆ SpringPreload

float FWheelPhysicsControl::SpringPreload

◆ SpringRate

float FWheelPhysicsControl::SpringRate

◆ SuspensionAxis

FVector FWheelPhysicsControl::SuspensionAxis

Local body direction in which where suspension forces are applied (typically along -Z-axis)

Definition at line 146 of file Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/Vehicle/WheelPhysicsControl.h.

Referenced by carla::rpc::WheelPhysicsControl::operator FWheelPhysicsControl().

◆ SuspensionDampingRatio

float FWheelPhysicsControl::SuspensionDampingRatio

Suspension damping, larger value causes the suspension to come to rest faster [range 0 to 1].

Definition at line 162 of file Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/Vehicle/WheelPhysicsControl.h.

Referenced by carla::rpc::WheelPhysicsControl::operator FWheelPhysicsControl().

◆ SuspensionForceOffset

FVector FWheelPhysicsControl::SuspensionForceOffset

Vertical offset from where suspension forces are applied (along Z-axis)

Definition at line 150 of file Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/Vehicle/WheelPhysicsControl.h.

Referenced by carla::rpc::WheelPhysicsControl::operator FWheelPhysicsControl().

◆ SuspensionMaxDrop

float FWheelPhysicsControl::SuspensionMaxDrop

How far the wheel can drop below the resting position.

Definition at line 158 of file Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/Vehicle/WheelPhysicsControl.h.

Referenced by carla::rpc::WheelPhysicsControl::operator FWheelPhysicsControl().

◆ SuspensionMaxRaise

float FWheelPhysicsControl::SuspensionMaxRaise

How far the wheel can go above the resting position.

Definition at line 154 of file Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/Vehicle/WheelPhysicsControl.h.

Referenced by carla::rpc::WheelPhysicsControl::operator FWheelPhysicsControl().

◆ SuspensionSmoothing

int FWheelPhysicsControl::SuspensionSmoothing

Smooth suspension [0-off, 10-max] - Warning might cause momentary visual inter-penetration of the wheel against objects/terrain.

Definition at line 183 of file Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/Vehicle/WheelPhysicsControl.h.

Referenced by carla::rpc::WheelPhysicsControl::operator FWheelPhysicsControl().

◆ SweepShape

ESweepShape FWheelPhysicsControl::SweepShape

Wheel suspension trace type, defaults to ray trace.

Definition at line 191 of file Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/Vehicle/WheelPhysicsControl.h.

Referenced by carla::rpc::WheelPhysicsControl::operator FWheelPhysicsControl().

◆ SweepType

ESweepType FWheelPhysicsControl::SweepType

◆ Velocity

FVector FWheelPhysicsControl::Velocity

◆ WheelIndex

int32 FWheelPhysicsControl::WheelIndex

◆ WheelLoadRatio

float FWheelPhysicsControl::WheelLoadRatio
Amount wheel load effects wheel friction.

At 0 wheel friction is completely independent of the loading on the wheel (This is artificial as it always assumes even balance between all wheels) At 1 wheel friction is based on the force pressing wheel into the ground. This is more realistic. Lower value cures lift off over-steer, generally makes vehicle easier to handle under extreme motions.

Definition at line 171 of file Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/Vehicle/WheelPhysicsControl.h.

Referenced by carla::rpc::WheelPhysicsControl::operator FWheelPhysicsControl().

◆ WheelMass

float FWheelPhysicsControl::WheelMass

◆ WheelRadius

float FWheelPhysicsControl::WheelRadius

◆ WheelWidth

float FWheelPhysicsControl::WheelWidth

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