CARLA
Loading...
Searching...
No Matches
WorldObjects Struct Reference

Frame data packet 29, on change and on every full resync: map objects whose state is not part of any actor. More...

#include <worldState.h>

Public Types

enum  Field : uint8_t { kDisabledEnvironmentObjects = 1u }

Public Member Functions

bool empty () const
bool Read (std::istream &in, uint32_t size)
void Write (std::ostream &out) const

Public Attributes

std::optional< std::vector< uint64_t > > disabled_environment_objects

Static Public Attributes

static constexpr uint8_t kPacketId = 29u

Detailed Description

Frame data packet 29, on change and on every full resync: map objects whose state is not part of any actor.

Scene lights travel in packet 11, the recorder's SceneLight.

Definition at line 84 of file worldState.h.

Member Enumeration Documentation

◆ Field

Enumerator
kDisabledEnvironmentObjects 

The complete, sorted set of environment objects disabled.

Definition at line 88 of file worldState.h.

Member Function Documentation

◆ empty()

bool carla::multigpu::WorldObjects::empty ( ) const
inline

Definition at line 95 of file worldState.h.

◆ Read()

bool carla::multigpu::WorldObjects::Read ( std::istream & in,
uint32_t size )
inline

Definition at line 112 of file worldState.h.

◆ Write()

void carla::multigpu::WorldObjects::Write ( std::ostream & out) const
inline

Definition at line 99 of file worldState.h.

Member Data Documentation

◆ disabled_environment_objects

std::optional<std::vector<uint64_t> > carla::multigpu::WorldObjects::disabled_environment_objects

Definition at line 93 of file worldState.h.

◆ kPacketId

uint8_t carla::multigpu::WorldObjects::kPacketId = 29u
staticconstexpr

Definition at line 86 of file worldState.h.


The documentation for this struct was generated from the following file: