CARLA
Loading...
Searching...
No Matches
Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/Vehicle/VehicleTelemetryData.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 <util/ue-header-guard-begin.h>
10#include "CoreMinimal.h"
11#include <util/ue-header-guard-end.h>
12
13#include "VehicleTelemetryData.generated.h"
14
15USTRUCT(BlueprintType)
16struct CARLA_API FWheelTelemetryData
17{
18 GENERATED_BODY()
19
20 UPROPERTY(Category = "Wheel Telemetry Data", EditAnywhere, BlueprintReadWrite)
21 float LatSlip = 0.0f;
22
23 UPROPERTY(Category = "Wheel Telemetry Data", EditAnywhere, BlueprintReadWrite)
24 float LongSlip = 0.0f;
25
26 UPROPERTY(Category = "Wheel Telemetry Data", EditAnywhere, BlueprintReadWrite)
27 float Omega = 0.0f;
28};
29
30USTRUCT(BlueprintType)
31struct CARLA_API FVehicleTelemetryData
32{
33 GENERATED_BODY()
34
35 UPROPERTY(Category = "Vehicle Telemetry Data", EditAnywhere, BlueprintReadWrite)
36 float Speed = 0.0f;
37
38 UPROPERTY(Category = "Vehicle Telemetry Data", EditAnywhere, BlueprintReadWrite)
39 float Steer = 0.0f;
40
41 UPROPERTY(Category = "Vehicle Telemetry Data", EditAnywhere, BlueprintReadWrite)
42 float Throttle = 0.0f;
43
44 UPROPERTY(Category = "Vehicle Telemetry Data", EditAnywhere, BlueprintReadWrite)
45 float Brake = 0.0f;
46
47 UPROPERTY(Category = "Vehicle Telemetry Data", EditAnywhere, BlueprintReadWrite)
48 float EngineRPM = 0.0f;
49
50 UPROPERTY(Category = "Vehicle Telemetry Data", EditAnywhere, BlueprintReadWrite)
51 int32 Gear = 0;
52
53 UPROPERTY(Category = "Vehicle Telemetry Data", EditAnywhere, BlueprintReadWrite)
54 TArray<FWheelTelemetryData> Wheels;
55};