CARLA
Loading...
Searching...
No Matches
UserDataFormat.h File Reference
#include "carla/ros2/types/CdrTopicInfo.h"
#include <cstdint>
#include <cstring>
#include <vector>

Go to the source code of this file.

Namespaces

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

Functions

std::vector< uint8_t > carla::ros2::build_user_data (const char *type_hash)
 Builds the REP-2016 endpoint USER_DATA payload encoding a REP-2011 type hash.
template<typename T>
std::vector< uint8_t > carla::ros2::build_user_data_for ()
 Convenience: build user_data from the CdrTopicInfo<T>::type_hash() of T.