> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# File dds_to_autonomy_msg_converter.h

![][C++]

**Location**: `autonomy/communication/utils/dds_to_autonomy_msg_converter.h`

## Namespaces

* [simulation\_framework](https://developer.synopsys.com/docs/avxcelerate/avxcelerate-simulation-framework/2026-r1/reference/namespacesimulation__framework.md)
* [simulation\_framework::autonomy](https://developer.synopsys.com/docs/avxcelerate/avxcelerate-simulation-framework/2026-r1/reference/namespacesimulation__framework_1_1autonomy.md)
* [simulation\_framework::autonomy::communication](https://developer.synopsys.com/docs/avxcelerate/avxcelerate-simulation-framework/2026-r1/reference/namespacesimulation__framework_1_1autonomy_1_1communication.md)
* [simulation\_framework::autonomy::communication::utils](https://developer.synopsys.com/docs/avxcelerate/avxcelerate-simulation-framework/2026-r1/reference/namespacesimulation__framework_1_1autonomy_1_1communication_1_1utils.md)

## Includes

* [autonomy/communication/messages/autonomy\_msg.h](https://developer.synopsys.com/docs/avxcelerate/avxcelerate-simulation-framework/2026-r1/reference/autonomy__msg_8h.md)
* core/message/rtidds/generic\_bytes/generic\_bytes.hpp
* \<string>

## Source

```cpp theme={null}


#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
```

[private]: https://img.shields.io/badge/-private-red "private"

[public]: https://img.shields.io/badge/-public-brightgreen "public"

[const]: https://img.shields.io/badge/-const-lightblue "const"

[C++]: https://img.shields.io/badge/language-C%2B%2B-blue "C++"

[protected]: https://img.shields.io/badge/-protected-yellow "protected"

[static]: https://img.shields.io/badge/-static-lightgrey "static"
