CARLA
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 
11 #include "DefaultMovementComponent.generated.h"
12 
13 
14 UCLASS(Blueprintable, meta=(BlueprintSpawnableComponent) )
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 
Base class for CARLA wheeled vehicles.