40#include "CarlaRecorder.generated.h"
115 bool AdditionalData =
false,
116 bool StopReplayer =
true);
122 void Write(
double DeltaSeconds);
149 void AddEventLightSceneChanged(
const UCarlaLight* Light);
170 Episode = ThisEpisode;
171 Replayer.SetEpisode(ThisEpisode);
174 void CreateRecorderEventAdd(
177 const FTransform &Transform,
187 std::string ShowFileInfo(std::string Name,
bool bShowAll =
false);
188 std::string ShowFileCollisions(std::string Name,
char Type1,
char Type2);
189 std::string ShowFileActorsBlocked(std::string Name,
double MinTime = 30,
double MinDistance = 10);
192 std::string ReplayFile(
193 std::string Name,
double TimeStart,
double Duration,
194 uint32_t FollowId,
const FTransform& Offset,
bool ReplaySensors,
bool ReplayWeather,
195 std::string MapOverride);
196 void SetReplayerTimeFactor(
double TimeFactor);
197 void SetReplayerIgnoreHero(
bool IgnoreHero);
198 void SetReplayerIgnoreSpectator(
bool IgnoreSpectator);
199 void StopReplayer(
bool KeepActors =
false);
201 void Ticking(
float DeltaSeconds);
208 bool bAdditionalData =
false;
210 uint32_t NextCollisionId = 0;
217 bool bFirstTick =
true;
251 void AddExistingActors(
void);
252 void AddExistingWeather(
void);
257 void AddVehicleWheelsAnimation(
FCarlaActor *CarlaActor);
258 void AddTrafficLightState(
FCarlaActor *CarlaActor);
@ MultiGpuActorAppearance
EVehicleDoor
Type of door to open/close.
Recorder for the simulation.
CarlaRecorderEventsAdd EventsAdd
CarlaRecorderTrafficLightTimes TrafficLightTimes
CarlaRecorderPhysicsControls PhysicsControls
CarlaRecorderLightScenes LightScenes
CarlaRecorderAnimBikers Bikers
void AddBikerAnimation(FCarlaActor *CarlaActor)
CarlaRecorderActorBoundingBoxes BoundingBoxes
CarlaReplayer * GetReplayer(void)
CarlaRecorderLightVehicles LightVehicles
CarlaRecorderVisualTime VisualTime
CarlaRecorderWeathers Weathers
CarlaRecorderPlatformTime PlatformTime
CarlaRecorderActorTriggerVolumes TriggerVolumes
CarlaRecorderWalkersBones WalkersBones
CarlaRecorderEventsParent EventsParent
CarlaRecorderCollisions Collisions
CarlaRecorderActorsKinematics Kinematics
CarlaRecorderPositions Positions
CarlaRecorderAnimWalkers Walkers
CarlaRecorderAnimVehicleWheels Wheels
CarlaRecorderStates States
CarlaRecorderEventsDel EventsDel
void SetEpisode(UCarlaEpisode *ThisEpisode)
CarlaRecorderFrames Frames
CarlaRecorderAnimVehicles Vehicles
CarlaRecorderDoorVehicles DoorVehicles
Base class for CARLA wheeled vehicles.
A view over an actor and its properties.
A description of a Carla Actor with all its variation.