|
CARLA
|
#include <cmath>#include <cstdint>#include <optional>Go to the source code of this file.
Classes | |
| struct | carla::multigpu::BeginFrameState |
Namespaces | |
| namespace | carla |
| This file contains definitions of common data structures used in traffic manager. | |
| namespace | carla::multigpu |
Enumerations | |
| enum class | carla::multigpu::BeginFrameAction { carla::multigpu::OwnClock , carla::multigpu::DontWait , carla::multigpu::Wait } |
| What a secondary does at the start of an engine frame, before the engine computes the frame's time step. More... | |
| enum class | carla::multigpu::PreTickAction { carla::multigpu::OpenLevel , carla::multigpu::Play , carla::multigpu::Skip } |
| What a secondary does when its world starts ticking. More... | |
Functions | |
| BeginFrameAction | carla::multigpu::DecideBeginFrame (const BeginFrameState &state) |
| PreTickAction | carla::multigpu::DecidePreTick (bool load_map_pending, bool has_episode, bool frame_prepared, bool episode_world) |
| bool | carla::multigpu::IsConsecutive (std::optional< uint64_t > last_played, uint64_t frame) |
| Whether frame directly follows the last frame this secondary played. | |
| bool | carla::multigpu::IsUsableDelta (float delta_seconds) |
| Whether a primary's delta can be this engine frame's time step. | |
| bool | carla::multigpu::NeedsResync (std::optional< uint64_t > last_played, uint64_t frame, bool full_resync) |
| Whether playing frame shows that this secondary missed primary state (a frame went missing) that only a full resync gives back. | |