CARLA
Loading...
Searching...
No Matches
CustomV2XBytes Class Reference

Fixed-size binary payload carried by the custom V2X sensor (sensor.other.v2x_custom). More...

#include <CustomV2XBytes.h>

Public Member Functions

uint8_t max_data_size () const
 MSGPACK_DEFINE_ARRAY (data_size, bytes)

Public Attributes

std::array< unsigned char, 100 > bytes {}
uint8_t data_size {0u}

Detailed Description

Fixed-size binary payload carried by the custom V2X sensor (sensor.other.v2x_custom).

The blob is capped at 100 bytes.

Definition at line 19 of file CustomV2XBytes.h.

Member Function Documentation

◆ max_data_size()

Definition at line 22 of file CustomV2XBytes.h.

◆ MSGPACK_DEFINE_ARRAY()

Member Data Documentation

◆ bytes

std::array<unsigned char, 100> carla::rpc::CustomV2XBytes::bytes {}

Definition at line 27 of file CustomV2XBytes.h.

◆ data_size

Definition at line 26 of file CustomV2XBytes.h.


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