38 #include "CarlaRecorder.generated.h" 95 std::string Start(std::string Name, FString MapName,
bool AdditionalData =
false);
101 void Write(
double DeltaSeconds);
126 void AddEventLightSceneChanged(
const UCarlaLight* Light);
143 Episode = ThisEpisode;
144 Replayer.SetEpisode(ThisEpisode);
147 void CreateRecorderEventAdd(
160 std::string ShowFileInfo(std::string Name,
bool bShowAll =
false);
161 std::string ShowFileCollisions(std::string Name,
char Type1,
char Type2);
162 std::string ShowFileActorsBlocked(std::string Name,
double MinTime = 30,
double MinDistance = 10);
165 std::string ReplayFile(std::string Name,
double TimeStart,
double Duration,
166 uint32_t FollowId,
bool ReplaySensors);
167 void SetReplayerTimeFactor(
double TimeFactor);
168 void SetReplayerIgnoreHero(
bool IgnoreHero);
169 void SetReplayerIgnoreSpectator(
bool IgnoreSpectator);
170 void StopReplayer(
bool KeepActors =
false);
172 void Ticking(
float DeltaSeconds);
179 bool bAdditionalData =
false;
181 uint32_t NextCollisionId = 0;
218 void AddExistingActors(
void);
223 void AddVehicleWheelsAnimation(
FCarlaActor *CarlaActor);
224 void AddTrafficLightState(
FCarlaActor *CarlaActor);
CarlaRecorderTrafficLightTimes TrafficLightTimes
CarlaRecorderFrames Frames
CarlaRecorderAnimVehicles Vehicles
CarlaRecorderPlatformTime PlatformTime
CarlaRecorderAnimVehicleWheels Wheels
void SetEpisode(UCarlaEpisode *ThisEpisode)
CarlaRecorderLightScenes LightScenes
CarlaRecorderAnimWalkers Walkers
CarlaRecorderVisualTime VisualTime
CarlaReplayer * GetReplayer(void)
CarlaRecorderWalkersBones WalkersBones
CarlaRecorderActorBoundingBoxes BoundingBoxes
CarlaRecorderPhysicsControls PhysicsControls
CarlaRecorderLightVehicles LightVehicles
CarlaRecorderAnimBikers Bikers
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.