CARLA
载入中...
搜索中...
未找到
Unreal
CarlaUE4
Plugins
Carla
Source
Carla
Vehicle
MovementComponents
DefaultMovementComponent.h
浏览该文件的文档.
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
BaseCarlaMovementComponent.h
Vehicle
@ Vehicle
Definition
Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Util/EnvironmentObject.h:22
ACarlaWheeledVehicle
Base class for CARLA wheeled vehicles.
Definition
CarlaWheeledVehicle.h:74
UBaseCarlaMovementComponent
Definition
BaseCarlaMovementComponent.h:18
UDefaultMovementComponent
Definition
DefaultMovementComponent.h:16
FVehicleControl
Definition
Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Vehicle/VehicleControl.h:13
制作者
1.10.0