22#include <unordered_map>
23#include <unordered_set>
58 std::string
ReplayFile(std::string Filename,
double TimeStart = 0.0f,
double Duration = 0.0f,
59 uint32_t
FollowId = 0,
const FTransform& Offset = FTransform(),
bool ReplaySensors =
false,
60 bool ReplayWeather =
false, std::string MapOverride =
"");
63 void Stop(
bool KeepActors =
false);
117 void Tick(
float Time);
void SetEpisode(UCarlaEpisode *ThisEpisode)
void ProcessEventsDel(void)
void ProcessDoorVehicle(void)
void SetEpisode(UCarlaEpisode *ThisEpisode)
std::vector< CarlaRecorderPosition > PrevPos
void ProcessVisualTime(void)
void ProcessLightVehicle(void)
double GetTotalTime(void)
std::vector< CarlaRecorderPosition > CurrPos
std::vector< CarlaRecorderAnimWheels > PrevWheels
void InterpolatePosition(const CarlaRecorderPosition &Start, const CarlaRecorderPosition &End, double Per, double DeltaTime)
void ProcessAnimVehicle(void)
void SetIgnoreHero(bool InIgnoreHero)
void ProcessWalkerBones(void)
void ForgetSpawnedActors(void)
Forgets the spawned actors, so a later DestroySpawnedActors() leaves them alone.
void ProcessPositions(bool IsFirstTime=false)
void SetIgnoreSpectator(bool InIgnoreSpectator)
void ProcessEventsParent(void)
void SetTimeFactor(double NewTimeFactor)
std::string ReplayFile(std::string Filename, double TimeStart=0.0f, double Duration=0.0f, uint32_t FollowId=0, const FTransform &Offset=FTransform(), bool ReplaySensors=false, bool ReplayWeather=false, std::string MapOverride="")
void ProcessWeather(void)
void UpdatePositions(double Per, double DeltaTime)
void ProcessEventsAdd(void)
void DestroySpawnedActors(void)
Destroys the actors this replayer spawned that are still alive, even when the replay already ended by...
static PlayAfterLoadMap Autoplay
void UpdateWheels(double Per)
void ProcessAnimWalker(void)
void ProcessAnimBiker(void)
std::vector< CarlaRecorderAnimWheels > CurrWheels
CarlaRecorderInfo RecInfo
CarlaReplayerHelper Helper
void ProcessLightScene(void)
std::unordered_set< uint32_t > SpawnedIds
void CheckPlayAfterMapLoaded(void)
std::unordered_map< uint32_t, bool > IsHeroMap
void ProcessToTime(double Time, bool IsFirstTime=false)
std::unordered_map< uint32_t, uint32_t > MappedId
void Stop(bool KeepActors=false)
void ProcessAnimVehicleWheels(bool IsFirstTime=false)