Skip to main content

AVxcelerate Simulation Framework 2026 R1

File dds_to_autonomy_msg_converter.h

Last update: 09.03.2026

Location: autonomy/communication/utils/dds_to_autonomy_msg_converter.h

Namespaces

Includes

Source



#pragma once

#include "autonomy/communication/messages/autonomy_msg.h"
#include "core/message/rtidds/generic_bytes/generic_bytes.hpp"
#include <string>

namespace simulation_framework
{
namespace autonomy
{
namespace communication
{
namespace utils
{

rtidds::GenericBytesMessage ConvertAutonomyMsgToGenericBytes(const int frame_counter,
                                                             const std::string& header_name,
                                                             const messages::AutonomyMsg& msg);

void ConvertGenericBytesToAutonomyMsg(const rtidds::GenericBytesMessage& dds_msg, messages::AutonomyMsg& msg);

}  // namespace utils
}  // namespace communication
}  // namespace autonomy
}  // namespace simulation_framework

Connect with Ansys