CARLA
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
carla::rpc::WheelPhysicsControl Struct Reference

#include <WheelPhysicsControl.h>

Public Member Functions

 operator FWheelPhysicsControl () const
 
bool operator!= (const WheelPhysicsControl &rhs) const
 
bool operator== (const WheelPhysicsControl &rhs) const
 

Static Public Member Functions

static WheelPhysicsControl FromFWheelPhysicsControl (const FWheelPhysicsControl &Wheel)
 

Public Attributes

bool abs_enabled = false
 
bool affected_by_brake = true
 
bool affected_by_engine = true
 
bool affected_by_handbrake = true
 
bool affected_by_steering = true
 
uint8_t axle_type = 0
 
float cornering_stiffness = 1000.0f
 
uint8_t external_torque_combine_method = 0
 
float friction_force_multiplier = 3.0f
 
std::vector< geom::Vector2D > lateral_slip_graph = {}
 
geom::Location location = geom::Location(0, 0, 0)
 
float max_brake_torque = 1500.0f
 
float max_hand_brake_torque = 3000.0f
 
float max_steer_angle = 70.0f
 
float max_wheelspin_rotation = 30
 
geom::Vector3D offset = geom::Vector3D(0, 0, 0)
 
geom::Location old_location = geom::Location(0, 0, 0)
 
float rollbar_scaling = 0.15f
 
float side_slip_modifier = 1.0f
 
float skid_threshold = 20.0f
 
float slip_threshold = 20.0f
 
float spring_preload = 50.0f
 
float spring_rate = 250.0f
 
geom::Vector3D suspension_axis = geom::Vector3D(0, 0, -1)
 
float suspension_damping_ratio = 0.5f
 
geom::Vector3D suspension_force_offset = geom::Vector3D(0, 0, 0)
 
float suspension_max_drop = 10.0f
 
float suspension_max_raise = 10.0f
 
int suspension_smoothing = 0
 
uint8_t sweep_shape = 0
 
uint8_t sweep_type = 0
 
bool traction_control_enabled = false
 
geom::Location velocity = geom::Location(0, 0, 0)
 
int32_t wheel_index = -1
 
float wheel_load_ratio = 0.5f
 
float wheel_mass = 30.0f
 
float wheel_radius = 30.0f
 
float wheel_width = 30.0f
 

Detailed Description

Definition at line 18 of file LibCarla/source/carla/rpc/WheelPhysicsControl.h.

Member Function Documentation

◆ FromFWheelPhysicsControl()

static WheelPhysicsControl carla::rpc::WheelPhysicsControl::FromFWheelPhysicsControl ( const FWheelPhysicsControl &  Wheel)
inlinestatic

◆ operator FWheelPhysicsControl()

carla::rpc::WheelPhysicsControl::operator FWheelPhysicsControl ( ) const
inline

Definition at line 166 of file LibCarla/source/carla/rpc/WheelPhysicsControl.h.

References FWheelPhysicsControl::AxleType, FWheelPhysicsControl::bABSEnabled, FWheelPhysicsControl::bAffectedByBrake, FWheelPhysicsControl::bAffectedByEngine, FWheelPhysicsControl::bAffectedByHandbrake, FWheelPhysicsControl::bAffectedBySteering, FWheelPhysicsControl::bTractionControlEnabled, FWheelPhysicsControl::CorneringStiffness, FWheelPhysicsControl::ExternalTorqueCombineMethod, FWheelPhysicsControl::FrictionForceMultiplier, FWheelPhysicsControl::LateralSlipGraph, FWheelPhysicsControl::Location, FWheelPhysicsControl::MaxBrakeTorque, FWheelPhysicsControl::MaxHandBrakeTorque, FWheelPhysicsControl::MaxSteerAngle, FWheelPhysicsControl::MaxWheelspinRotation, FWheelPhysicsControl::Offset, FWheelPhysicsControl::OldLocation, FWheelPhysicsControl::RollbarScaling, FWheelPhysicsControl::SideSlipModifier, FWheelPhysicsControl::SkidThreshold, FWheelPhysicsControl::SlipThreshold, FWheelPhysicsControl::SpringPreload, FWheelPhysicsControl::SpringRate, FWheelPhysicsControl::SuspensionAxis, FWheelPhysicsControl::SuspensionDampingRatio, FWheelPhysicsControl::SuspensionForceOffset, FWheelPhysicsControl::SuspensionMaxDrop, FWheelPhysicsControl::SuspensionMaxRaise, FWheelPhysicsControl::SuspensionSmoothing, FWheelPhysicsControl::SweepShape, FWheelPhysicsControl::SweepType, FWheelPhysicsControl::Velocity, FWheelPhysicsControl::WheelIndex, FWheelPhysicsControl::WheelLoadRatio, FWheelPhysicsControl::WheelMass, FWheelPhysicsControl::WheelRadius, FWheelPhysicsControl::WheelWidth, x, and y.

◆ operator!=()

bool carla::rpc::WheelPhysicsControl::operator!= ( const WheelPhysicsControl &  rhs) const
inline

◆ operator==()

bool carla::rpc::WheelPhysicsControl::operator== ( const WheelPhysicsControl &  rhs) const
inline

Member Data Documentation

◆ abs_enabled

bool carla::rpc::WheelPhysicsControl::abs_enabled = false

◆ affected_by_brake

bool carla::rpc::WheelPhysicsControl::affected_by_brake = true

◆ affected_by_engine

bool carla::rpc::WheelPhysicsControl::affected_by_engine = true

◆ affected_by_handbrake

bool carla::rpc::WheelPhysicsControl::affected_by_handbrake = true

◆ affected_by_steering

bool carla::rpc::WheelPhysicsControl::affected_by_steering = true

◆ axle_type

uint8_t carla::rpc::WheelPhysicsControl::axle_type = 0

◆ cornering_stiffness

float carla::rpc::WheelPhysicsControl::cornering_stiffness = 1000.0f

◆ external_torque_combine_method

uint8_t carla::rpc::WheelPhysicsControl::external_torque_combine_method = 0

◆ friction_force_multiplier

float carla::rpc::WheelPhysicsControl::friction_force_multiplier = 3.0f

◆ lateral_slip_graph

std::vector<geom::Vector2D> carla::rpc::WheelPhysicsControl::lateral_slip_graph = {}

◆ location

geom::Location carla::rpc::WheelPhysicsControl::location = geom::Location(0, 0, 0)

Definition at line 55 of file LibCarla/source/carla/rpc/WheelPhysicsControl.h.

Referenced by operator==().

◆ max_brake_torque

float carla::rpc::WheelPhysicsControl::max_brake_torque = 1500.0f

Definition at line 52 of file LibCarla/source/carla/rpc/WheelPhysicsControl.h.

Referenced by operator==().

◆ max_hand_brake_torque

float carla::rpc::WheelPhysicsControl::max_hand_brake_torque = 3000.0f

Definition at line 53 of file LibCarla/source/carla/rpc/WheelPhysicsControl.h.

Referenced by operator==().

◆ max_steer_angle

float carla::rpc::WheelPhysicsControl::max_steer_angle = 70.0f

◆ max_wheelspin_rotation

float carla::rpc::WheelPhysicsControl::max_wheelspin_rotation = 30

◆ offset

geom::Vector3D carla::rpc::WheelPhysicsControl::offset = geom::Vector3D(0, 0, 0)

◆ old_location

geom::Location carla::rpc::WheelPhysicsControl::old_location = geom::Location(0, 0, 0)

Definition at line 56 of file LibCarla/source/carla/rpc/WheelPhysicsControl.h.

Referenced by operator==().

◆ rollbar_scaling

float carla::rpc::WheelPhysicsControl::rollbar_scaling = 0.15f

Definition at line 49 of file LibCarla/source/carla/rpc/WheelPhysicsControl.h.

Referenced by operator==().

◆ side_slip_modifier

float carla::rpc::WheelPhysicsControl::side_slip_modifier = 1.0f

◆ skid_threshold

float carla::rpc::WheelPhysicsControl::skid_threshold = 20.0f

◆ slip_threshold

float carla::rpc::WheelPhysicsControl::slip_threshold = 20.0f

◆ spring_preload

float carla::rpc::WheelPhysicsControl::spring_preload = 50.0f

Definition at line 47 of file LibCarla/source/carla/rpc/WheelPhysicsControl.h.

Referenced by operator==().

◆ spring_rate

float carla::rpc::WheelPhysicsControl::spring_rate = 250.0f

Definition at line 46 of file LibCarla/source/carla/rpc/WheelPhysicsControl.h.

Referenced by operator==().

◆ suspension_axis

geom::Vector3D carla::rpc::WheelPhysicsControl::suspension_axis = geom::Vector3D(0, 0, -1)

Definition at line 40 of file LibCarla/source/carla/rpc/WheelPhysicsControl.h.

Referenced by operator==().

◆ suspension_damping_ratio

float carla::rpc::WheelPhysicsControl::suspension_damping_ratio = 0.5f

Definition at line 44 of file LibCarla/source/carla/rpc/WheelPhysicsControl.h.

Referenced by operator==().

◆ suspension_force_offset

geom::Vector3D carla::rpc::WheelPhysicsControl::suspension_force_offset = geom::Vector3D(0, 0, 0)

Definition at line 41 of file LibCarla/source/carla/rpc/WheelPhysicsControl.h.

Referenced by operator==().

◆ suspension_max_drop

float carla::rpc::WheelPhysicsControl::suspension_max_drop = 10.0f

Definition at line 43 of file LibCarla/source/carla/rpc/WheelPhysicsControl.h.

Referenced by operator==().

◆ suspension_max_raise

float carla::rpc::WheelPhysicsControl::suspension_max_raise = 10.0f

Definition at line 42 of file LibCarla/source/carla/rpc/WheelPhysicsControl.h.

Referenced by operator==().

◆ suspension_smoothing

int carla::rpc::WheelPhysicsControl::suspension_smoothing = 0

Definition at line 48 of file LibCarla/source/carla/rpc/WheelPhysicsControl.h.

Referenced by operator==().

◆ sweep_shape

uint8_t carla::rpc::WheelPhysicsControl::sweep_shape = 0

Definition at line 50 of file LibCarla/source/carla/rpc/WheelPhysicsControl.h.

Referenced by operator==().

◆ sweep_type

uint8_t carla::rpc::WheelPhysicsControl::sweep_type = 0

Definition at line 51 of file LibCarla/source/carla/rpc/WheelPhysicsControl.h.

Referenced by operator==().

◆ traction_control_enabled

bool carla::rpc::WheelPhysicsControl::traction_control_enabled = false

◆ velocity

geom::Location carla::rpc::WheelPhysicsControl::velocity = geom::Location(0, 0, 0)

Definition at line 57 of file LibCarla/source/carla/rpc/WheelPhysicsControl.h.

Referenced by operator==().

◆ wheel_index

int32_t carla::rpc::WheelPhysicsControl::wheel_index = -1

Definition at line 54 of file LibCarla/source/carla/rpc/WheelPhysicsControl.h.

Referenced by operator==().

◆ wheel_load_ratio

float carla::rpc::WheelPhysicsControl::wheel_load_ratio = 0.5f

Definition at line 45 of file LibCarla/source/carla/rpc/WheelPhysicsControl.h.

Referenced by operator==().

◆ wheel_mass

float carla::rpc::WheelPhysicsControl::wheel_mass = 30.0f

◆ wheel_radius

float carla::rpc::WheelPhysicsControl::wheel_radius = 30.0f

◆ wheel_width

float carla::rpc::WheelPhysicsControl::wheel_width = 30.0f

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