CARLA
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
FVehicleActor类 参考

#include <CarlaActor.h>

+ 类 FVehicleActor 继承关系图:
+ FVehicleActor 的协作图:

Public 成员函数

virtual ECarlaServerResponse ApplyAckermannControllerSettings (const FAckermannControllerSettings &) final
 
virtual ECarlaServerResponse ApplyAckermannControlToVehicle (const FVehicleAckermannControl &, const EVehicleInputPriority &) final
 
virtual ECarlaServerResponse ApplyControlToVehicle (const FVehicleControl &, const EVehicleInputPriority &) final
 
virtual ECarlaServerResponse ApplyPhysicsControl (const FVehiclePhysicsControl &PhysicsControl) final
 
virtual ECarlaServerResponse CloseVehicleDoor (const EVehicleDoor DoorIdx) final
 
virtual ECarlaServerResponse DisableActorConstantVelocity () final
 
virtual ECarlaServerResponse EnableActorConstantVelocity (const FVector &Velocity) final
 
virtual ECarlaServerResponse EnableCarSim (const FString &SimfilePath) final
 
virtual ECarlaServerResponse EnableChronoPhysics (uint64_t MaxSubsteps, float MaxSubstepDeltaTime, const FString &VehicleJSON, const FString &PowertrainJSON, const FString &TireJSON, const FString &BaseJSONPath) final
 
 FVehicleActor (IdType ActorId, AActor *Actor, TSharedPtr< const FActorInfo > Info, carla::rpc::ActorState InState, UWorld *World)
 
virtual ECarlaServerResponse GetAckermannControllerSettings (FAckermannControllerSettings &) final
 
virtual ECarlaServerResponse GetFailureState (carla::rpc::VehicleFailureState &) final
 
virtual ECarlaServerResponse GetPhysicsControl (FVehiclePhysicsControl &PhysicsControl) final
 
virtual ECarlaServerResponse GetVehicleAckermannControl (FVehicleAckermannControl &) final
 
virtual ECarlaServerResponse GetVehicleControl (FVehicleControl &) final
 
virtual ECarlaServerResponse GetVehicleLightState (FVehicleLightState &LightState) final
 
virtual ECarlaServerResponse GetVehicleTelemetryData (FVehicleTelemetryData &) final
 
virtual ECarlaServerResponse GetWheelSteerAngle (const EVehicleWheelLocation &WheelLocation, float &Angle)
 
virtual ECarlaServerResponse OpenVehicleDoor (const EVehicleDoor DoorIdx) final
 
virtual ECarlaServerResponse RestorePhysXPhysics ()
 
virtual ECarlaServerResponse SetActorAutopilot (bool bEnabled, bool bKeepState=false) final
 
virtual ECarlaServerResponse SetActorSimulatePhysics (bool bSimulatePhysics) final
 
virtual ECarlaServerResponse SetVehicleLightState (const FVehicleLightState &LightState) final
 
virtual ECarlaServerResponse SetWheelSteerDirection (const EVehicleWheelLocation &WheelLocation, float AngleInDeg) final
 
virtual ECarlaServerResponse ShowVehicleDebugTelemetry (bool bEnabled) final
 
virtual ECarlaServerResponse UseCarSimRoad (bool bEnabled) final
 
- Public 成员函数 继承自 FCarlaActor
ECarlaServerResponse AddActorAngularImpulse (const FVector &AngularInpulse)
 
ECarlaServerResponse AddActorForce (const FVector &Force)
 
ECarlaServerResponse AddActorForceAtLocation (const FVector &Force, const FVector &Location)
 
ECarlaServerResponse AddActorImpulse (const FVector &Impulse)
 
ECarlaServerResponse AddActorImpulseAtLocation (const FVector &Impulse, const FVector &Location)
 
ECarlaServerResponse AddActorTorque (const FVector &Torque)
 
void AddChildren (IdType ChildId)
 
virtual ECarlaServerResponse ApplyControlToWalker (const FWalkerControl &)
 
virtual ECarlaServerResponse BlendPose (float Blend)
 
void BuildActorData ()
 
 FCarlaActor ()=default
 
 FCarlaActor (IdType ActorId, AActor *Actor, TSharedPtr< const FActorInfo > Info, carla::rpc::ActorState InState, UWorld *World)
 
virtual ECarlaServerResponse FreezeTrafficLight (bool)
 
AActorGetActor ()
 
const AActorGetActor () const
 
FVector GetActorAngularVelocity () const
 
FActorDataGetActorData ()
 
template<typename T >
T * GetActorData ()
 
const FActorDataGetActorData () const
 
template<typename T >
const T * GetActorData () const
 
FVector GetActorGlobalLocation () const
 
FTransform GetActorGlobalTransform () const
 
IdType GetActorId () const
 
const FActorInfoGetActorInfo () const
 
FVector GetActorLocalLocation () const
 
FTransform GetActorLocalTransform () const
 
carla::rpc::ActorState GetActorState () const
 
ActorType GetActorType () const
 
FVector GetActorVelocity () const
 
carla::rpc::AttachmentType GetAttachmentType () const
 
virtual ECarlaServerResponse GetBonesTransform (FWalkerBoneControlOut &)
 
const TArray< IdType > & GetChildren () const
 
IdType GetParent () const
 
virtual ECarlaServerResponse GetPoseFromAnimation ()
 
virtual UTrafficLightControllerGetTrafficLightController ()
 
virtual ETrafficLightState GetTrafficLightState () const
 
virtual ECarlaServerResponse GetWalkerControl (FWalkerControl &)
 
bool IsActive () const
 
bool IsAlive () const
 
bool IsDormant () const
 
bool IsInValid () const
 
bool IsPendingKill () const
 
void PutActorToSleep (UCarlaEpisode *CarlaEpisode)
 
void RemoveChildren (IdType ChildId)
 
virtual ECarlaServerResponse ResetTrafficLightGroup ()
 
virtual ECarlaServerResponse SetActorCollisions (bool bEnabled)
 
virtual ECarlaServerResponse SetActorDead ()
 
virtual ECarlaServerResponse SetActorEnableGravity (bool bEnabled)
 
void SetActorGlobalLocation (const FVector &Location, ETeleportType Teleport=ETeleportType::TeleportPhysics)
 
void SetActorGlobalTransform (const FTransform &Transform, ETeleportType Teleport=ETeleportType::TeleportPhysics)
 
void SetActorLocalLocation (const FVector &Location, ETeleportType Teleport=ETeleportType::TeleportPhysics)
 
void SetActorLocalTransform (const FTransform &Transform, ETeleportType Teleport=ETeleportType::TeleportPhysics)
 
void SetActorState (carla::rpc::ActorState InState)
 
ECarlaServerResponse SetActorTargetAngularVelocity (const FVector &AngularVelocity)
 
ECarlaServerResponse SetActorTargetVelocity (const FVector &Velocity)
 
void SetAttachmentType (carla::rpc::AttachmentType InAttachmentType)
 
virtual ECarlaServerResponse SetBonesTransform (const FWalkerBoneControlIn &)
 
virtual ECarlaServerResponse SetLightGreenTime (float)
 
virtual ECarlaServerResponse SetLightRedTime (float)
 
virtual ECarlaServerResponse SetLightYellowTime (float)
 
void SetParent (IdType InParentId)
 
virtual ECarlaServerResponse SetTrafficLightState (const ETrafficLightState &)
 
virtual ECarlaServerResponse SetWalkerState (const FTransform &Transform, carla::rpc::WalkerControl WalkerControl)
 
void WakeActorUp (UCarlaEpisode *CarlaEpisode)
 
virtual ~FCarlaActor ()
 

额外继承的成员函数

- Public 类型 继承自 FCarlaActor
enum class  ActorType : uint8 {
  Other , Vehicle , Walker , TrafficLight ,
  TrafficSign , Sensor , INVALID
}
 
using IdType = uint32
 
- 静态 Public 成员函数 继承自 FCarlaActor
static TSharedPtr< FCarlaActorConstructCarlaActor (IdType ActorId, AActor *Actor, TSharedPtr< const FActorInfo > Info, ActorType Type, carla::rpc::ActorState InState, UWorld *World)
 
- Protected 属性 继承自 FCarlaActor
TSharedPtr< FActorDataActorData = nullptr
 
ActorType Type = ActorType::INVALID
 
UWorld * World = nullptr
 

详细描述

在文件 CarlaActor.h482 行定义.

构造及析构函数说明

◆ FVehicleActor()

FVehicleActor::FVehicleActor ( IdType ActorId,
AActor * Actor,
TSharedPtr< const FActorInfo > Info,
carla::rpc::ActorState InState,
UWorld * World )

在文件 CarlaActor.cpp54 行定义.

引用了 FCarlaActor::ActorData , 以及 FCarlaActor::Vehicle.

成员函数说明

◆ ApplyAckermannControllerSettings()

ECarlaServerResponse FVehicleActor::ApplyAckermannControllerSettings ( const FAckermannControllerSettings & AckermannSettings)
finalvirtual

重载 FCarlaActor .

在文件 CarlaActor.cpp929 行定义.

引用了 FCarlaActor::ActorData, FCarlaActor::GetActor(), FCarlaActor::IsDormant(), NotAVehicle, Success , 以及 FCarlaActor::Vehicle.

+ 函数调用图:

◆ ApplyAckermannControlToVehicle()

ECarlaServerResponse FVehicleActor::ApplyAckermannControlToVehicle ( const FVehicleAckermannControl & AckermannControl,
const EVehicleInputPriority & Priority )
finalvirtual

重载 FCarlaActor .

在文件 CarlaActor.cpp850 行定义.

引用了 FCarlaActor::ActorData, FCarlaActor::GetActor(), FCarlaActor::IsDormant(), NotAVehicle, Success , 以及 FCarlaActor::Vehicle.

+ 函数调用图:

◆ ApplyControlToVehicle()

ECarlaServerResponse FVehicleActor::ApplyControlToVehicle ( const FVehicleControl & Control,
const EVehicleInputPriority & Priority )
finalvirtual

重载 FCarlaActor .

在文件 CarlaActor.cpp829 行定义.

引用了 FCarlaActor::ActorData, FCarlaActor::GetActor(), FCarlaActor::IsDormant(), NotAVehicle, Success , 以及 FCarlaActor::Vehicle.

+ 函数调用图:

◆ ApplyPhysicsControl()

ECarlaServerResponse FVehicleActor::ApplyPhysicsControl ( const FVehiclePhysicsControl & PhysicsControl)
finalvirtual

重载 FCarlaActor .

在文件 CarlaActor.cpp733 行定义.

引用了 FCarlaActor::ActorData, FCarlaActor::GetActor(), FCarlaActor::IsDormant(), NotAVehicle, PhysicsControl, Success , 以及 FCarlaActor::Vehicle.

+ 函数调用图:

◆ CloseVehicleDoor()

ECarlaServerResponse FVehicleActor::CloseVehicleDoor ( const EVehicleDoor DoorIdx)
finalvirtual

重载 FCarlaActor .

在文件 CarlaActor.cpp719 行定义.

引用了 FCarlaActor::GetActor(), FCarlaActor::IsDormant(), NotAVehicle, Success , 以及 FCarlaActor::Vehicle.

+ 函数调用图:

◆ DisableActorConstantVelocity()

ECarlaServerResponse FVehicleActor::DisableActorConstantVelocity ( )
finalvirtual

重载 FCarlaActor .

在文件 CarlaActor.cpp630 行定义.

引用了 FCarlaActor::GetActor(), FCarlaActor::IsDormant(), NullActor , 以及 Success.

+ 函数调用图:

◆ EnableActorConstantVelocity()

ECarlaServerResponse FVehicleActor::EnableActorConstantVelocity ( const FVector & Velocity)
finalvirtual

重载 FCarlaActor .

在文件 CarlaActor.cpp613 行定义.

引用了 FCarlaActor::GetActor(), FCarlaActor::IsDormant(), NullActor , 以及 Success.

+ 函数调用图:

◆ EnableCarSim()

ECarlaServerResponse FVehicleActor::EnableCarSim ( const FString & SimfilePath)
finalvirtual

重载 FCarlaActor .

在文件 CarlaActor.cpp1008 行定义.

引用了 UCarSimManagerComponent::CreateCarsimComponent(), FCarlaActor::GetActor(), FCarlaActor::IsDormant(), NotAVehicle, Success , 以及 FCarlaActor::Vehicle.

+ 函数调用图:

◆ EnableChronoPhysics()

ECarlaServerResponse FVehicleActor::EnableChronoPhysics ( uint64_t MaxSubsteps,
float MaxSubstepDeltaTime,
const FString & VehicleJSON,
const FString & PowertrainJSON,
const FString & TireJSON,
const FString & BaseJSONPath )
finalvirtual

重载 FCarlaActor .

在文件 CarlaActor.cpp1050 行定义.

引用了 UChronoMovementComponent::CreateChronoMovementComponent(), FCarlaActor::GetActor(), FCarlaActor::IsDormant(), NotAVehicle, Success , 以及 FCarlaActor::Vehicle.

+ 函数调用图:

◆ GetAckermannControllerSettings()

ECarlaServerResponse FVehicleActor::GetAckermannControllerSettings ( FAckermannControllerSettings & AckermannSettings)
finalvirtual

重载 FCarlaActor .

在文件 CarlaActor.cpp909 行定义.

引用了 FCarlaActor::ActorData, FCarlaActor::GetActor(), FCarlaActor::IsDormant(), NotAVehicle, Success , 以及 FCarlaActor::Vehicle.

+ 函数调用图:

◆ GetFailureState()

ECarlaServerResponse FVehicleActor::GetFailureState ( carla::rpc::VehicleFailureState & FailureState)
finalvirtual

重载 FCarlaActor .

在文件 CarlaActor.cpp666 行定义.

引用了 FCarlaActor::ActorData, FCarlaActor::GetActor(), FCarlaActor::IsDormant(), NotAVehicle, Success , 以及 FCarlaActor::Vehicle.

+ 函数调用图:

◆ GetPhysicsControl()

ECarlaServerResponse FVehicleActor::GetPhysicsControl ( FVehiclePhysicsControl & PhysicsControl)
finalvirtual

重载 FCarlaActor .

在文件 CarlaActor.cpp647 行定义.

引用了 FCarlaActor::ActorData, FCarlaActor::GetActor(), FCarlaActor::IsDormant(), NotAVehicle, PhysicsControl, Success , 以及 FCarlaActor::Vehicle.

+ 函数调用图:

◆ GetVehicleAckermannControl()

ECarlaServerResponse FVehicleActor::GetVehicleAckermannControl ( FVehicleAckermannControl & VehicleAckermannControl)
finalvirtual

重载 FCarlaActor .

在文件 CarlaActor.cpp890 行定义.

引用了 FCarlaActor::ActorData, FCarlaActor::GetActor(), FCarlaActor::IsDormant(), NotAVehicle, Success , 以及 FCarlaActor::Vehicle.

+ 函数调用图:

◆ GetVehicleControl()

ECarlaServerResponse FVehicleActor::GetVehicleControl ( FVehicleControl & VehicleControl)
finalvirtual

重载 FCarlaActor .

在文件 CarlaActor.cpp871 行定义.

引用了 FCarlaActor::ActorData, FCarlaActor::GetActor(), FCarlaActor::IsDormant(), NotAVehicle, Success , 以及 FCarlaActor::Vehicle.

+ 函数调用图:

◆ GetVehicleLightState()

ECarlaServerResponse FVehicleActor::GetVehicleLightState ( FVehicleLightState & LightState)
finalvirtual

重载 FCarlaActor .

在文件 CarlaActor.cpp685 行定义.

引用了 FCarlaActor::ActorData, FCarlaActor::GetActor(), FCarlaActor::IsDormant(), NotAVehicle, Success , 以及 FCarlaActor::Vehicle.

+ 函数调用图:

◆ GetVehicleTelemetryData()

ECarlaServerResponse FVehicleActor::GetVehicleTelemetryData ( FVehicleTelemetryData & TelemetryData)
finalvirtual

重载 FCarlaActor .

在文件 CarlaActor.cpp972 行定义.

引用了 FCarlaActor::GetActor(), FCarlaActor::IsDormant(), NotAVehicle, Success , 以及 FCarlaActor::Vehicle.

+ 函数调用图:

◆ GetWheelSteerAngle()

ECarlaServerResponse FVehicleActor::GetWheelSteerAngle ( const EVehicleWheelLocation & WheelLocation,
float & Angle )
virtual

重载 FCarlaActor .

在文件 CarlaActor.cpp792 行定义.

引用了 FCarlaActor::GetActor(), FCarlaActor::IsDormant(), NotAVehicle, Success , 以及 FCarlaActor::Vehicle.

+ 函数调用图:

◆ OpenVehicleDoor()

ECarlaServerResponse FVehicleActor::OpenVehicleDoor ( const EVehicleDoor DoorIdx)
finalvirtual

重载 FCarlaActor .

在文件 CarlaActor.cpp705 行定义.

引用了 FCarlaActor::GetActor(), FCarlaActor::IsDormant(), NotAVehicle, Success , 以及 FCarlaActor::Vehicle.

+ 函数调用图:

◆ RestorePhysXPhysics()

ECarlaServerResponse FVehicleActor::RestorePhysXPhysics ( )
virtual

重载 FCarlaActor .

在文件 CarlaActor.cpp1077 行定义.

引用了 UBaseCarlaMovementComponent::DisableSpecialPhysics(), FCarlaActor::GetActor(), FCarlaActor::IsDormant(), NotAVehicle, Success , 以及 FCarlaActor::Vehicle.

+ 函数调用图:

◆ SetActorAutopilot()

ECarlaServerResponse FVehicleActor::SetActorAutopilot ( bool bEnabled,
bool bKeepState = false )
finalvirtual

重载 FCarlaActor .

在文件 CarlaActor.cpp950 行定义.

引用了 AutoPilotNotSupported, FCarlaActor::GetActor(), FCarlaActor::IsDormant(), Success , 以及 FCarlaActor::Vehicle.

+ 函数调用图:

◆ SetActorSimulatePhysics()

ECarlaServerResponse FVehicleActor::SetActorSimulatePhysics ( bool bSimulatePhysics)
finalvirtual

重载 FCarlaActor .

在文件 CarlaActor.cpp811 行定义.

引用了 FCarlaActor::ActorData, FCarlaActor::GetActor(), FCarlaActor::IsDormant(), NotAVehicle , 以及 Success.

+ 函数调用图:

◆ SetVehicleLightState()

ECarlaServerResponse FVehicleActor::SetVehicleLightState ( const FVehicleLightState & LightState)
finalvirtual

重载 FCarlaActor .

在文件 CarlaActor.cpp754 行定义.

引用了 FCarlaActor::ActorData, FCarlaActor::GetActor(), FCarlaActor::IsDormant(), NotAVehicle, Success , 以及 FCarlaActor::Vehicle.

+ 函数调用图:

◆ SetWheelSteerDirection()

ECarlaServerResponse FVehicleActor::SetWheelSteerDirection ( const EVehicleWheelLocation & WheelLocation,
float AngleInDeg )
finalvirtual

重载 FCarlaActor .

在文件 CarlaActor.cpp775 行定义.

引用了 FCarlaActor::GetActor(), FCarlaActor::IsDormant(), NotAVehicle, Success , 以及 FCarlaActor::Vehicle.

+ 函数调用图:

◆ ShowVehicleDebugTelemetry()

ECarlaServerResponse FVehicleActor::ShowVehicleDebugTelemetry ( bool bEnabled)
finalvirtual

重载 FCarlaActor .

在文件 CarlaActor.cpp991 行定义.

引用了 FCarlaActor::GetActor(), FCarlaActor::IsDormant(), NotAVehicle, Success , 以及 FCarlaActor::Vehicle.

+ 函数调用图:

◆ UseCarSimRoad()

ECarlaServerResponse FVehicleActor::UseCarSimRoad ( bool bEnabled)
finalvirtual

重载 FCarlaActor .

在文件 CarlaActor.cpp1025 行定义.

引用了 CarSimPluginNotEnabled, FCarlaActor::GetActor(), FCarlaActor::IsDormant(), NotAVehicle, Success, UCarSimManagerComponent::UseCarSimRoad() , 以及 FCarlaActor::Vehicle.

+ 函数调用图:

该类的文档由以下文件生成: