36 #include <unordered_map> 84 void Write(std::ostream& OutStream);
85 void Read(std::istream& InStream);
93 bool bAddOtherRelatedInfo =
true);
132 std::unordered_map<uint32_t, uint32_t>& MappedId);
142 std::unordered_map<uint32_t, uint32_t>& MappedId);
167 std::unordered_map<uint32_t, bool> &IsHero);
bool ProcessReplayerEventParent(uint32_t ChildId, uint32_t ParentId)
void AddExistingActors(void)
void AddVehicleAnimation(FCarlaActor *CarlaActor)
CarlaRecorderPhysicsControls PhysicsControls
void ProcessReplayerAnimVehicleWheels(CarlaRecorderAnimWheels Vehicle)
void AddTriggerVolume(const ATrafficSignBase &TrafficSign)
void AddAnimWalker(const CarlaRecorderAnimWalker &Walker)
void AddEventLightSceneChanged(const UCarlaLight *Light)
CarlaRecorderTrafficLightTimes TrafficLightTimes
void AddWalkerAnimation(FCarlaActor *CarlaActor)
CarlaRecorderAnimBikers Bikers
void AddAnimVehicle(const CarlaRecorderAnimVehicle &Vehicle)
CarlaRecorderActorBoundingBoxes BoundingBoxes
void AddBoundingBox(const CarlaRecorderActorBoundingBox &ActorBoundingBox)
CarlaRecorderActorsKinematics Kinematics
void ProcessReplayerAnimWalker(CarlaRecorderAnimWalker Walker)
CarlaRecorderFrames Frames
void AddVehicleLight(FCarlaActor *CarlaActor)
CarlaRecorderAnimVehicleWheels Wheels
void AddAnimVehicleWheels(const CarlaRecorderAnimWheels &VehicleWheels)
void Write(std::ostream &OutStream)
void AddActorPosition(FCarlaActor *CarlaActor)
void AddVehicleWheelsAnimation(FCarlaActor *CarlaActor)
CarlaRecorderActorTriggerVolumes TriggerVolumes
void ProcessReplayerLightVehicle(CarlaRecorderLightVehicle LightVehicle)
void SetWalkerSpeed(uint32_t ActorId, float Speed)
void AddPosition(const CarlaRecorderPosition &Position)
CarlaRecorderEventsDel EventsDel
CarlaRecorderPlatformTime PlatformTime
void AddLightVehicle(const CarlaRecorderLightVehicle &LightVehicle)
bool SetActorSimulatePhysics(FCarlaActor *CarlaActor, bool bEnabled)
CarlaRecorderLightScenes LightScenes
FCarlaActor * FindTrafficLightAt(FVector Location)
void AddActorBoundingBox(FCarlaActor *CarlaActor)
void GetFrameData(UCarlaEpisode *ThisEpisode, bool bAdditionalData=false, bool bIncludeActorsAgain=false)
void ProcessReplayerAnimBiker(CarlaRecorderAnimBiker Biker)
CarlaRecorderEventsAdd EventsAdd
bool ProcessReplayerEventDel(uint32_t DatabaseId)
std::pair< int, uint32_t > ProcessReplayerEventAdd(FVector Location, FVector Rotation, CarlaRecorderActorDescription Description, uint32_t DesiredId, bool bIgnoreHero, bool ReplaySensors, std::unordered_map< uint32_t, uint32_t > &MappedId)
A description of a Carla Actor with all its variation.
void ProcessReplayerAnimVehicle(CarlaRecorderAnimVehicle Vehicle)
CarlaRecorderLightVehicles LightVehicles
void AddKinematics(const CarlaRecorderKinematics &ActorKinematics)
void SetEpisode(UCarlaEpisode *ThisEpisode)
CarlaRecorderPositions Positions
void AddTrafficLightTime(const ATrafficLightBase &TrafficLight)
bool ProcessReplayerPosition(CarlaRecorderPosition Pos1, CarlaRecorderPosition Pos2, double Per, double DeltaTime)
void AddState(const CarlaRecorderStateTrafficLight &State)
void AddCollision(AActor *Actor1, AActor *Actor2)
CarlaRecorderEventsParent EventsParent
bool ProcessReplayerStateTrafficLight(CarlaRecorderStateTrafficLight State)
CarlaRecorderAnimWalkers Walkers
CarlaRecorderCollisions Collisions
void AddActorKinematics(FCarlaActor *CarlaActor)
void AddAnimBiker(const CarlaRecorderAnimBiker &Biker)
void AddTrafficLightState(FCarlaActor *CarlaActor)
bool ProcessReplayerFinish(bool bApplyAutopilot, bool bIgnoreHero, std::unordered_map< uint32_t, bool > &IsHero)
void AddPhysicsControl(const ACarlaWheeledVehicle &Vehicle)
void Read(std::istream &InStream)
CarlaRecorderStates States
void PlayFrameData(UCarlaEpisode *ThisEpisode, std::unordered_map< uint32_t, uint32_t > &MappedId)
void AddBikerAnimation(FCarlaActor *CarlaActor)
void SetActorVelocity(FCarlaActor *CarlaActor, FVector Velocity)
void ProcessReplayerLightScene(CarlaRecorderLightScene LightScene)
void CreateRecorderEventAdd(uint32_t DatabaseId, uint8_t Type, const FTransform &Transform, FActorDescription ActorDescription, bool bAddOtherRelatedInfo=true)
Base class for CARLA wheeled vehicles.
CarlaRecorderAnimVehicles Vehicles
std::pair< int, FCarlaActor * > CreateOrReuseActor(FVector &Location, FVector &Rotation, FActorDescription &ActorDesc, uint32_t DesiredId, bool SpawnSensors, std::unordered_map< uint32_t, uint32_t > &MappedId)
void AddEvent(const CarlaRecorderEventAdd &Event)
geom::Transform Transform
CarlaRecorderFrameCounter FrameCounter
bool SetCameraPosition(uint32_t Id, FVector Offset, FQuat Rotation)
A view over an actor and its properties.