CARLA
Unreal
CarlaUE4
Plugins
Carla
Source
Carla
Vehicle
MovementComponents
DefaultMovementComponent.h
Go to the documentation of this file.
1
// Copyright (c) 2021 Computer Vision Center (CVC) at the Universitat Autonoma
2
// de Barcelona (UAB).
3
// Copyright (c) 2019 Intel Corporation
4
//
5
// This work is licensed under the terms of the MIT license.
6
// For a copy, see <https://opensource.org/licenses/MIT>.
7
8
#pragma once
9
10
#include "
BaseCarlaMovementComponent.h
"
11
#include "DefaultMovementComponent.generated.h"
12
13
14
UCLASS(Blueprintable, meta=(BlueprintSpawnableComponent) )
15
class CARLA_API
UDefaultMovementComponent
: public
UBaseCarlaMovementComponent
16
{
17
GENERATED_BODY()
18
19
public
:
20
21
static
void
CreateDefaultMovementComponent(
ACarlaWheeledVehicle
*
Vehicle
);
22
23
virtual
void
BeginPlay()
override
;
24
25
void
ProcessControl(
FVehicleControl
&Control)
override
;
26
27
// FVector GetVelocity() const override;
28
29
int32 GetVehicleCurrentGear()
const override
;
30
31
float
GetVehicleForwardSpeed()
const override
;
32
33
};
34
UDefaultMovementComponent
Definition:
DefaultMovementComponent.h:15
FVehicleControl
Definition:
Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Vehicle/VehicleControl.h:12
UBaseCarlaMovementComponent
Definition:
BaseCarlaMovementComponent.h:17
BaseCarlaMovementComponent.h
ACarlaWheeledVehicle
Base class for CARLA wheeled vehicles.
Definition:
CarlaWheeledVehicle.h:72
Vehicle
Definition:
Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Util/EnvironmentObject.h:22
Generated by
1.8.13