CARLA
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
UBaseCarlaMovementComponent Class Reference

#include <BaseCarlaMovementComponent.h>

+ Inheritance diagram for UBaseCarlaMovementComponent:
+ Collaboration diagram for UBaseCarlaMovementComponent:

Public Member Functions

virtual void BeginPlay () override
 
virtual int32 GetVehicleCurrentGear () const
 
virtual float GetVehicleForwardSpeed () const
 
virtual FVector GetVelocity () const
 
virtual void ProcessControl (FVehicleControl &Control)
 

Protected Member Functions

void DisableUE4VehiclePhysics ()
 
void EnableUE4VehiclePhysics (bool bResetVelocity=true)
 

Protected Attributes

ACarlaWheeledVehicleCarlaVehicle
 

Detailed Description

Definition at line 17 of file BaseCarlaMovementComponent.h.

Member Function Documentation

◆ BeginPlay()

void UBaseCarlaMovementComponent::BeginPlay ( )
overridevirtual

Reimplemented in UCarSimManagerComponent, and UDefaultMovementComponent.

Definition at line 15 of file BaseCarlaMovementComponent.cpp.

References CarlaVehicle, and Vehicle.

Referenced by UChronoMovementComponent::CreateChronoMovementComponent().

+ Here is the caller graph for this function:

◆ DisableUE4VehiclePhysics()

void UBaseCarlaMovementComponent::DisableUE4VehiclePhysics ( )
protected

Definition at line 53 of file BaseCarlaMovementComponent.cpp.

References CarlaVehicle.

Referenced by UChronoMovementComponent::CreateChronoMovementComponent().

+ Here is the caller graph for this function:

◆ EnableUE4VehiclePhysics()

void UBaseCarlaMovementComponent::EnableUE4VehiclePhysics ( bool  bResetVelocity = true)
protected

Definition at line 70 of file BaseCarlaMovementComponent.cpp.

References CarlaVehicle, GetVelocity(), carla::log_warning(), and ACarlaWheeledVehicle::RestoreVehiclePhysicsControl().

Referenced by UChronoMovementComponent::DisableChronoPhysics().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetVehicleCurrentGear()

int32 UBaseCarlaMovementComponent::GetVehicleCurrentGear ( ) const
virtual

Reimplemented in UCarSimManagerComponent, and UDefaultMovementComponent.

Definition at line 43 of file BaseCarlaMovementComponent.cpp.

Referenced by UChronoMovementComponent::CreateChronoMovementComponent(), and ACarlaWheeledVehicle::GetVehicleCurrentGear().

+ Here is the caller graph for this function:

◆ GetVehicleForwardSpeed()

float UBaseCarlaMovementComponent::GetVehicleForwardSpeed ( ) const
virtual

Reimplemented in UCarSimManagerComponent, and UDefaultMovementComponent.

Definition at line 48 of file BaseCarlaMovementComponent.cpp.

Referenced by UChronoMovementComponent::CreateChronoMovementComponent(), and ACarlaWheeledVehicle::GetVehicleForwardSpeed().

+ Here is the caller graph for this function:

◆ GetVelocity()

FVector UBaseCarlaMovementComponent::GetVelocity ( ) const
virtual

Reimplemented in UCarSimManagerComponent.

Definition at line 34 of file BaseCarlaMovementComponent.cpp.

References CarlaVehicle.

Referenced by UChronoMovementComponent::CreateChronoMovementComponent(), EnableUE4VehiclePhysics(), and ACarlaWheeledVehicle::GetVelocity().

+ Here is the caller graph for this function:

◆ ProcessControl()

void UBaseCarlaMovementComponent::ProcessControl ( FVehicleControl Control)
virtual

Reimplemented in UCarSimManagerComponent, and UDefaultMovementComponent.

Definition at line 29 of file BaseCarlaMovementComponent.cpp.

Referenced by UChronoMovementComponent::CreateChronoMovementComponent(), and ACarlaWheeledVehicle::FlushVehicleControl().

+ Here is the caller graph for this function:

Member Data Documentation

◆ CarlaVehicle

ACarlaWheeledVehicle* UBaseCarlaMovementComponent::CarlaVehicle
protected

The documentation for this class was generated from the following files: