CARLA
Toggle main menu visibility
Loading...
Searching...
No Matches
LibCarla
source
carla
rpc
LibCarla/source/carla/rpc/WheelPhysicsControl.h
Go to the documentation of this file.
1
// Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma
2
// de Barcelona (UAB).
3
//
4
// This work is licensed under the terms of the MIT license.
5
// For a copy, see <https://opensource.org/licenses/MIT>.
6
7
#pragma once
8
9
#include "
carla/geom/Vector2D.h
"
10
#include "
carla/geom/Vector3D.h
"
11
#include "
carla/geom/Location.h
"
12
#include "
carla/MsgPack.h
"
13
14
15
namespace
carla
{
16
namespace
rpc
{
17
18
struct
WheelPhysicsControl
{
19
20
uint8_t
axle_type
= 0;
// @TODO INTRODUCE ENUM
21
geom::Vector3D
offset
=
geom::Vector3D
(0, 0, 0);
22
float
wheel_radius
= 30.0f;
23
float
wheel_width
= 30.0f;
24
float
wheel_mass
= 30.0f;
25
float
cornering_stiffness
= 1000.0f;
26
float
friction_force_multiplier
= 3.0f;
27
float
side_slip_modifier
= 1.0f;
28
float
slip_threshold
= 20.0f;
29
float
skid_threshold
= 20.0f;
30
float
max_steer_angle
= 70.0f;
31
bool
affected_by_steering
=
true
;
32
bool
affected_by_brake
=
true
;
33
bool
affected_by_handbrake
=
true
;
34
bool
affected_by_engine
=
true
;
35
bool
abs_enabled
=
false
;
36
bool
traction_control_enabled
=
false
;
37
float
max_wheelspin_rotation
= 30;
38
uint8_t
external_torque_combine_method
= 0;
// @TODO INTRODUCE ENUM
39
std::vector<geom::Vector2D>
lateral_slip_graph
= {};
40
geom::Vector3D
suspension_axis
=
geom::Vector3D
(0, 0, -1);
41
geom::Vector3D
suspension_force_offset
=
geom::Vector3D
(0, 0, 0);
42
float
suspension_max_raise
= 10.0f;
43
float
suspension_max_drop
= 10.0f;
44
float
suspension_damping_ratio
= 0.5f;
45
float
wheel_load_ratio
= 0.5f;
46
float
spring_rate
= 250.0f;
47
float
spring_preload
= 50.0f;
48
int
suspension_smoothing
= 0;
49
float
rollbar_scaling
= 0.15f;
50
uint8_t
sweep_shape
= 0;
// @TODO INTRODUCE ENUM
51
uint8_t
sweep_type
= 0;
// @TODO INTRODUCE ENUM
52
float
max_brake_torque
= 1500.0f;
53
float
max_hand_brake_torque
= 3000.0f;
54
int32_t
wheel_index
= -1;
55
geom::Location
location
=
geom::Location
(0, 0, 0);
56
geom::Location
old_location
=
geom::Location
(0, 0, 0);
57
geom::Location
velocity
=
geom::Location
(0, 0, 0);
58
59
inline
bool
operator==
(
const
WheelPhysicsControl
& rhs)
const
{
60
const
bool
cmp[] =
61
{
62
axle_type
== rhs.
axle_type
,
63
offset
== rhs.
offset
,
64
wheel_radius
== rhs.
wheel_radius
,
65
wheel_width
== rhs.
wheel_width
,
66
wheel_mass
== rhs.
wheel_mass
,
67
cornering_stiffness
== rhs.
cornering_stiffness
,
68
friction_force_multiplier
== rhs.
friction_force_multiplier
,
69
side_slip_modifier
== rhs.
side_slip_modifier
,
70
slip_threshold
== rhs.
slip_threshold
,
71
skid_threshold
== rhs.
skid_threshold
,
72
max_steer_angle
== rhs.
max_steer_angle
,
73
affected_by_steering
== rhs.
affected_by_steering
,
74
affected_by_brake
== rhs.
affected_by_brake
,
75
affected_by_handbrake
== rhs.
affected_by_handbrake
,
76
affected_by_engine
== rhs.
affected_by_engine
,
77
abs_enabled
== rhs.
abs_enabled
,
78
traction_control_enabled
== rhs.
traction_control_enabled
,
79
max_wheelspin_rotation
== rhs.
max_wheelspin_rotation
,
80
external_torque_combine_method
== rhs.
external_torque_combine_method
,
81
lateral_slip_graph
== rhs.
lateral_slip_graph
,
82
suspension_axis
== rhs.
suspension_axis
,
83
suspension_force_offset
== rhs.
suspension_force_offset
,
84
suspension_max_raise
== rhs.
suspension_max_raise
,
85
suspension_max_drop
== rhs.
suspension_max_drop
,
86
suspension_damping_ratio
== rhs.
suspension_damping_ratio
,
87
wheel_load_ratio
== rhs.
wheel_load_ratio
,
88
spring_rate
== rhs.
spring_rate
,
89
spring_preload
== rhs.
spring_preload
,
90
suspension_smoothing
== rhs.
suspension_smoothing
,
91
rollbar_scaling
== rhs.
rollbar_scaling
,
92
sweep_shape
== rhs.
sweep_shape
,
93
sweep_type
== rhs.
sweep_type
,
94
max_brake_torque
== rhs.
max_brake_torque
,
95
max_hand_brake_torque
== rhs.
max_hand_brake_torque
,
96
wheel_index
== rhs.
wheel_index
,
97
location
== rhs.
location
,
98
old_location
== rhs.
old_location
,
99
velocity
== rhs.
velocity
100
};
101
return
std::all_of(std::begin(cmp), std::end(cmp), [](
bool
b)
noexcept
{
return
b; });
102
}
103
104
inline
bool
operator!=
(
const
WheelPhysicsControl
& rhs)
const
{
105
return
!(*
this
== rhs);
106
}
107
108
#ifdef LIBCARLA_INCLUDED_FROM_UE4
109
110
static
WheelPhysicsControl
FromFWheelPhysicsControl
(
111
const
FWheelPhysicsControl
& Wheel)
112
{
113
WheelPhysicsControl
Out = { };
114
Out.
axle_type
= (uint8_t)Wheel.
AxleType
;
115
Out.
offset
=
geom::Vector3D
(
116
Wheel.
Offset
.X,
117
Wheel.
Offset
.Y,
118
Wheel.
Offset
.Z);
119
Out.
wheel_radius
= Wheel.
WheelRadius
;
120
Out.
wheel_width
= Wheel.
WheelWidth
;
121
Out.
wheel_mass
= Wheel.
WheelMass
;
122
Out.
cornering_stiffness
= Wheel.
CorneringStiffness
;
123
Out.
friction_force_multiplier
= Wheel.
FrictionForceMultiplier
;
124
Out.
side_slip_modifier
= Wheel.
SideSlipModifier
;
125
Out.
slip_threshold
= Wheel.
SlipThreshold
;
126
Out.
skid_threshold
= Wheel.
SkidThreshold
;
127
Out.
max_steer_angle
= Wheel.
MaxSteerAngle
;
128
Out.
affected_by_steering
= Wheel.
bAffectedBySteering
;
129
Out.
affected_by_brake
= Wheel.
bAffectedByBrake
;
130
Out.
affected_by_handbrake
= Wheel.
bAffectedByHandbrake
;
131
Out.
affected_by_engine
= Wheel.
bAffectedByEngine
;
132
Out.
abs_enabled
= Wheel.
bABSEnabled
;
133
Out.
traction_control_enabled
= Wheel.
bTractionControlEnabled
;
134
Out.
max_wheelspin_rotation
= Wheel.
MaxWheelspinRotation
;
135
Out.
external_torque_combine_method
= (uint8_t)Wheel.
ExternalTorqueCombineMethod
;
136
Out.
lateral_slip_graph
.reserve(Wheel.
LateralSlipGraph
.GetNumKeys());
137
for
(
auto
& e : Wheel.
LateralSlipGraph
.GetConstRefOfKeys())
138
Out.
lateral_slip_graph
.push_back({ e.Time, e.Value });
139
Out.
suspension_axis
=
geom::Vector3D
(
140
Wheel.
SuspensionAxis
.X,
141
Wheel.
SuspensionAxis
.Y,
142
Wheel.
SuspensionAxis
.Z);
143
Out.
suspension_force_offset
=
geom::Vector3D
(
144
Wheel.
SuspensionForceOffset
.X,
145
Wheel.
SuspensionForceOffset
.Y,
146
Wheel.
SuspensionForceOffset
.Z);
147
Out.
suspension_max_raise
= Wheel.
SuspensionMaxRaise
;
148
Out.
suspension_max_drop
= Wheel.
SuspensionMaxDrop
;
149
Out.
suspension_damping_ratio
= Wheel.
SuspensionDampingRatio
;
150
Out.
wheel_load_ratio
= Wheel.
WheelLoadRatio
;
151
Out.
spring_rate
= Wheel.
SpringRate
;
152
Out.
spring_preload
= Wheel.
SpringPreload
;
153
Out.
suspension_smoothing
= Wheel.
SuspensionSmoothing
;
154
Out.
rollbar_scaling
= Wheel.
RollbarScaling
;
155
Out.
sweep_shape
= (uint8_t)Wheel.
SweepShape
;
156
Out.
sweep_type
= (uint8_t)Wheel.
SweepType
;
157
Out.
max_brake_torque
= Wheel.
MaxBrakeTorque
;
158
Out.
max_hand_brake_torque
= Wheel.
MaxHandBrakeTorque
;
159
Out.
wheel_index
= Wheel.
WheelIndex
;
160
Out.
location
= Wheel.
Location
;
161
Out.
old_location
= Wheel.
OldLocation
;
162
Out.
velocity
= Wheel.
Velocity
;
163
return
Out;
164
}
165
166
operator
FWheelPhysicsControl
()
const
{
167
FWheelPhysicsControl
Wheel;
168
Wheel.
AxleType
= (EAxleType)
axle_type
;
169
Wheel.
Offset
= FVector(
offset
.
x
,
offset
.
y
,
offset
.
z
);
170
Wheel.
WheelRadius
=
wheel_radius
;
171
Wheel.
WheelWidth
=
wheel_width
;
172
Wheel.
WheelMass
=
wheel_mass
;
173
Wheel.
CorneringStiffness
=
cornering_stiffness
;
174
Wheel.
FrictionForceMultiplier
=
friction_force_multiplier
;
175
Wheel.
SideSlipModifier
=
side_slip_modifier
;
176
Wheel.
SlipThreshold
=
slip_threshold
;
177
Wheel.
SkidThreshold
=
skid_threshold
;
178
Wheel.
MaxSteerAngle
=
max_steer_angle
;
179
Wheel.
bAffectedBySteering
=
affected_by_steering
;
180
Wheel.
bAffectedByBrake
=
affected_by_brake
;
181
Wheel.
bAffectedByHandbrake
=
affected_by_handbrake
;
182
Wheel.
bAffectedByEngine
=
affected_by_engine
;
183
Wheel.
bABSEnabled
=
abs_enabled
;
184
Wheel.
bTractionControlEnabled
=
traction_control_enabled
;
185
Wheel.
MaxWheelspinRotation
=
max_wheelspin_rotation
;
186
Wheel.
ExternalTorqueCombineMethod
= (ETorqueCombineMethod)
external_torque_combine_method
;
187
for
(
auto
[x, y] :
lateral_slip_graph
)
188
Wheel.
LateralSlipGraph
.AddKey(x, y);
189
Wheel.
SuspensionAxis
= FVector(
190
suspension_axis
.
x
,
191
suspension_axis
.
y
,
192
suspension_axis
.
z
);
193
Wheel.
SuspensionForceOffset
= FVector(
194
suspension_force_offset
.
x
,
195
suspension_force_offset
.
y
,
196
suspension_force_offset
.
z
);
197
Wheel.
SuspensionMaxRaise
=
suspension_max_raise
;
198
Wheel.
SuspensionMaxDrop
=
suspension_max_drop
;
199
Wheel.
SuspensionDampingRatio
=
suspension_damping_ratio
;
200
Wheel.
WheelLoadRatio
=
wheel_load_ratio
;
201
Wheel.
SpringRate
=
spring_rate
;
202
Wheel.
SpringPreload
=
spring_preload
;
203
Wheel.
SuspensionSmoothing
=
suspension_smoothing
;
204
Wheel.
RollbarScaling
=
rollbar_scaling
;
205
Wheel.
SweepShape
= (ESweepShape)
sweep_shape
;
206
Wheel.
SweepType
= (ESweepType)
sweep_type
;
207
Wheel.
MaxBrakeTorque
=
max_brake_torque
;
208
Wheel.
MaxHandBrakeTorque
=
max_hand_brake_torque
;
209
Wheel.
WheelIndex
=
wheel_index
;
210
Wheel.
Location
=
location
;
211
Wheel.
OldLocation
=
old_location
;
212
Wheel.
Velocity
=
velocity
;
213
return
Wheel;
214
}
215
#endif
216
217
MSGPACK_DEFINE_ARRAY(
218
axle_type
,
219
offset
,
220
wheel_radius
,
221
wheel_width
,
222
wheel_mass
,
223
cornering_stiffness
,
224
friction_force_multiplier
,
225
side_slip_modifier
,
226
slip_threshold
,
227
skid_threshold
,
228
max_steer_angle
,
229
affected_by_steering
,
230
affected_by_brake
,
231
affected_by_handbrake
,
232
affected_by_engine
,
233
abs_enabled
,
234
traction_control_enabled
,
235
max_wheelspin_rotation
,
236
external_torque_combine_method
,
237
lateral_slip_graph
,
238
suspension_axis
,
239
suspension_force_offset
,
240
suspension_max_raise
,
241
suspension_max_drop
,
242
suspension_damping_ratio
,
243
wheel_load_ratio
,
244
spring_rate
,
245
spring_preload
,
246
suspension_smoothing
,
247
rollbar_scaling
,
248
sweep_shape
,
249
sweep_type
,
250
max_brake_torque
,
251
max_hand_brake_torque
,
252
wheel_index
,
253
location
,
254
old_location
,
255
velocity
)
256
};
257
258
}
259
}
MsgPack.h
Location.h
Vector2D.h
Vector3D.h
carla::rpc
Definition
DebugShapeDrawer.h:11
carla
This file contains definitions of common data structures used in traffic manager.
Definition
SignComponent.h:21
FWheelPhysicsControl
Definition
Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/Vehicle/WheelPhysicsControl.h:17
FWheelPhysicsControl::ExternalTorqueCombineMethod
ETorqueCombineMethod ExternalTorqueCombineMethod
Determines how the SetDriveTorque/SetBrakeTorque inputs are combined with the internal torques.
Definition
Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/Vehicle/WheelPhysicsControl.h:139
FWheelPhysicsControl::SuspensionMaxRaise
float SuspensionMaxRaise
How far the wheel can go above the resting position.
Definition
Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/Vehicle/WheelPhysicsControl.h:154
FWheelPhysicsControl::FWheelPhysicsControl
FWheelPhysicsControl()
Definition
Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/Vehicle/WheelPhysicsControl.h:20
FWheelPhysicsControl::SuspensionSmoothing
int SuspensionSmoothing
Smooth suspension [0-off, 10-max] - Warning might cause momentary visual inter-penetration of the whe...
Definition
Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/Vehicle/WheelPhysicsControl.h:183
FWheelPhysicsControl::SweepShape
ESweepShape SweepShape
Wheel suspension trace type, defaults to ray trace.
Definition
Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/Vehicle/WheelPhysicsControl.h:191
FWheelPhysicsControl::SlipThreshold
float SlipThreshold
Wheel Longitudinal Slip Threshold.
Definition
Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/Vehicle/WheelPhysicsControl.h:99
FWheelPhysicsControl::CorneringStiffness
float CorneringStiffness
Tyre Cornering Ability.
Definition
Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/Vehicle/WheelPhysicsControl.h:87
FWheelPhysicsControl::SpringRate
float SpringRate
Spring Force (N/m).
Definition
Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/Vehicle/WheelPhysicsControl.h:175
FWheelPhysicsControl::SuspensionForceOffset
FVector SuspensionForceOffset
Vertical offset from where suspension forces are applied (along Z-axis).
Definition
Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/Vehicle/WheelPhysicsControl.h:150
FWheelPhysicsControl::SpringPreload
float SpringPreload
Spring Preload (N/m).
Definition
Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/Vehicle/WheelPhysicsControl.h:179
FWheelPhysicsControl::Location
FVector Location
Definition
Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/Vehicle/WheelPhysicsControl.h:214
FWheelPhysicsControl::bAffectedByHandbrake
bool bAffectedByHandbrake
Whether handbrake should affect this wheel.
Definition
Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/Vehicle/WheelPhysicsControl.h:119
FWheelPhysicsControl::MaxWheelspinRotation
float MaxWheelspinRotation
Max Wheelspin rotation rad/sec.
Definition
Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/Vehicle/WheelPhysicsControl.h:135
FWheelPhysicsControl::MaxHandBrakeTorque
float MaxHandBrakeTorque
Max handbrake brake torque for this wheel (Nm).
Definition
Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/Vehicle/WheelPhysicsControl.h:206
FWheelPhysicsControl::bABSEnabled
bool bABSEnabled
Advanced Braking System Enabled.
Definition
Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/Vehicle/WheelPhysicsControl.h:127
FWheelPhysicsControl::WheelLoadRatio
float WheelLoadRatio
Definition
Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/Vehicle/WheelPhysicsControl.h:171
FWheelPhysicsControl::LateralSlipGraph
FRichCurve LateralSlipGraph
Definition
Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/Vehicle/WheelPhysicsControl.h:142
FWheelPhysicsControl::WheelWidth
float WheelWidth
Width of the wheel.
Definition
Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/Vehicle/WheelPhysicsControl.h:79
FWheelPhysicsControl::Offset
FVector Offset
If BoneName is specified, offset the wheel from the bone's location.
Definition
Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/Vehicle/WheelPhysicsControl.h:71
FWheelPhysicsControl::Velocity
FVector Velocity
Definition
Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/Vehicle/WheelPhysicsControl.h:222
FWheelPhysicsControl::SideSlipModifier
float SideSlipModifier
Wheel Lateral Skid Grip Loss, lower number less grip on skid.
Definition
Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/Vehicle/WheelPhysicsControl.h:95
FWheelPhysicsControl::bTractionControlEnabled
bool bTractionControlEnabled
Straight Line Traction Control Enabled.
Definition
Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/Vehicle/WheelPhysicsControl.h:131
FWheelPhysicsControl::WheelRadius
float WheelRadius
Radius of the wheel.
Definition
Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/Vehicle/WheelPhysicsControl.h:75
FWheelPhysicsControl::SuspensionMaxDrop
float SuspensionMaxDrop
How far the wheel can drop below the resting position.
Definition
Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/Vehicle/WheelPhysicsControl.h:158
FWheelPhysicsControl::WheelIndex
int32 WheelIndex
Definition
Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/Vehicle/WheelPhysicsControl.h:210
FWheelPhysicsControl::SuspensionAxis
FVector SuspensionAxis
Local body direction in which where suspension forces are applied (typically along -Z-axis).
Definition
Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/Vehicle/WheelPhysicsControl.h:146
FWheelPhysicsControl::AxleType
EAxleType AxleType
If left undefined then the bAffectedByEngine value is used, if defined then bAffectedByEngine is igno...
Definition
Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/Vehicle/WheelPhysicsControl.h:64
FWheelPhysicsControl::bAffectedByEngine
bool bAffectedByEngine
Whether engine should power this wheel.
Definition
Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/Vehicle/WheelPhysicsControl.h:123
FWheelPhysicsControl::RollbarScaling
float RollbarScaling
Anti-roll effect.
Definition
Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/Vehicle/WheelPhysicsControl.h:187
FWheelPhysicsControl::MaxSteerAngle
float MaxSteerAngle
Definition
Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/Vehicle/WheelPhysicsControl.h:107
FWheelPhysicsControl::FrictionForceMultiplier
float FrictionForceMultiplier
Friction Force Multiplier.
Definition
Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/Vehicle/WheelPhysicsControl.h:91
FWheelPhysicsControl::SuspensionDampingRatio
float SuspensionDampingRatio
Suspension damping, larger value causes the suspension to come to rest faster [range 0 to 1].
Definition
Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/Vehicle/WheelPhysicsControl.h:162
FWheelPhysicsControl::OldLocation
FVector OldLocation
Definition
Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/Vehicle/WheelPhysicsControl.h:218
FWheelPhysicsControl::SkidThreshold
float SkidThreshold
Wheel Lateral Skid Threshold.
Definition
Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/Vehicle/WheelPhysicsControl.h:103
FWheelPhysicsControl::WheelMass
float WheelMass
Mass of the wheel Kg.
Definition
Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/Vehicle/WheelPhysicsControl.h:83
FWheelPhysicsControl::bAffectedByBrake
bool bAffectedByBrake
Whether brake should affect this wheel.
Definition
Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/Vehicle/WheelPhysicsControl.h:115
FWheelPhysicsControl::MaxBrakeTorque
float MaxBrakeTorque
max brake torque for this wheel (Nm)
Definition
Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/Vehicle/WheelPhysicsControl.h:199
FWheelPhysicsControl::SweepType
ESweepType SweepType
Whether wheel suspension considers simple, complex.
Definition
Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/Vehicle/WheelPhysicsControl.h:195
FWheelPhysicsControl::bAffectedBySteering
bool bAffectedBySteering
Whether steering should affect this wheel.
Definition
Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/Vehicle/WheelPhysicsControl.h:111
carla::geom::Location
Definition
geom/Location.h:23
carla::geom::Vector3D
Definition
geom/Vector3D.h:17
carla::geom::Vector3D::y
float y
Definition
geom/Vector3D.h:27
carla::geom::Vector3D::x
float x
Definition
geom/Vector3D.h:25
carla::geom::Vector3D::z
float z
Definition
geom/Vector3D.h:29
carla::rpc::WheelPhysicsControl
Definition
LibCarla/source/carla/rpc/WheelPhysicsControl.h:18
carla::rpc::WheelPhysicsControl::FromFWheelPhysicsControl
static WheelPhysicsControl FromFWheelPhysicsControl(const FWheelPhysicsControl &Wheel)
Definition
LibCarla/source/carla/rpc/WheelPhysicsControl.h:110
carla::rpc::WheelPhysicsControl::wheel_load_ratio
float wheel_load_ratio
Definition
LibCarla/source/carla/rpc/WheelPhysicsControl.h:45
carla::rpc::WheelPhysicsControl::skid_threshold
float skid_threshold
Definition
LibCarla/source/carla/rpc/WheelPhysicsControl.h:29
carla::rpc::WheelPhysicsControl::affected_by_engine
bool affected_by_engine
Definition
LibCarla/source/carla/rpc/WheelPhysicsControl.h:34
carla::rpc::WheelPhysicsControl::cornering_stiffness
float cornering_stiffness
Definition
LibCarla/source/carla/rpc/WheelPhysicsControl.h:25
carla::rpc::WheelPhysicsControl::max_wheelspin_rotation
float max_wheelspin_rotation
Definition
LibCarla/source/carla/rpc/WheelPhysicsControl.h:37
carla::rpc::WheelPhysicsControl::side_slip_modifier
float side_slip_modifier
Definition
LibCarla/source/carla/rpc/WheelPhysicsControl.h:27
carla::rpc::WheelPhysicsControl::operator!=
bool operator!=(const WheelPhysicsControl &rhs) const
Definition
LibCarla/source/carla/rpc/WheelPhysicsControl.h:104
carla::rpc::WheelPhysicsControl::spring_rate
float spring_rate
Definition
LibCarla/source/carla/rpc/WheelPhysicsControl.h:46
carla::rpc::WheelPhysicsControl::affected_by_brake
bool affected_by_brake
Definition
LibCarla/source/carla/rpc/WheelPhysicsControl.h:32
carla::rpc::WheelPhysicsControl::suspension_axis
geom::Vector3D suspension_axis
Definition
LibCarla/source/carla/rpc/WheelPhysicsControl.h:40
carla::rpc::WheelPhysicsControl::suspension_smoothing
int suspension_smoothing
Definition
LibCarla/source/carla/rpc/WheelPhysicsControl.h:48
carla::rpc::WheelPhysicsControl::abs_enabled
bool abs_enabled
Definition
LibCarla/source/carla/rpc/WheelPhysicsControl.h:35
carla::rpc::WheelPhysicsControl::max_hand_brake_torque
float max_hand_brake_torque
Definition
LibCarla/source/carla/rpc/WheelPhysicsControl.h:53
carla::rpc::WheelPhysicsControl::suspension_force_offset
geom::Vector3D suspension_force_offset
Definition
LibCarla/source/carla/rpc/WheelPhysicsControl.h:41
carla::rpc::WheelPhysicsControl::wheel_radius
float wheel_radius
Definition
LibCarla/source/carla/rpc/WheelPhysicsControl.h:22
carla::rpc::WheelPhysicsControl::old_location
geom::Location old_location
Definition
LibCarla/source/carla/rpc/WheelPhysicsControl.h:56
carla::rpc::WheelPhysicsControl::suspension_max_drop
float suspension_max_drop
Definition
LibCarla/source/carla/rpc/WheelPhysicsControl.h:43
carla::rpc::WheelPhysicsControl::wheel_mass
float wheel_mass
Definition
LibCarla/source/carla/rpc/WheelPhysicsControl.h:24
carla::rpc::WheelPhysicsControl::operator==
bool operator==(const WheelPhysicsControl &rhs) const
Definition
LibCarla/source/carla/rpc/WheelPhysicsControl.h:59
carla::rpc::WheelPhysicsControl::wheel_width
float wheel_width
Definition
LibCarla/source/carla/rpc/WheelPhysicsControl.h:23
carla::rpc::WheelPhysicsControl::max_brake_torque
float max_brake_torque
Definition
LibCarla/source/carla/rpc/WheelPhysicsControl.h:52
carla::rpc::WheelPhysicsControl::suspension_max_raise
float suspension_max_raise
Definition
LibCarla/source/carla/rpc/WheelPhysicsControl.h:42
carla::rpc::WheelPhysicsControl::friction_force_multiplier
float friction_force_multiplier
Definition
LibCarla/source/carla/rpc/WheelPhysicsControl.h:26
carla::rpc::WheelPhysicsControl::affected_by_steering
bool affected_by_steering
Definition
LibCarla/source/carla/rpc/WheelPhysicsControl.h:31
carla::rpc::WheelPhysicsControl::axle_type
uint8_t axle_type
Definition
LibCarla/source/carla/rpc/WheelPhysicsControl.h:20
carla::rpc::WheelPhysicsControl::suspension_damping_ratio
float suspension_damping_ratio
Definition
LibCarla/source/carla/rpc/WheelPhysicsControl.h:44
carla::rpc::WheelPhysicsControl::affected_by_handbrake
bool affected_by_handbrake
Definition
LibCarla/source/carla/rpc/WheelPhysicsControl.h:33
carla::rpc::WheelPhysicsControl::offset
geom::Vector3D offset
Definition
LibCarla/source/carla/rpc/WheelPhysicsControl.h:21
carla::rpc::WheelPhysicsControl::external_torque_combine_method
uint8_t external_torque_combine_method
Definition
LibCarla/source/carla/rpc/WheelPhysicsControl.h:38
carla::rpc::WheelPhysicsControl::wheel_index
int32_t wheel_index
Definition
LibCarla/source/carla/rpc/WheelPhysicsControl.h:54
carla::rpc::WheelPhysicsControl::sweep_type
uint8_t sweep_type
Definition
LibCarla/source/carla/rpc/WheelPhysicsControl.h:51
carla::rpc::WheelPhysicsControl::lateral_slip_graph
std::vector< geom::Vector2D > lateral_slip_graph
Definition
LibCarla/source/carla/rpc/WheelPhysicsControl.h:39
carla::rpc::WheelPhysicsControl::velocity
geom::Location velocity
Definition
LibCarla/source/carla/rpc/WheelPhysicsControl.h:57
carla::rpc::WheelPhysicsControl::traction_control_enabled
bool traction_control_enabled
Definition
LibCarla/source/carla/rpc/WheelPhysicsControl.h:36
carla::rpc::WheelPhysicsControl::location
geom::Location location
Definition
LibCarla/source/carla/rpc/WheelPhysicsControl.h:55
carla::rpc::WheelPhysicsControl::sweep_shape
uint8_t sweep_shape
Definition
LibCarla/source/carla/rpc/WheelPhysicsControl.h:50
carla::rpc::WheelPhysicsControl::rollbar_scaling
float rollbar_scaling
Definition
LibCarla/source/carla/rpc/WheelPhysicsControl.h:49
carla::rpc::WheelPhysicsControl::max_steer_angle
float max_steer_angle
Definition
LibCarla/source/carla/rpc/WheelPhysicsControl.h:30
carla::rpc::WheelPhysicsControl::slip_threshold
float slip_threshold
Definition
LibCarla/source/carla/rpc/WheelPhysicsControl.h:28
carla::rpc::WheelPhysicsControl::spring_preload
float spring_preload
Definition
LibCarla/source/carla/rpc/WheelPhysicsControl.h:47
Generated by
1.18.0