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

仿真记录器 更多...

#include <CarlaRecorder.h>

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

Public 成员函数

 ACarlaRecorder (const FObjectInitializer &InObjectInitializer)
 
 ACarlaRecorder (void)
 
void AddActorBones (FCarlaActor *CarlaActor)
 
void AddAnimBiker (const CarlaRecorderAnimBiker &Biker)
 
void AddAnimVehicle (const CarlaRecorderAnimVehicle &Vehicle)
 
void AddAnimVehicleWheels (const CarlaRecorderAnimWheels &VehicleWheels)
 
void AddAnimWalker (const CarlaRecorderAnimWalker &Walker)
 
void AddBoundingBox (const CarlaRecorderActorBoundingBox &ActorBoundingBox)
 
void AddCollision (AActor *Actor1, AActor *Actor2)
 
void AddDoorVehicle (const CarlaRecorderDoorVehicle &DoorVehicle)
 
void AddEvent (const CarlaRecorderEventAdd &Event)
 
void AddEvent (const CarlaRecorderEventDel &Event)
 
void AddEvent (const CarlaRecorderEventParent &Event)
 
void AddEventLightSceneChanged (const UCarlaLight *Light)
 
void AddKinematics (const CarlaRecorderKinematics &ActorKinematics)
 
void AddLightVehicle (const CarlaRecorderLightVehicle &LightVehicle)
 
void AddPhysicsControl (const ACarlaWheeledVehicle &Vehicle)
 
void AddPosition (const CarlaRecorderPosition &Position)
 
void AddState (const CarlaRecorderStateTrafficLight &State)
 
void AddTrafficLightTime (const ATrafficLightBase &TrafficLight)
 
void AddTriggerVolume (const ATrafficSignBase &TrafficSign)
 
void AddVehicleDoor (const ACarlaWheeledVehicle &Vehicle, const EVehicleDoor SDoors, bool bIsOpen)
 
void Clear (void)
 
void CreateRecorderEventAdd (uint32_t DatabaseId, uint8_t Type, const FTransform &Transform, FActorDescription ActorDescription)
 
void Disable (void)
 
void Enable (void)
 
CarlaReplayer * GetReplayer (void)
 
bool IsEnabled (void)
 
std::string ReplayFile (std::string Name, double TimeStart, double Duration, uint32_t FollowId, bool ReplaySensors)
 
void SetEpisode (UCarlaEpisode *ThisEpisode)
 
void SetReplayerIgnoreHero (bool IgnoreHero)
 
void SetReplayerIgnoreSpectator (bool IgnoreSpectator)
 
void SetReplayerTimeFactor (double TimeFactor)
 
std::string ShowFileActorsBlocked (std::string Name, double MinTime=30, double MinDistance=10)
 
std::string ShowFileCollisions (std::string Name, char Type1, char Type2)
 
std::string ShowFileInfo (std::string Name, bool bShowAll=false)
 
std::string Start (std::string Name, FString MapName, bool AdditionalData=false)
 
void Stop (void)
 
void StopReplayer (bool KeepActors=false)
 
void Ticking (float DeltaSeconds)
 
void Write (double DeltaSeconds)
 

Private 成员函数

void AddActorBoundingBox (FCarlaActor *CarlaActor)
 
void AddActorKinematics (FCarlaActor *CarlaActor)
 
void AddActorPosition (FCarlaActor *CarlaActor)
 
void AddBikerAnimation (FCarlaActor *CarlaActor)
 
void AddExistingActors (void)
 
void AddTrafficLightState (FCarlaActor *CarlaActor)
 
void AddVehicleAnimation (FCarlaActor *CarlaActor)
 
void AddVehicleLight (FCarlaActor *CarlaActor)
 
void AddVehicleWheelsAnimation (FCarlaActor *CarlaActor)
 
void AddWalkerAnimation (FCarlaActor *CarlaActor)
 

Private 属性

bool bAdditionalData = false
 
CarlaRecorderAnimBikers Bikers
 
CarlaRecorderActorBoundingBoxes BoundingBoxes
 
CarlaRecorderCollisions Collisions
 
CarlaRecorderDoorVehicles DoorVehicles
 
bool Enabled
 
UCarlaEpisode * Episode = nullptr
 
CarlaRecorderEventsAdd EventsAdd
 
CarlaRecorderEventsDel EventsDel
 
CarlaRecorderEventsParent EventsParent
 
std::ofstream File
 
CarlaRecorderFrames Frames
 
CarlaRecorderInfo Info
 
CarlaRecorderActorsKinematics Kinematics
 
CarlaRecorderLightScenes LightScenes
 
CarlaRecorderLightVehicles LightVehicles
 
uint32_t NextCollisionId = 0
 
CarlaRecorderPhysicsControls PhysicsControls
 
CarlaRecorderPlatformTime PlatformTime
 
CarlaRecorderPositions Positions
 
CarlaRecorderQuery Query
 
CarlaReplayer Replayer
 
CarlaRecorderStates States
 
CarlaRecorderTrafficLightTimes TrafficLightTimes
 
CarlaRecorderActorTriggerVolumes TriggerVolumes
 
CarlaRecorderAnimVehicles Vehicles
 
CarlaRecorderVisualTime VisualTime
 
CarlaRecorderAnimWalkers Walkers
 
CarlaRecorderWalkersBones WalkersBones
 
CarlaRecorderAnimVehicleWheels Wheels
 

详细描述

仿真记录器

在文件 CarlaRecorder.h 第 79 行定义.

构造及析构函数说明

◆ ACarlaRecorder() [1/2]

ACarlaRecorder::ACarlaRecorder ( void  )

在文件 CarlaRecorder.cpp 第 33 行定义.

引用了 Disable().

+ 函数调用图:

◆ ACarlaRecorder() [2/2]

ACarlaRecorder::ACarlaRecorder ( const FObjectInitializer &  InObjectInitializer)

在文件 CarlaRecorder.cpp 第 39 行定义.

引用了 Disable().

+ 函数调用图:

成员函数说明

◆ AddActorBones()

void ACarlaRecorder::AddActorBones ( FCarlaActor *  CarlaActor)

在文件 CarlaRecorder.cpp 第 394 行定义.

引用了 CarlaRecorderWalkersBones::Add(), CarlaRecorderWalkerBones::Bones, FWalkerBoneControlOut::BoneTransforms, CarlaRecorderWalkerBones::DatabaseId, FCarlaActor::GetActorId(), FCarlaActor::GetBonesTransform() , 以及 WalkersBones.

被这些函数引用 Ticking().

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

◆ AddActorBoundingBox()

void ACarlaRecorder::AddActorBoundingBox ( FCarlaActor *  CarlaActor)
private

在文件 CarlaRecorder.cpp 第 333 行定义.

引用了 AddBoundingBox(), FActorInfo::BoundingBox, BoundingBox, FCarlaActor::GetActorId() , 以及 FCarlaActor::GetActorInfo().

被这些函数引用 CreateRecorderEventAdd().

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

◆ AddActorKinematics()

void ACarlaRecorder::AddActorKinematics ( FCarlaActor *  CarlaActor)
private

在文件 CarlaRecorder.cpp 第 316 行定义.

引用了 AddKinematics(), FCarlaActor::GetActorAngularVelocity(), FCarlaActor::GetActorId() , 以及 FCarlaActor::GetActorVelocity().

被这些函数引用 Ticking().

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

◆ AddActorPosition()

void ACarlaRecorder::AddActorPosition ( FCarlaActor *  CarlaActor)
private

在文件 CarlaRecorder.cpp 第 168 行定义.

引用了 AddPosition(), FCarlaActor::GetActorGlobalTransform() , 以及 FCarlaActor::GetActorId().

被这些函数引用 Ticking().

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

◆ AddAnimBiker()

void ACarlaRecorder::AddAnimBiker ( const CarlaRecorderAnimBiker &  Biker)

在文件 CarlaRecorder.cpp 第 650 行定义.

引用了 CarlaRecorderAnimBikers::Add(), Bikers , 以及 Enabled.

被这些函数引用 AddVehicleWheelsAnimation().

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

◆ AddAnimVehicle()

void ACarlaRecorder::AddAnimVehicle ( const CarlaRecorderAnimVehicle &  Vehicle)

在文件 CarlaRecorder.cpp 第 626 行定义.

引用了 CarlaRecorderAnimVehicles::Add(), Enabled, Vehicle , 以及 Vehicles.

被这些函数引用 AddVehicleAnimation().

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

◆ AddAnimVehicleWheels()

void ACarlaRecorder::AddAnimVehicleWheels ( const CarlaRecorderAnimWheels &  VehicleWheels)

在文件 CarlaRecorder.cpp 第 634 行定义.

引用了 CarlaRecorderAnimVehicleWheels::Add(), Enabled , 以及 Wheels.

被这些函数引用 AddVehicleWheelsAnimation().

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

◆ AddAnimWalker()

void ACarlaRecorder::AddAnimWalker ( const CarlaRecorderAnimWalker &  Walker)

在文件 CarlaRecorder.cpp 第 642 行定义.

引用了 CarlaRecorderAnimWalkers::Add(), Enabled , 以及 Walkers.

被这些函数引用 AddWalkerAnimation().

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

◆ AddBikerAnimation()

void ACarlaRecorder::AddBikerAnimation ( FCarlaActor *  CarlaActor)
private

◆ AddBoundingBox()

void ACarlaRecorder::AddBoundingBox ( const CarlaRecorderActorBoundingBox &  ActorBoundingBox)

在文件 CarlaRecorder.cpp 第 699 行定义.

引用了 CarlaRecorderActorBoundingBoxes::Add(), BoundingBoxes , 以及 Enabled.

被这些函数引用 AddActorBoundingBox().

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

◆ AddCollision()

void ACarlaRecorder::AddCollision ( AActor *  Actor1,
AActor *  Actor2 
)

在文件 CarlaRecorder.cpp 第 573 行定义.

引用了 CarlaRecorderCollisions::Add(), Collision, Collisions, FActorInfo::Description, Enabled, Episode, FCarlaActor::GetActorId(), FCarlaActor::GetActorInfo(), NextCollisionId , 以及 FActorDescription::Variations.

+ 函数调用图:

◆ AddDoorVehicle()

void ACarlaRecorder::AddDoorVehicle ( const CarlaRecorderDoorVehicle &  DoorVehicle)

在文件 CarlaRecorder.cpp 第 666 行定义.

引用了 CarlaRecorderDoorVehicles::Add(), DoorVehicles , 以及 Enabled.

被这些函数引用 AddVehicleDoor().

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

◆ AddEvent() [1/3]

void ACarlaRecorder::AddEvent ( const CarlaRecorderEventAdd &  Event)

在文件 CarlaRecorder.cpp 第 549 行定义.

引用了 CarlaRecorderEventsAdd::Add(), Enabled , 以及 EventsAdd.

被这些函数引用 CreateRecorderEventAdd().

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

◆ AddEvent() [2/3]

void ACarlaRecorder::AddEvent ( const CarlaRecorderEventDel &  Event)

在文件 CarlaRecorder.cpp 第 557 行定义.

引用了 CarlaRecorderEventsDel::Add(), Enabled , 以及 EventsDel.

+ 函数调用图:

◆ AddEvent() [3/3]

void ACarlaRecorder::AddEvent ( const CarlaRecorderEventParent &  Event)

在文件 CarlaRecorder.cpp 第 565 行定义.

引用了 CarlaRecorderEventsParent::Add(), Enabled , 以及 EventsParent.

+ 函数调用图:

◆ AddEventLightSceneChanged()

void ACarlaRecorder::AddEventLightSceneChanged ( const UCarlaLight *  Light)

在文件 CarlaRecorder.cpp 第 674 行定义.

引用了 CarlaRecorderLightScenes::Add(), Enabled , 以及 LightScenes.

被这些函数引用 AddExistingActors().

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

◆ AddExistingActors()

void ACarlaRecorder::AddExistingActors ( void  )
private

在文件 CarlaRecorder.cpp 第 707 行定义.

引用了 AddEventLightSceneChanged(), CreateRecorderEventAdd(), FActorInfo::Description, Episode, FCarlaActor::GetActorGlobalTransform(), FCarlaActor::GetActorId(), FCarlaActor::GetActorInfo(), FCarlaActor::GetActorType(), UCarlaLightSubsystem::GetLights() , 以及 World.

被这些函数引用 Start().

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

◆ AddKinematics()

void ACarlaRecorder::AddKinematics ( const CarlaRecorderKinematics &  ActorKinematics)

在文件 CarlaRecorder.cpp 第 691 行定义.

引用了 CarlaRecorderActorsKinematics::Add(), Enabled , 以及 Kinematics.

被这些函数引用 AddActorKinematics().

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

◆ AddLightVehicle()

void ACarlaRecorder::AddLightVehicle ( const CarlaRecorderLightVehicle &  LightVehicle)

在文件 CarlaRecorder.cpp 第 658 行定义.

引用了 CarlaRecorderLightVehicles::Add(), Enabled , 以及 LightVehicles.

被这些函数引用 AddVehicleLight().

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

◆ AddPhysicsControl()

void ACarlaRecorder::AddPhysicsControl ( const ACarlaWheeledVehicle &  Vehicle)

在文件 CarlaRecorder.cpp 第 368 行定义.

引用了 CarlaRecorderPhysicsControls::Add(), bAdditionalData, Control, Episode, PhysicsControls , 以及 Vehicle.

被这些函数引用 CreateRecorderEventAdd().

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

◆ AddPosition()

void ACarlaRecorder::AddPosition ( const CarlaRecorderPosition &  Position)

在文件 CarlaRecorder.cpp 第 541 行定义.

引用了 CarlaRecorderPositions::Add(), Enabled, Position , 以及 Positions.

被这些函数引用 AddActorPosition().

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

◆ AddState()

void ACarlaRecorder::AddState ( const CarlaRecorderStateTrafficLight &  State)

在文件 CarlaRecorder.cpp 第 618 行定义.

引用了 CarlaRecorderStates::Add(), Enabled, State , 以及 States.

被这些函数引用 AddTrafficLightState().

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

◆ AddTrafficLightState()

void ACarlaRecorder::AddTrafficLightState ( FCarlaActor *  CarlaActor)
private

在文件 CarlaRecorder.cpp 第 273 行定义.

引用了 AddState(), FCarlaActor::GetActorId(), UTrafficLightController::GetElapsedTime(), UTrafficLightController::GetGroup(), FCarlaActor::GetTrafficLightController(), FCarlaActor::GetTrafficLightState(), ATrafficLightGroup::IsFrozen() , 以及 LightState.

被这些函数引用 Ticking().

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

◆ AddTrafficLightTime()

void ACarlaRecorder::AddTrafficLightTime ( const ATrafficLightBase &  TrafficLight)

在文件 CarlaRecorder.cpp 第 379 行定义.

引用了 CarlaRecorderTrafficLightTimes::Add(), bAdditionalData, Episode, TrafficLight, TrafficLightTime , 以及 TrafficLightTimes.

被这些函数引用 CreateRecorderEventAdd().

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

◆ AddTriggerVolume()

void ACarlaRecorder::AddTriggerVolume ( const ATrafficSignBase &  TrafficSign)

在文件 CarlaRecorder.cpp 第 347 行定义.

引用了 CarlaRecorderActorTriggerVolumes::Add(), bAdditionalData, Episode, ATrafficSignBase::GetTriggerVolumes(), TriggerVolume , 以及 TriggerVolumes.

被这些函数引用 CreateRecorderEventAdd().

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

◆ AddVehicleAnimation()

void ACarlaRecorder::AddVehicleAnimation ( FCarlaActor *  CarlaActor)
private

在文件 CarlaRecorder.cpp 第 182 行定义.

引用了 AddAnimVehicle(), CarlaRecorderAnimVehicle::bHandbrake, FVehicleControl::bHandBrake, CarlaRecorderAnimVehicle::Brake, FVehicleControl::Brake, Control, CarlaRecorderAnimVehicle::DatabaseId, CarlaRecorderAnimVehicle::Gear, FVehicleControl::Gear, FCarlaActor::GetActorId(), FCarlaActor::GetVehicleControl(), FCarlaActor::IsPendingKill(), FVehicleControl::Steer, CarlaRecorderAnimVehicle::Steering, CarlaRecorderAnimVehicle::Throttle , 以及 FVehicleControl::Throttle.

被这些函数引用 Ticking().

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

◆ AddVehicleDoor()

void ACarlaRecorder::AddVehicleDoor ( const ACarlaWheeledVehicle &  Vehicle,
const EVehicleDoor  SDoors,
bool  bIsOpen 
)

在文件 CarlaRecorder.cpp 第 307 行定义.

引用了 AddDoorVehicle(), CarlaRecorderDoorVehicle::bIsOpen, CarlaRecorderDoorVehicle::DatabaseId, CarlaRecorderDoorVehicle::Doors, Episode , 以及 Vehicle.

+ 函数调用图:

◆ AddVehicleLight()

void ACarlaRecorder::AddVehicleLight ( FCarlaActor *  CarlaActor)
private

在文件 CarlaRecorder.cpp 第 295 行定义.

引用了 AddLightVehicle(), CarlaRecorderLightVehicle::DatabaseId, FCarlaActor::GetActorId(), FCarlaActor::GetVehicleLightState(), carla::rpc::VehicleLightState::light_state, LightState , 以及 CarlaRecorderLightVehicle::State.

被这些函数引用 Ticking().

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

◆ AddVehicleWheelsAnimation()

void ACarlaRecorder::AddVehicleWheelsAnimation ( FCarlaActor *  CarlaActor)
private

在文件 CarlaRecorder.cpp 第 205 行定义.

引用了 AddAnimBiker(), AddAnimVehicleWheels(), CarlaRecorderAnimWheels::DatabaseId, FCarlaActor::GetActor(), FCarlaActor::GetActorId(), FCarlaActor::GetActorType(), ACarlaWheeledVehicle::GetWheelSteerAngle(), Info, FCarlaActor::IsPendingKill(), ACarlaWheeledVehicle::IsTwoWheeledVehicle(), FCarlaActor::Vehicle , 以及 CarlaRecorderAnimWheels::WheelValues.

被这些函数引用 Ticking().

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

◆ AddWalkerAnimation()

void ACarlaRecorder::AddWalkerAnimation ( FCarlaActor *  CarlaActor)
private

在文件 CarlaRecorder.cpp 第 257 行定义.

引用了 AddAnimWalker(), Control, FCarlaActor::GetActorId(), FCarlaActor::GetWalkerControl() , 以及 FCarlaActor::IsPendingKill().

被这些函数引用 Ticking().

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

◆ Clear()

void ACarlaRecorder::Clear ( void  )

◆ CreateRecorderEventAdd()

void ACarlaRecorder::CreateRecorderEventAdd ( uint32_t  DatabaseId,
uint8_t  Type,
const FTransform &  Transform,
FActorDescription  ActorDescription 
)

在文件 CarlaRecorder.cpp 第 739 行定义.

引用了 AddActorBoundingBox(), AddEvent(), AddPhysicsControl(), AddTrafficLightTime(), AddTriggerVolume(), CarlaRecorderActorDescription::Attributes, Episode, FCarlaActor::GetActor(), FActorDescription::Id, CarlaRecorderActorAttribute::Id, CarlaRecorderActorDescription::Id, TrafficLight, CarlaRecorderActorAttribute::Type, FActorDescription::UId, CarlaRecorderActorDescription::UId, CarlaRecorderActorAttribute::Value, FActorDescription::Variations , 以及 Vehicle.

被这些函数引用 AddExistingActors().

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

◆ Disable()

void ACarlaRecorder::Disable ( void  )

在文件 CarlaRecorder.cpp 第 162 行定义.

引用了 Enabled.

被这些函数引用 ACarlaRecorder() , 以及 Stop().

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

◆ Enable()

void ACarlaRecorder::Enable ( void  )

在文件 CarlaRecorder.cpp 第 156 行定义.

引用了 Enabled.

被这些函数引用 Start().

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

◆ GetReplayer()

CarlaReplayer * ACarlaRecorder::GetReplayer ( void  )
inline

在文件 CarlaRecorder.h 第 161 行定义.

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

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

◆ IsEnabled()

bool ACarlaRecorder::IsEnabled ( void  )
inline

在文件 CarlaRecorder.h 第 89 行定义.

◆ ReplayFile()

std::string ACarlaRecorder::ReplayFile ( std::string  Name,
double  TimeStart,
double  Duration,
uint32_t  FollowId,
bool  ReplaySensors 
)

在文件 CarlaRecorder.cpp 第 61 行定义.

引用了 Replayer, CarlaReplayer::ReplayFile() , 以及 Stop().

+ 函数调用图:

◆ SetEpisode()

void ACarlaRecorder::SetEpisode ( UCarlaEpisode *  ThisEpisode)
inline

在文件 CarlaRecorder.h 第 148 行定义.

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

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

◆ SetReplayerIgnoreHero()

void ACarlaRecorder::SetReplayerIgnoreHero ( bool  IgnoreHero)

在文件 CarlaRecorder.cpp 第 73 行定义.

引用了 Replayer , 以及 CarlaReplayer::SetIgnoreHero().

+ 函数调用图:

◆ SetReplayerIgnoreSpectator()

void ACarlaRecorder::SetReplayerIgnoreSpectator ( bool  IgnoreSpectator)

在文件 CarlaRecorder.cpp 第 78 行定义.

引用了 Replayer , 以及 CarlaReplayer::SetIgnoreSpectator().

+ 函数调用图:

◆ SetReplayerTimeFactor()

void ACarlaRecorder::SetReplayerTimeFactor ( double  TimeFactor)

在文件 CarlaRecorder.cpp 第 68 行定义.

引用了 Replayer , 以及 CarlaReplayer::SetTimeFactor().

+ 函数调用图:

◆ ShowFileActorsBlocked()

std::string ACarlaRecorder::ShowFileActorsBlocked ( std::string  Name,
double  MinTime = 30,
double  MinDistance = 10 
)

在文件 CarlaRecorder.cpp 第 56 行定义.

引用了 Query , 以及 CarlaRecorderQuery::QueryBlocked().

+ 函数调用图:

◆ ShowFileCollisions()

std::string ACarlaRecorder::ShowFileCollisions ( std::string  Name,
char  Type1,
char  Type2 
)

在文件 CarlaRecorder.cpp 第 51 行定义.

引用了 Query , 以及 CarlaRecorderQuery::QueryCollisions().

+ 函数调用图:

◆ ShowFileInfo()

std::string ACarlaRecorder::ShowFileInfo ( std::string  Name,
bool  bShowAll = false 
)

在文件 CarlaRecorder.cpp 第 46 行定义.

引用了 Query , 以及 CarlaRecorderQuery::QueryInfo().

+ 函数调用图:

◆ Start()

std::string ACarlaRecorder::Start ( std::string  Name,
FString  MapName,
bool  AdditionalData = false 
)

◆ Stop()

void ACarlaRecorder::Stop ( void  )

在文件 CarlaRecorder.cpp 第 460 行定义.

引用了 Clear(), Disable() , 以及 File.

被这些函数引用 ReplayFile() , 以及 Start().

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

◆ StopReplayer()

void ACarlaRecorder::StopReplayer ( bool  KeepActors = false)

在文件 CarlaRecorder.cpp 第 83 行定义.

引用了 Replayer , 以及 CarlaReplayer::Stop().

+ 函数调用图:

◆ Ticking()

void ACarlaRecorder::Ticking ( float  DeltaSeconds)

在文件 CarlaRecorder.cpp 第 88 行定义.

引用了 AddActorBones(), AddActorKinematics(), AddActorPosition(), AddTrafficLightState(), AddVehicleAnimation(), AddVehicleLight(), AddVehicleWheelsAnimation(), AddWalkerAnimation(), bAdditionalData, Enabled, Episode, FCarlaActor::GetActorType(), FCarlaActor::Other, PlatformTime, CarlaRecorderVisualTime::SetTime(), Ticking(), FCarlaActor::TrafficLight, CarlaRecorderPlatformTime::UpdateTime(), FCarlaActor::Vehicle, VisualTime, FCarlaActor::Walker , 以及 Write().

被这些函数引用 Ticking().

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

◆ Write()

void ACarlaRecorder::Write ( double  DeltaSeconds)

在文件 CarlaRecorder.cpp 第 495 行定义.

引用了 bAdditionalData, Bikers, BoundingBoxes, Clear(), Collisions, DoorVehicles, EventsAdd, EventsDel, EventsParent, File, Frames, Kinematics, LightScenes, LightVehicles, PhysicsControls, PlatformTime, Positions, CarlaRecorderFrames::SetFrame(), States, TrafficLightTimes, TriggerVolumes, Vehicles, VisualTime, Walkers, WalkersBones, Wheels, CarlaRecorderVisualTime::Write(), CarlaRecorderWalkersBones::Write(), CarlaRecorderAnimVehicles::Write(), CarlaRecorderAnimVehicleWheels::Write(), CarlaRecorderAnimWalkers::Write(), CarlaRecorderActorBoundingBoxes::Write(), CarlaRecorderActorTriggerVolumes::Write(), CarlaRecorderCollisions::Write(), CarlaRecorderDoorVehicles::Write(), CarlaRecorderEventsAdd::Write(), CarlaRecorderEventsDel::Write(), CarlaRecorderEventsParent::Write(), CarlaRecorderActorsKinematics::Write(), CarlaRecorderLightScenes::Write(), CarlaRecorderLightVehicles::Write(), CarlaRecorderPhysicsControls::Write(), CarlaRecorderPlatformTime::Write(), CarlaRecorderPositions::Write(), CarlaRecorderStates::Write(), CarlaRecorderTrafficLightTimes::Write(), CarlaRecorderAnimBikers::Write(), CarlaRecorderFrames::WriteEnd() , 以及 CarlaRecorderFrames::WriteStart().

被这些函数引用 Ticking().

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

类成员变量说明

◆ bAdditionalData

bool ACarlaRecorder::bAdditionalData = false
private

在文件 CarlaRecorder.h 第 186 行定义.

被这些函数引用 AddPhysicsControl(), AddTrafficLightTime(), AddTriggerVolume(), Start(), Ticking() , 以及 Write().

◆ Bikers

CarlaRecorderAnimBikers ACarlaRecorder::Bikers
private

在文件 CarlaRecorder.h 第 207 行定义.

被这些函数引用 AddAnimBiker(), Clear() , 以及 Write().

◆ BoundingBoxes

CarlaRecorderActorBoundingBoxes ACarlaRecorder::BoundingBoxes
private

在文件 CarlaRecorder.h 第 211 行定义.

被这些函数引用 AddBoundingBox(), Clear() , 以及 Write().

◆ Collisions

CarlaRecorderCollisions ACarlaRecorder::Collisions
private

在文件 CarlaRecorder.h 第 201 行定义.

被这些函数引用 AddCollision(), Clear() , 以及 Write().

◆ DoorVehicles

CarlaRecorderDoorVehicles ACarlaRecorder::DoorVehicles
private

在文件 CarlaRecorder.h 第 218 行定义.

被这些函数引用 AddDoorVehicle(), Clear() , 以及 Write().

◆ Enabled

bool ACarlaRecorder::Enabled
private

◆ Episode

UCarlaEpisode* ACarlaRecorder::Episode = nullptr
private

◆ EventsAdd

CarlaRecorderEventsAdd ACarlaRecorder::EventsAdd
private

在文件 CarlaRecorder.h 第 198 行定义.

被这些函数引用 AddEvent(), Clear() , 以及 Write().

◆ EventsDel

CarlaRecorderEventsDel ACarlaRecorder::EventsDel
private

在文件 CarlaRecorder.h 第 199 行定义.

被这些函数引用 AddEvent(), Clear() , 以及 Write().

◆ EventsParent

CarlaRecorderEventsParent ACarlaRecorder::EventsParent
private

在文件 CarlaRecorder.h 第 200 行定义.

被这些函数引用 AddEvent(), Clear() , 以及 Write().

◆ File

std::ofstream ACarlaRecorder::File
private

在文件 CarlaRecorder.h 第 191 行定义.

被这些函数引用 Start(), Stop() , 以及 Write().

◆ Frames

CarlaRecorderFrames ACarlaRecorder::Frames
private

在文件 CarlaRecorder.h 第 197 行定义.

被这些函数引用 Start() , 以及 Write().

◆ Info

CarlaRecorderInfo ACarlaRecorder::Info
private

在文件 CarlaRecorder.h 第 196 行定义.

被这些函数引用 AddVehicleWheelsAnimation() , 以及 Start().

◆ Kinematics

CarlaRecorderActorsKinematics ACarlaRecorder::Kinematics
private

在文件 CarlaRecorder.h 第 210 行定义.

被这些函数引用 AddKinematics(), Clear() , 以及 Write().

◆ LightScenes

CarlaRecorderLightScenes ACarlaRecorder::LightScenes
private

在文件 CarlaRecorder.h 第 209 行定义.

被这些函数引用 AddEventLightSceneChanged(), Clear() , 以及 Write().

◆ LightVehicles

CarlaRecorderLightVehicles ACarlaRecorder::LightVehicles
private

在文件 CarlaRecorder.h 第 208 行定义.

被这些函数引用 AddLightVehicle(), Clear() , 以及 Write().

◆ NextCollisionId

uint32_t ACarlaRecorder::NextCollisionId = 0
private

在文件 CarlaRecorder.h 第 188 行定义.

被这些函数引用 AddCollision() , 以及 Start().

◆ PhysicsControls

CarlaRecorderPhysicsControls ACarlaRecorder::PhysicsControls
private

在文件 CarlaRecorder.h 第 214 行定义.

被这些函数引用 AddPhysicsControl(), Clear() , 以及 Write().

◆ PlatformTime

CarlaRecorderPlatformTime ACarlaRecorder::PlatformTime
private

在文件 CarlaRecorder.h 第 213 行定义.

被这些函数引用 Start(), Ticking() , 以及 Write().

◆ Positions

CarlaRecorderPositions ACarlaRecorder::Positions
private

在文件 CarlaRecorder.h 第 202 行定义.

被这些函数引用 AddPosition(), Clear() , 以及 Write().

◆ Query

CarlaRecorderQuery ACarlaRecorder::Query
private

在文件 CarlaRecorder.h 第 224 行定义.

被这些函数引用 ShowFileActorsBlocked(), ShowFileCollisions() , 以及 ShowFileInfo().

◆ Replayer

CarlaReplayer ACarlaRecorder::Replayer
private

◆ States

CarlaRecorderStates ACarlaRecorder::States
private

在文件 CarlaRecorder.h 第 203 行定义.

被这些函数引用 AddState(), Clear() , 以及 Write().

◆ TrafficLightTimes

CarlaRecorderTrafficLightTimes ACarlaRecorder::TrafficLightTimes
private

在文件 CarlaRecorder.h 第 215 行定义.

被这些函数引用 AddTrafficLightTime(), Clear() , 以及 Write().

◆ TriggerVolumes

CarlaRecorderActorTriggerVolumes ACarlaRecorder::TriggerVolumes
private

在文件 CarlaRecorder.h 第 212 行定义.

被这些函数引用 AddTriggerVolume(), Clear() , 以及 Write().

◆ Vehicles

CarlaRecorderAnimVehicles ACarlaRecorder::Vehicles
private

在文件 CarlaRecorder.h 第 204 行定义.

被这些函数引用 AddAnimVehicle(), Clear() , 以及 Write().

◆ VisualTime

CarlaRecorderVisualTime ACarlaRecorder::VisualTime
private

在文件 CarlaRecorder.h 第 217 行定义.

被这些函数引用 Ticking() , 以及 Write().

◆ Walkers

CarlaRecorderAnimWalkers ACarlaRecorder::Walkers
private

在文件 CarlaRecorder.h 第 206 行定义.

被这些函数引用 AddAnimWalker(), Clear() , 以及 Write().

◆ WalkersBones

CarlaRecorderWalkersBones ACarlaRecorder::WalkersBones
private

在文件 CarlaRecorder.h 第 216 行定义.

被这些函数引用 AddActorBones(), Clear() , 以及 Write().

◆ Wheels

CarlaRecorderAnimVehicleWheels ACarlaRecorder::Wheels
private

在文件 CarlaRecorder.h 第 205 行定义.

被这些函数引用 AddAnimVehicleWheels(), Clear() , 以及 Write().


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