CARLA
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs | Functions
mirroredActors.h File Reference
#include <cstdint>
#include <optional>
#include <unordered_map>

Go to the source code of this file.

Classes

struct  carla::multigpu::ReplayedActorPlan
 

Namespaces

namespace  carla
 This file contains definitions of common data structures used in traffic manager.
 
namespace  carla::multigpu
 

Typedefs

using carla::multigpu::MirroredActorMap = std::unordered_map< uint32_t, uint32_t >
 Primary actor id -> id of the local actor a secondary replayed it onto, for the current episode only.
 

Functions

template<typename LocalActors >
ReplayedActorPlan carla::multigpu::PlanReplayedActor (const MirroredActorMap &mirrors, uint32_t primary_id, const LocalActors &local)
 Where a secondary replays the add event of primary actor primary_id.