34 #include "CarlaRecorder.generated.h" 86 std::string Start(std::string Name, FString MapName,
bool AdditionalData =
false);
92 void Write(
double DeltaSeconds);
113 void AddEventLightSceneChanged(
const UCarlaLight* Light);
128 Episode = ThisEpisode;
129 Replayer.SetEpisode(ThisEpisode);
132 void CreateRecorderEventAdd(
145 std::string ShowFileInfo(std::string Name,
bool bShowAll =
false);
146 std::string ShowFileCollisions(std::string Name,
char Type1,
char Type2);
147 std::string ShowFileActorsBlocked(std::string Name,
double MinTime = 30,
double MinDistance = 10);
150 std::string ReplayFile(std::string Name,
double TimeStart,
double Duration,
151 uint32_t FollowId,
bool ReplaySensors);
152 void SetReplayerTimeFactor(
double TimeFactor);
153 void SetReplayerIgnoreHero(
bool IgnoreHero);
154 void StopReplayer(
bool KeepActors =
false);
156 void Ticking(
float DeltaSeconds);
163 bool bAdditionalData =
false;
165 uint32_t NextCollisionId = 0;
199 void AddExistingActors(
void);
203 void AddTrafficLightState(
FCarlaActor *CarlaActor);
CarlaRecorderTrafficLightTimes TrafficLightTimes
CarlaRecorderFrames Frames
CarlaRecorderAnimVehicles Vehicles
CarlaRecorderPlatformTime PlatformTime
void SetEpisode(UCarlaEpisode *ThisEpisode)
CarlaRecorderLightScenes LightScenes
CarlaRecorderAnimWalkers Walkers
CarlaReplayer * GetReplayer(void)
CarlaRecorderActorBoundingBoxes BoundingBoxes
CarlaRecorderPhysicsControls PhysicsControls
CarlaRecorderLightVehicles LightVehicles
CarlaRecorderEventsParent EventsParent
Recorder for the simulation.
CarlaRecorderEventsAdd EventsAdd
CarlaRecorderCollisions Collisions
A description of a Carla Actor with all its variation.
CarlaRecorderActorsKinematics Kinematics
CarlaRecorderPositions Positions
CarlaRecorderActorTriggerVolumes TriggerVolumes
CarlaRecorderEventsDel EventsDel
Base class for CARLA wheeled vehicles.
CarlaRecorderStates States
geom::Transform Transform
A view over an actor and its properties.