CARLA
Toggle main menu visibility
Loading...
Searching...
No Matches
Unreal
CarlaUnreal
Plugins
Carla
Source
Carla
Vehicle
Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/Vehicle/VehicleControl.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 "VehicleControl.generated.h"
10
11
USTRUCT(BlueprintType)
12
struct CARLA_API
FVehicleControl
13
{
14
GENERATED_BODY()
15
16
UPROPERTY(Category =
"Vehicle Control"
, EditAnywhere, BlueprintReadWrite)
17
float
Throttle
= 0.0f;
18
19
UPROPERTY(Category =
"Vehicle Control"
, EditAnywhere, BlueprintReadWrite)
20
float
Steer
= 0.0f;
21
22
UPROPERTY(Category =
"Vehicle Control"
, EditAnywhere, BlueprintReadWrite)
23
float
Brake
= 0.0f;
24
25
UPROPERTY(Category =
"Vehicle Control"
, EditAnywhere, BlueprintReadWrite)
26
bool
bHandBrake
= false;
27
28
UPROPERTY(Category =
"Vehicle Control"
, EditAnywhere, BlueprintReadWrite)
29
bool
bReverse
= false;
30
31
UPROPERTY(Category =
"Vehicle Control"
, EditAnywhere, BlueprintReadWrite)
32
bool
bManualGearShift
= false;
33
34
UPROPERTY(Category =
"Vehicle Control"
, EditAnywhere, BlueprintReadWrite, meta = (EditCondition =
bManualGearShift
))
35
int32
Gear
= 0;
36
};
FVehicleControl
Definition
Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/Vehicle/VehicleControl.h:13
FVehicleControl::Steer
float Steer
Definition
Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/Vehicle/VehicleControl.h:20
FVehicleControl::Throttle
float Throttle
Definition
Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/Vehicle/VehicleControl.h:17
FVehicleControl::Brake
float Brake
Definition
Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/Vehicle/VehicleControl.h:23
FVehicleControl::Gear
int32 Gear
Definition
Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/Vehicle/VehicleControl.h:35
FVehicleControl::bManualGearShift
bool bManualGearShift
Definition
Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/Vehicle/VehicleControl.h:32
FVehicleControl::bHandBrake
bool bHandBrake
Definition
Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/Vehicle/VehicleControl.h:26
FVehicleControl::bReverse
bool bReverse
Definition
Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/Vehicle/VehicleControl.h:29
Generated by
1.18.0