CARLA
Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Vehicle/WheelPhysicsControl.h
Go to the documentation of this file.
1 // Copyright (c) 2017 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 "WheelPhysicsControl.generated.h"
10 
11 USTRUCT(BlueprintType)
12 struct CARLA_API FWheelPhysicsControl
13 {
14  GENERATED_BODY()
15 
16  UPROPERTY(Category = "Wheel Tire Friction", EditAnywhere, BlueprintReadWrite)
17  float TireFriction = 3.5f;
18 
19  UPROPERTY(Category = "Wheel Damping Rate", EditAnywhere, BlueprintReadWrite)
20  float DampingRate = 1.0f;
21 
22  UPROPERTY(Category = "Wheel Max Steer Angle", EditAnywhere, BlueprintReadWrite)
23  float MaxSteerAngle = 70.0f;
24 
25  UPROPERTY(Category = "Wheel Shape Radius", EditAnywhere, BlueprintReadWrite)
26  float Radius = 30.0f;
27 
28  UPROPERTY(Category = "Wheel Max Brake Torque (Nm)", EditAnywhere, BlueprintReadWrite)
29  float MaxBrakeTorque = 1500.0f;
30 
31  UPROPERTY(Category = "Wheel Max Handbrake Torque (Nm)", EditAnywhere, BlueprintReadWrite)
32  float MaxHandBrakeTorque = 3000.0f;
33 
34  UPROPERTY(Category = "Max normalized tire load at which the tire can deliver no more lateral stiffness no matter how much extra load is applied to the tire", EditAnywhere, BlueprintReadWrite)
35  float LatStiffMaxLoad = 2.0f;
36 
37  UPROPERTY(Category = "Lateral Stiffness Value", EditAnywhere, BlueprintReadWrite)
38  float LatStiffValue = 17.0f;
39 
40  UPROPERTY(Category = "Longitudinal Stiffness Value", EditAnywhere, BlueprintReadWrite)
41  float LongStiffValue = 1000.0f;
42 
43  UPROPERTY(Category = "Wheel Position", EditAnywhere, BlueprintReadWrite)
44  FVector Position = FVector::ZeroVector;
45 };
rpc::DebugShape Shape
Definition: DebugHelper.cpp:15