40#include "CarlaRecorder.generated.h"
98 std::string Start(std::string Name, FString MapName,
bool AdditionalData =
false);
104 void Write(
double DeltaSeconds);
129 void AddEventLightSceneChanged(
const UCarlaLight* Light);
150 Episode = ThisEpisode;
151 Replayer.SetEpisode(ThisEpisode);
154 void CreateRecorderEventAdd(
157 const FTransform &Transform,
167 std::string ShowFileInfo(std::string Name,
bool bShowAll =
false);
168 std::string ShowFileCollisions(std::string Name,
char Type1,
char Type2);
169 std::string ShowFileActorsBlocked(std::string Name,
double MinTime = 30,
double MinDistance = 10);
172 std::string ReplayFile(std::string Name,
double TimeStart,
double Duration,
173 uint32_t FollowId,
bool ReplaySensors);
174 void SetReplayerTimeFactor(
double TimeFactor);
175 void SetReplayerIgnoreHero(
bool IgnoreHero);
176 void SetReplayerIgnoreSpectator(
bool IgnoreSpectator);
177 void StopReplayer(
bool KeepActors =
false);
179 void Ticking(
float DeltaSeconds);
186 bool bAdditionalData =
false;
188 uint32_t NextCollisionId = 0;
226 void AddExistingActors(
void);
231 void AddVehicleWheelsAnimation(
FCarlaActor *CarlaActor);
232 void AddTrafficLightState(
FCarlaActor *CarlaActor);
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
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.