Skip to main content

AVxcelerate Simulation Framework 2026 R1 SP01

File dds_to_autonomy_msg_converter.h

Last update: 22.04.2026

Location: autonomy/communication/utils/dds_to_autonomy_msg_converter.h

Namespaces

Includes

Source



#ifndef SIMFWK_AUTONOMY_AUTONOMY_COMMUNICATION_UTILS_DDSTOAUTONOMYMSGCONVERTER_H
#define SIMFWK_AUTONOMY_AUTONOMY_COMMUNICATION_UTILS_DDSTOAUTONOMYMSGCONVERTER_H

#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

#endif  // SIMFWK_AUTONOMY_AUTONOMY_COMMUNICATION_UTILS_DDSTOAUTONOMYMSGCONVERTER_H

Connect with Ansys