CARLA
 
载入中...
搜索中...
未找到
Public 成员函数 | Public 属性 | Private 成员函数 | Private 属性 | 友元 | 所有成员列表
UCarlaEpisode类 参考

A simulation episode. 更多...

#include <CarlaEpisode.h>

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

Public 成员函数

void ApplySettings (const FEpisodeSettings &Settings)
 
void AttachActors (AActor *Child, AActor *Parent, EAttachmentType InAttachmentType=EAttachmentType::Rigid, const FString &SocketName="")
 Attach Child to Parent.
 
bool DestroyActor (AActor *Actor)
 
bool DestroyActor (carla::rpc::ActorId ActorId)
 
FCarlaActorFindCarlaActor (AActor *Actor) const
 Find the actor view of Actor.
 
FCarlaActorFindCarlaActor (FCarlaActor::IdType ActorId)
 Find a Carla actor by id.
 
const TArray< FActorDefinition > & GetActorDefinitions () const
 Return the list of actor definitions that are available to be spawned this episode.
 
FString GetActorDescriptionFromStream (carla::streaming::detail::stream_id_type StreamId)
 Get the description of the Carla actor (sensor) using specific stream id.
 
FActorRegistryGetActorRegistry ()
 
const FActorRegistryGetActorRegistry () const
 
FIntVector GetCurrentMapOrigin () const
 
double GetElapsedGameTime () const
 Game seconds since the start of this episode.
 
FFrameDataGetFrameData ()
 
const carla::geom::GeoLocationGetGeoReference () const
 Return the GeoLocation point of the map loaded
 
auto GetId () const
 Return the unique id of this episode.
 
const FString & GetMapName () const
 Return the name of the map loaded in this episode.
 
TArray< FTransform > GetRecommendedSpawnPoints () const
 Return the list of recommended spawn points for vehicles.
 
ACarlaRecorderGetRecorder () const
 
CarlaReplayerGetReplayer () const
 
FSensorManagerGetSensorManager ()
 
const FEpisodeSettingsGetSettings () const
 
APawnGetSpectatorPawn () const
 
double GetVisualGameTime () const
 Visual game seconds
 
AWeatherGetWeather () const
 
bool LoadNewEpisode (const FString &MapString, bool ResetSettings=true)
 Load a new map and start a new episode.
 
bool LoadNewOpendriveEpisode (const FString &OpenDriveString, const carla::rpc::OpendriveGenerationParameters &Params)
 Load a new map generating the mesh from OpenDRIVE data and start a new episode.
 
void PutActorToSleep (carla::rpc::ActorId ActorId)
 
AActorReSpawnActorWithInfo (const FTransform &Transform, FActorDescription thisActorDescription)
 Spawns an actor based on ActorDescription at Transform.
 
carla::rpc::Actor SerializeActor (AActor *Actor) const
 Create a serializable object describing the actor.
 
carla::rpc::Actor SerializeActor (FCarlaActor *CarlaActor) const
 Create a serializable object describing the actor.
 
void SetCurrentMapOrigin (const FIntVector &NewOrigin)
 
void SetRecorder (ACarlaRecorder *Rec)
 
void SetVisualGameTime (double Time)
 
AActorSpawnActor (const FTransform &Transform, FActorDescription ActorDescription)
 Spawns an actor based on ActorDescription at Transform.
 
TPair< EActorSpawnResultStatus, FCarlaActor * > SpawnActorWithInfo (const FTransform &Transform, FActorDescription thisActorDescription, FCarlaActor::IdType DesiredId=0)
 Spawns an actor based on ActorDescription at Transform.
 
std::string StartRecorder (std::string name, bool AdditionalData)
 
 UCarlaEpisode (const FObjectInitializer &ObjectInitializer)
 
void WakeActorUp (carla::rpc::ActorId ActorId)
 

Public 属性

bool bIsPrimaryServer = true
 

Private 成员函数

void EndPlay ()
 
void InitializeAtBeginPlay ()
 
void RegisterActorFactory (ACarlaActorFactory &ActorFactory)
 
bool SetActorCollisions (FCarlaActor &CarlaActor, bool bEnabled)
 
bool SetActorDead (FCarlaActor &CarlaActor)
 
bool SetActorSimulatePhysics (FCarlaActor &CarlaActor, bool bEnabled)
 
void TickTimers (float DeltaSeconds)
 
std::pair< int, FCarlaActor & > TryToCreateReplayerActor (FVector &Location, FVector &Rotation, FActorDescription &ActorDesc, unsigned int desiredId)
 

Private 属性

UActorDispatcherActorDispatcher = nullptr
 
FIntVector CurrentMapOrigin
 
double ElapsedGameTime = 0.0
 
FEpisodeSettings EpisodeSettings
 
FFrameData FrameData
 
const uint64 Id = 0u
 
carla::geom::GeoLocation MapGeoReference
 
FString MapName
 
UMaterialParameterCollectionInstance * MaterialParameters = nullptr
 
ACarlaRecorderRecorder = nullptr
 
FSensorManager SensorManager
 
APawnSpectator = nullptr
 
double VisualGameTime = 0.0
 
AWeatherWeather = nullptr
 

友元

class ACarlaGameModeBase
 
class FCarlaEngine
 

详细描述

A simulation episode.

Each time the level is restarted a new episode is created.

在文件 CarlaEpisode.h38 行定义.

构造及析构函数说明

◆ UCarlaEpisode()

UCarlaEpisode::UCarlaEpisode ( const FObjectInitializer & ObjectInitializer)

在文件 CarlaEpisode.cpp56 行定义.

引用了 ActorDispatcher, FrameData , 以及 FFrameData::SetEpisode().

+ 函数调用图:

成员函数说明

◆ ApplySettings()

void UCarlaEpisode::ApplySettings ( const FEpisodeSettings & Settings)

在文件 CarlaEpisode.cpp230 行定义.

引用了 FEpisodeSettings::ActorActiveDistance, EpisodeSettings, FCarlaStaticDelegates::OnEpisodeSettingsChange , 以及 FEpisodeSettings::TileStreamingDistance.

被这些函数引用 FCarlaServer::FPimpl::BindActions(), LoadNewEpisode(), FCarlaEngine::NotifyBeginEpisode() , 以及 FCarlaEngine::OnPreTick().

+ 这是这个函数的调用关系图:

◆ AttachActors()

void UCarlaEpisode::AttachActors ( AActor * Child,
AActor * Parent,
EAttachmentType InAttachmentType = EAttachmentType::Rigid,
const FString & SocketName = "" )

Attach Child to Parent.

前置条件
Actors cannot be null.

在文件 CarlaEpisode.cpp294 行定义.

引用了 FFrameData::AddEvent(), ACarlaRecorder::AddEvent(), UActorAttacher::AttachActors(), bIsPrimaryServer, CurrentMapOrigin, FindCarlaActor(), FCarlaActor::GetActorId(), GetFrameData(), ACarlaRecorder::IsEnabled() , 以及 Recorder.

被这些函数引用 FCarlaServer::FPimpl::BindActions(), FFrameData::ProcessReplayerEventParent(), CarlaReplayerHelper::ProcessReplayerEventParent() , 以及 FActorRegistry::WakeActorUp().

+ 函数调用图:
+ 这是这个函数的调用关系图:

◆ DestroyActor() [1/2]

bool UCarlaEpisode::DestroyActor ( AActor * Actor)
inline

在文件 CarlaEpisode.h253 行定义.

引用了 FCarlaActor::GetActorId().

被这些函数引用 FCarlaServer::FPimpl::BindActions(), FFrameData::ProcessReplayerEventDel() , 以及 CarlaReplayerHelper::ProcessReplayerEventDel().

+ 函数调用图:
+ 这是这个函数的调用关系图:

◆ DestroyActor() [2/2]

bool UCarlaEpisode::DestroyActor ( carla::rpc::ActorId ActorId)
inline

在文件 CarlaEpisode.h264 行定义.

◆ EndPlay()

void UCarlaEpisode::EndPlay ( void )
private

在文件 CarlaEpisode.cpp406 行定义.

引用了 ACarlaRecorder::GetReplayer(), CarlaReplayer::IsEnabled(), Recorder, CarlaReplayer::Stop() , 以及 ACarlaRecorder::Stop().

被这些函数引用 ACarlaGameModeBase::EndPlay().

+ 函数调用图:
+ 这是这个函数的调用关系图:

◆ FindCarlaActor() [1/2]

FCarlaActor * UCarlaEpisode::FindCarlaActor ( AActor * Actor) const
inline

Find the actor view of Actor.

If the actor is not found or is pending kill, the returned view is invalid.

在文件 CarlaEpisode.h182 行定义.

◆ FindCarlaActor() [2/2]

FCarlaActor * UCarlaEpisode::FindCarlaActor ( FCarlaActor::IdType ActorId)
inline

Find a Carla actor by id.

If the actor is not found or is pending kill, the returned view is invalid.

在文件 CarlaEpisode.h173 行定义.

被这些函数引用 AttachActors(), FCarlaServer::FPimpl::BindActions(), ALargeMapManager::CheckActiveActors(), ALargeMapManager::CheckDormantActors(), ALargeMapManager::ConvertDormantToActiveActors(), FFrameData::CreateOrReuseActor(), ACarlaRecorder::CreateRecorderEventAdd(), FFrameData::CreateRecorderEventAdd(), CaService::GetStationType(), ALargeMapManager::OnActorDestroyed(), FFrameData::ProcessReplayerAnimBiker(), CarlaReplayerHelper::ProcessReplayerAnimBiker(), FFrameData::ProcessReplayerAnimVehicle(), CarlaReplayerHelper::ProcessReplayerAnimVehicle(), FFrameData::ProcessReplayerAnimVehicleWheels(), CarlaReplayerHelper::ProcessReplayerAnimVehicleWheels(), CarlaReplayerHelper::ProcessReplayerDoorVehicle(), FFrameData::ProcessReplayerEventDel(), CarlaReplayerHelper::ProcessReplayerEventDel(), FFrameData::ProcessReplayerEventParent(), CarlaReplayerHelper::ProcessReplayerEventParent(), FFrameData::ProcessReplayerLightVehicle(), CarlaReplayerHelper::ProcessReplayerLightVehicle(), FFrameData::ProcessReplayerPosition(), CarlaReplayerHelper::ProcessReplayerPosition(), FFrameData::ProcessReplayerStateTrafficLight(), CarlaReplayerHelper::ProcessReplayerStateTrafficLight(), CarlaReplayerHelper::ProcessReplayerWalkerBones(), SerializeActor(), FFrameData::SetCameraPosition(), CarlaReplayerHelper::SetCameraPosition(), ACustomV2XSensor::SetOwner(), CaService::SetOwner(), FFrameData::SetWalkerSpeed(), CarlaReplayerHelper::SetWalkerSpeed() , 以及 CarlaReplayerHelper::TryToCreateReplayerActor().

+ 这是这个函数的调用关系图:

◆ GetActorDefinitions()

const TArray< FActorDefinition > & UCarlaEpisode::GetActorDefinitions ( ) const
inline

Return the list of actor definitions that are available to be spawned this episode.

在文件 CarlaEpisode.h124 行定义.

被这些函数引用 FCarlaServer::FPimpl::BindActions() , 以及 InitializeAtBeginPlay().

+ 这是这个函数的调用关系图:

◆ GetActorDescriptionFromStream()

FString UCarlaEpisode::GetActorDescriptionFromStream ( carla::streaming::detail::stream_id_type StreamId)
inline

Get the description of the Carla actor (sensor) using specific stream id.

If the actor is not found returns an empty string

在文件 CarlaEpisode.h190 行定义.

被这些函数引用 FCarlaServer::FPimpl::BindActions().

+ 这是这个函数的调用关系图:

◆ GetActorRegistry() [1/2]

FActorRegistry & UCarlaEpisode::GetActorRegistry ( )
inline

在文件 CarlaEpisode.h160 行定义.

◆ GetActorRegistry() [2/2]

const FActorRegistry & UCarlaEpisode::GetActorRegistry ( ) const
inline

◆ GetCurrentMapOrigin()

FIntVector UCarlaEpisode::GetCurrentMapOrigin ( ) const
inline

在文件 CarlaEpisode.h323 行定义.

被这些函数引用 FWorldObserver_Serialize(), FActorData::GetLocalTransform() , 以及 FActorData::RecordActorData().

+ 这是这个函数的调用关系图:

◆ GetElapsedGameTime()

double UCarlaEpisode::GetElapsedGameTime ( ) const
inline

Game seconds since the start of this episode.

在文件 CarlaEpisode.h99 行定义.

被这些函数引用 CaService::AddCooperativeAwarenessMessage(), FWorldObserver::BroadcastTick(), CaService::SetOwner() , 以及 CaService::Trigger().

+ 这是这个函数的调用关系图:

◆ GetFrameData()

FFrameData & UCarlaEpisode::GetFrameData ( )
inline

在文件 CarlaEpisode.h327 行定义.

被这些函数引用 AttachActors(), FCarlaEngine::NotifyInitGame(), FCarlaEngine::OnPostTick() , 以及 SpawnActorWithInfo().

+ 这是这个函数的调用关系图:

◆ GetGeoReference()

const carla::geom::GeoLocation & UCarlaEpisode::GetGeoReference ( ) const
inline

Return the GeoLocation point of the map loaded

在文件 CarlaEpisode.h134 行定义.

被这些函数引用 AGnssSensor::BeginPlay() , 以及 CaService::SetOwner().

+ 这是这个函数的调用关系图:

◆ GetId()

auto UCarlaEpisode::GetId ( ) const
inline

Return the unique id of this episode.

在文件 CarlaEpisode.h86 行定义.

被这些函数引用 FCarlaServer::FPimpl::BindActions() , 以及 FWorldObserver_Serialize().

+ 这是这个函数的调用关系图:

◆ GetMapName()

const FString & UCarlaEpisode::GetMapName ( ) const
inline

Return the name of the map loaded in this episode.

在文件 CarlaEpisode.h93 行定义.

被这些函数引用 FCarlaServer::FPimpl::BindActions(), LoadNewEpisode(), FCarlaServer::NotifyBeginEpisode() , 以及 CarlaReplayer::ReplayFile().

+ 这是这个函数的调用关系图:

◆ GetRecommendedSpawnPoints()

TArray< FTransform > UCarlaEpisode::GetRecommendedSpawnPoints ( ) const

Return the list of recommended spawn points for vehicles.

在文件 CarlaEpisode.cpp241 行定义.

引用了 UCarlaStatics::GetGameMode() , 以及 ACarlaGameModeBase::GetSpawnPointsTransforms().

被这些函数引用 FCarlaServer::FPimpl::BindActions().

+ 函数调用图:
+ 这是这个函数的调用关系图:

◆ GetRecorder()

ACarlaRecorder * UCarlaEpisode::GetRecorder ( ) const
inline

在文件 CarlaEpisode.h306 行定义.

被这些函数引用 FCarlaServer::FPimpl::BindActions() , 以及 FCarlaEngine::OnPostTick().

+ 这是这个函数的调用关系图:

◆ GetReplayer()

CarlaReplayer * UCarlaEpisode::GetReplayer ( ) const
inline

在文件 CarlaEpisode.h316 行定义.

被这些函数引用 ACarlaRecorder::Ticking().

+ 这是这个函数的调用关系图:

◆ GetSensorManager()

FSensorManager & UCarlaEpisode::GetSensorManager ( )
inline

在文件 CarlaEpisode.h329 行定义.

被这些函数引用 ASensor::BeginPlay(), ASensor::EndPlay() , 以及 FCarlaEngine::OnPostTick().

+ 这是这个函数的调用关系图:

◆ GetSettings()

const FEpisodeSettings & UCarlaEpisode::GetSettings ( ) const
inline

在文件 CarlaEpisode.h73 行定义.

被这些函数引用 ACarlaGameModeBase::BeginPlay() , 以及 FCarlaServer::FPimpl::BindActions().

+ 这是这个函数的调用关系图:

◆ GetSpectatorPawn()

APawn * UCarlaEpisode::GetSpectatorPawn ( ) const
inline

在文件 CarlaEpisode.h144 行定义.

被这些函数引用 FCarlaServer::FPimpl::BindActions(), FFrameData::SetCameraPosition() , 以及 CarlaReplayerHelper::SetCameraPosition().

+ 这是这个函数的调用关系图:

◆ GetVisualGameTime()

double UCarlaEpisode::GetVisualGameTime ( ) const
inline

Visual game seconds

在文件 CarlaEpisode.h105 行定义.

被这些函数引用 ACarlaRecorder::Ticking().

+ 这是这个函数的调用关系图:

◆ GetWeather()

AWeather * UCarlaEpisode::GetWeather ( ) const
inline

在文件 CarlaEpisode.h150 行定义.

被这些函数引用 ASceneCaptureSensor::BeginPlay() , 以及 FCarlaServer::FPimpl::BindActions().

+ 这是这个函数的调用关系图:

◆ InitializeAtBeginPlay()

void UCarlaEpisode::InitializeAtBeginPlay ( )
private

在文件 CarlaEpisode.cpp323 行定义.

引用了 ActorDispatcher, FActorDescription::Class, Float, GetActorDefinitions(), FActorDescription::Id, MaterialParameters, UActorDispatcher::RegisterActor(), Spectator, String, UCarlaEpisode_GetTrafficSignId(), FActorDescription::UId , 以及 FActorDescription::Variations.

被这些函数引用 ACarlaGameModeBase::BeginPlay().

+ 函数调用图:
+ 这是这个函数的调用关系图:

◆ LoadNewEpisode()

bool UCarlaEpisode::LoadNewEpisode ( const FString & MapString,
bool ResetSettings = true )

Load a new map and start a new episode.

If MapString is empty, the current map is reloaded.

在文件 CarlaEpisode.cpp64 行定义.

引用了 ApplySettings(), bIsPrimaryServer, UCarlaGameInstance::GetCarlaEngine(), UCarlaStatics::GetGameInstance(), GetMapName(), FCarlaEngine::GetSecondaryServer() , 以及 LoadNewEpisode().

被这些函数引用 FCarlaServer::FPimpl::BindActions(), LoadNewEpisode() , 以及 CarlaReplayer::ReplayFile().

+ 函数调用图:
+ 这是这个函数的调用关系图:

◆ LoadNewOpendriveEpisode()

bool UCarlaEpisode::LoadNewOpendriveEpisode ( const FString & OpenDriveString,
const carla::rpc::OpendriveGenerationParameters & Params )

Load a new map generating the mesh from OpenDRIVE data and start a new episode.

If MapString is empty, it fails.

待办事项
this can take too long to finish, clients need a method to know if the navigation is available or not.

在文件 CarlaEpisode.cpp147 行定义.

引用了 BuildRecastBuilderFile(), carla::rpc::OpendriveGenerationParameters::enable_pedestrian_navigation, UCarlaStatics::GetGameInstance(), carla::opendrive::OpenDriveParser::Load(), carla::log_warning(), UCarlaGameInstance::SetOpendriveGenerationParameters() , 以及 carla::rpc::OpendriveGenerationParameters::vertex_distance.

被这些函数引用 FCarlaServer::FPimpl::BindActions().

+ 函数调用图:
+ 这是这个函数的调用关系图:

◆ PutActorToSleep()

void UCarlaEpisode::PutActorToSleep ( carla::rpc::ActorId ActorId)
inline

在文件 CarlaEpisode.h281 行定义.

被这些函数引用 FCarlaServer::FPimpl::BindActions(), ALargeMapManager::ConvertActiveToDormantActors(), FFrameData::ProcessReplayerEventParent() , 以及 CarlaReplayerHelper::ProcessReplayerEventParent().

+ 这是这个函数的调用关系图:

◆ RegisterActorFactory()

void UCarlaEpisode::RegisterActorFactory ( ACarlaActorFactory & ActorFactory)
inlineprivate

在文件 CarlaEpisode.h342 行定义.

被这些函数引用 ACarlaGameModeBase::SpawnActorFactories().

+ 这是这个函数的调用关系图:

◆ ReSpawnActorWithInfo()

AActor * UCarlaEpisode::ReSpawnActorWithInfo ( const FTransform & Transform,
FActorDescription thisActorDescription )
inline

Spawns an actor based on ActorDescription at Transform.

返回
the actor to be spawned

在文件 CarlaEpisode.h213 行定义.

被这些函数引用 FActorData::RespawnActor().

+ 这是这个函数的调用关系图:

◆ SerializeActor() [1/2]

carla::rpc::Actor UCarlaEpisode::SerializeActor ( AActor * Actor) const

Create a serializable object describing the actor.

Can be used to serialized actors that are not in the registry

在文件 CarlaEpisode.cpp267 行定义.

引用了 carla::rpc::Actor::bounding_box, CarlaGetRelevantTagAsString(), carla::rpc::Actor::description, FindCarlaActor(), UBoundingBoxCalculator::GetActorBoundingBox(), ATagger::GetTagsOfTaggedActor(), carla::rpc::Actor::id, FActorDescription::Id, carla::rpc::Actor::semantic_tags , 以及 SerializeActor().

+ 函数调用图:

◆ SerializeActor() [2/2]

carla::rpc::Actor UCarlaEpisode::SerializeActor ( FCarlaActor * CarlaActor) const

Create a serializable object describing the actor.

在文件 CarlaEpisode.cpp248 行定义.

引用了 FCarlaActor::GetActorInfo(), FCarlaActor::GetParent() , 以及 FActorInfo::SerializedData.

被这些函数引用 FCarlaServer::FPimpl::BindActions(), AObstacleDetectionSensor::OnObstacleDetectionEvent() , 以及 SerializeActor().

+ 函数调用图:
+ 这是这个函数的调用关系图:

◆ SetActorCollisions()

bool UCarlaEpisode::SetActorCollisions ( FCarlaActor & CarlaActor,
bool bEnabled )
private

◆ SetActorDead()

bool UCarlaEpisode::SetActorDead ( FCarlaActor & CarlaActor)
private

◆ SetActorSimulatePhysics()

bool UCarlaEpisode::SetActorSimulatePhysics ( FCarlaActor & CarlaActor,
bool bEnabled )
private

◆ SetCurrentMapOrigin()

void UCarlaEpisode::SetCurrentMapOrigin ( const FIntVector & NewOrigin)
inline

在文件 CarlaEpisode.h325 行定义.

被这些函数引用 ALargeMapManager::PostWorldOriginOffset().

+ 这是这个函数的调用关系图:

◆ SetRecorder()

void UCarlaEpisode::SetRecorder ( ACarlaRecorder * Rec)
inline

在文件 CarlaEpisode.h311 行定义.

被这些函数引用 ACarlaGameModeBase::InitGame() , 以及 FCarlaEngine::NotifyBeginEpisode().

+ 这是这个函数的调用关系图:

◆ SetVisualGameTime()

void UCarlaEpisode::SetVisualGameTime ( double Time)
inline

在文件 CarlaEpisode.h110 行定义.

被这些函数引用 CarlaReplayer::ProcessVisualTime().

+ 这是这个函数的调用关系图:

◆ SpawnActor()

AActor * UCarlaEpisode::SpawnActor ( const FTransform & Transform,
FActorDescription ActorDescription )
inline

Spawns an actor based on ActorDescription at Transform.

To properly despawn an actor created with this function call DestroyActor.

返回
nullptr on failure.
注解
Special overload for blueprints.

在文件 CarlaEpisode.h234 行定义.

被这些函数引用 FTrafficSignData::RespawnActor() , 以及 FTrafficLightData::RespawnActor().

+ 这是这个函数的调用关系图:

◆ SpawnActorWithInfo()

TPair< EActorSpawnResultStatus, FCarlaActor * > UCarlaEpisode::SpawnActorWithInfo ( const FTransform & Transform,
FActorDescription thisActorDescription,
FCarlaActor::IdType DesiredId = 0 )

Spawns an actor based on ActorDescription at Transform.

To properly despawn an actor created with this function call DestroyActor.

返回
A pair containing the result of the spawn function and a view over the actor and its properties. If the status is different of Success the view is invalid.

在文件 CarlaEpisode.cpp435 行定义.

引用了 ActorDispatcher, bIsPrimaryServer, ACarlaRecorder::CreateRecorderEventAdd(), FFrameData::CreateRecorderEventAdd(), GetFrameData(), UCarlaStatics::GetLargeMapManager(), ALargeMapManager::GlobalToLocalTransform(), ACarlaRecorder::IsEnabled(), Recorder , 以及 UActorDispatcher::SpawnActor().

被这些函数引用 FCarlaServer::FPimpl::BindActions(), FFrameData::CreateOrReuseActor() , 以及 CarlaReplayerHelper::TryToCreateReplayerActor().

+ 函数调用图:
+ 这是这个函数的调用关系图:

◆ StartRecorder()

std::string UCarlaEpisode::StartRecorder ( std::string name,
bool AdditionalData )

在文件 CarlaEpisode.cpp419 行定义.

引用了 MapName, Recorder , 以及 ACarlaRecorder::Start().

被这些函数引用 FCarlaServer::FPimpl::BindActions().

+ 函数调用图:
+ 这是这个函数的调用关系图:

◆ TickTimers()

void UCarlaEpisode::TickTimers ( float DeltaSeconds)
inlineprivate

在文件 CarlaEpisode.h359 行定义.

引用了 carla::ros2::ROS2::GetInstance().

被这些函数引用 FCarlaEngine::OnPreTick().

+ 函数调用图:
+ 这是这个函数的调用关系图:

◆ TryToCreateReplayerActor()

std::pair< int, FCarlaActor & > UCarlaEpisode::TryToCreateReplayerActor ( FVector & Location,
FVector & Rotation,
FActorDescription & ActorDesc,
unsigned int desiredId )
private

◆ WakeActorUp()

void UCarlaEpisode::WakeActorUp ( carla::rpc::ActorId ActorId)
inline

在文件 CarlaEpisode.h286 行定义.

被这些函数引用 ALargeMapManager::ConvertDormantToActiveActors().

+ 这是这个函数的调用关系图:

友元及相关函数文档

◆ ACarlaGameModeBase

friend class ACarlaGameModeBase
friend

在文件 CarlaEpisode.h335 行定义.

◆ FCarlaEngine

friend class FCarlaEngine
friend

在文件 CarlaEpisode.h336 行定义.

类成员变量说明

◆ ActorDispatcher

UActorDispatcher* UCarlaEpisode::ActorDispatcher = nullptr
private

在文件 CarlaEpisode.h386 行定义.

被这些函数引用 InitializeAtBeginPlay(), SpawnActorWithInfo() , 以及 UCarlaEpisode().

◆ bIsPrimaryServer

bool UCarlaEpisode::bIsPrimaryServer = true

◆ CurrentMapOrigin

FIntVector UCarlaEpisode::CurrentMapOrigin
private

在文件 CarlaEpisode.h401 行定义.

被这些函数引用 AttachActors().

◆ ElapsedGameTime

double UCarlaEpisode::ElapsedGameTime = 0.0
private

在文件 CarlaEpisode.h374 行定义.

◆ EpisodeSettings

FEpisodeSettings UCarlaEpisode::EpisodeSettings
private

在文件 CarlaEpisode.h383 行定义.

被这些函数引用 ApplySettings() , 以及 FCarlaEngine::NotifyBeginEpisode().

◆ FrameData

FFrameData UCarlaEpisode::FrameData
private

在文件 CarlaEpisode.h403 行定义.

被这些函数引用 UCarlaEpisode().

◆ Id

const uint64 UCarlaEpisode::Id = 0u
private

在文件 CarlaEpisode.h371 行定义.

◆ MapGeoReference

carla::geom::GeoLocation UCarlaEpisode::MapGeoReference
private

在文件 CarlaEpisode.h399 行定义.

被这些函数引用 ACarlaGameModeBase::ParseOpenDrive().

◆ MapName

FString UCarlaEpisode::MapName
private

在文件 CarlaEpisode.h380 行定义.

被这些函数引用 ACarlaGameModeBase::InitGame() , 以及 StartRecorder().

◆ MaterialParameters

UMaterialParameterCollectionInstance* UCarlaEpisode::MaterialParameters = nullptr
private

在文件 CarlaEpisode.h395 行定义.

被这些函数引用 InitializeAtBeginPlay().

◆ Recorder

ACarlaRecorder* UCarlaEpisode::Recorder = nullptr
private

在文件 CarlaEpisode.h397 行定义.

被这些函数引用 AttachActors(), EndPlay(), SpawnActorWithInfo() , 以及 StartRecorder().

◆ SensorManager

FSensorManager UCarlaEpisode::SensorManager
private

在文件 CarlaEpisode.h405 行定义.

◆ Spectator

APawn* UCarlaEpisode::Spectator = nullptr
private

在文件 CarlaEpisode.h389 行定义.

被这些函数引用 InitializeAtBeginPlay().

◆ VisualGameTime

double UCarlaEpisode::VisualGameTime = 0.0
private

在文件 CarlaEpisode.h377 行定义.

◆ Weather

AWeather* UCarlaEpisode::Weather = nullptr
private

在文件 CarlaEpisode.h392 行定义.

被这些函数引用 ACarlaGameModeBase::BeginPlay() , 以及 ACarlaGameModeBase::InitGame().


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