|
CARLA
|
What a Multi-GPU secondary keeps between the primary frames it plays. More...
#include <FrameData.h>
Public Member Functions | |
| void | Reset () |
Public Attributes | |
| std::unordered_set< uint32_t > | CreatedIds |
| Local ids of the mirrors this secondary spawned, as opposed to map actors it reused (traffic lights, the spectator): only these may be swept. | |
| std::optional< std::vector< uint64_t > > | DisabledObjects |
| The environment objects the primary has disabled (sorted), once a frame said so, and the registration of this server's objects they were last applied to: one in a map layer still streaming in is disabled once it is registered. | |
| uint64 | DisabledObjectsRegistrations = 0u |
| std::vector< std::pair< uint32_t, uint32_t > > | PendingParents |
| Attachments not replayed yet, as (child, parent) primary ids: one of the two is not mirrored yet. | |
| std::vector< std::pair< uint32_t, FTransform > > | PlayedPoses |
| The poses the last frame played set, by local id, to check before the capture that nothing moved a mirror in between. | |
What a Multi-GPU secondary keeps between the primary frames it plays.
Definition at line 58 of file FrameData.h.
|
inline |
Definition at line 79 of file FrameData.h.
References CreatedIds, DisabledObjects, DisabledObjectsRegistrations, PendingParents, and PlayedPoses.
Referenced by FCarlaEngine::NotifyBeginEpisode().
| std::unordered_set<uint32_t> FMirrorState::CreatedIds |
Local ids of the mirrors this secondary spawned, as opposed to map actors it reused (traffic lights, the spectator): only these may be swept.
Definition at line 62 of file FrameData.h.
Referenced by FFrameData::PlayFrameData(), and Reset().
| std::optional<std::vector<uint64_t> > FMirrorState::DisabledObjects |
The environment objects the primary has disabled (sorted), once a frame said so, and the registration of this server's objects they were last applied to: one in a map layer still streaming in is disabled once it is registered.
Definition at line 76 of file FrameData.h.
Referenced by FFrameData::PlayWorldState(), and Reset().
| uint64 FMirrorState::DisabledObjectsRegistrations = 0u |
Definition at line 77 of file FrameData.h.
Referenced by FFrameData::PlayWorldState(), and Reset().
| std::vector<std::pair<uint32_t, uint32_t> > FMirrorState::PendingParents |
Attachments not replayed yet, as (child, parent) primary ids: one of the two is not mirrored yet.
Definition at line 66 of file FrameData.h.
Referenced by FFrameData::PlayFrameData(), and Reset().
| std::vector<std::pair<uint32_t, FTransform> > FMirrorState::PlayedPoses |
The poses the last frame played set, by local id, to check before the capture that nothing moved a mirror in between.
Definition at line 70 of file FrameData.h.
Referenced by FFrameData::PlayPositions(), Reset(), and FCarlaEngine::RestorePlayedPoses().