CARLA
Loading...
Searching...
No Matches
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

Constructor & Destructor Documentation

◆ FWheelPhysicsControl()

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(), FWheelPhysicsControl(), and carla::rpc::WheelPhysicsControl::operator FWheelPhysicsControl().

◆ bABSEnabled

◆ bAffectedByBrake

◆ bAffectedByEngine

◆ bAffectedByHandbrake

◆ bAffectedBySteering

◆ bTractionControlEnabled

◆ CorneringStiffness

◆ ExternalTorqueCombineMethod

ETorqueCombineMethod FWheelPhysicsControl::ExternalTorqueCombineMethod

◆ FrictionForceMultiplier

◆ LateralSlipGraph

◆ Location

◆ 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(), carla::rpc::WheelPhysicsControl::FromFWheelPhysicsControl(), FWheelPhysicsControl(), and carla::rpc::WheelPhysicsControl::operator FWheelPhysicsControl().

◆ MaxSteerAngle

◆ 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(), FWheelPhysicsControl(), and carla::rpc::WheelPhysicsControl::operator FWheelPhysicsControl().

◆ OldLocation

◆ RollbarScaling

◆ SideSlipModifier

float FWheelPhysicsControl::SideSlipModifier

◆ SkidThreshold

◆ SlipThreshold

◆ SpringPreload

◆ SpringRate

◆ SuspensionAxis

FVector FWheelPhysicsControl::SuspensionAxis

◆ 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::FromFWheelPhysicsControl(), FWheelPhysicsControl(), and carla::rpc::WheelPhysicsControl::operator FWheelPhysicsControl().

◆ SuspensionForceOffset

FVector FWheelPhysicsControl::SuspensionForceOffset

◆ SuspensionMaxDrop

float FWheelPhysicsControl::SuspensionMaxDrop

◆ SuspensionMaxRaise

float FWheelPhysicsControl::SuspensionMaxRaise

◆ 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::FromFWheelPhysicsControl(), FWheelPhysicsControl(), and carla::rpc::WheelPhysicsControl::operator FWheelPhysicsControl().

◆ SweepShape

ESweepShape FWheelPhysicsControl::SweepShape

◆ SweepType

◆ Velocity

◆ 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::FromFWheelPhysicsControl(), FWheelPhysicsControl(), and carla::rpc::WheelPhysicsControl::operator FWheelPhysicsControl().

◆ WheelMass

◆ WheelRadius

◆ WheelWidth


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