Skip to content
Snippets Groups Projects
Commit 742ca99f authored by Fabian Reister's avatar Fabian Reister
Browse files

utils to obtain memoryid

parent 18bb8444
No related branches found
No related tags found
No related merge requests found
......@@ -43,6 +43,7 @@ armarx_add_library(
./aron_conversions.h
./utils.h
SOURCES
./common/localization/TransformHelper.cpp
......@@ -64,6 +65,8 @@ armarx_add_library(
./server/description/Segment.cpp
./aron_conversions.cpp
./utils.cpp
)
......
#include "utils.h"
namespace armarx::armem::robot_state
{
armarx::armem::MemoryID makeMemoryID(const robot::RobotDescription& desc)
{
return MemoryID("RobotState/Description")
.withProviderSegmentName(desc.name)
.withEntityName("description");
}
}
\ No newline at end of file
#pragma once
#include "RobotAPI/libraries/armem/core/MemoryID.h"
#include "RobotAPI/libraries/armem_robot/types.h"
namespace armarx::armem::robot_state
{
armarx::armem::MemoryID makeMemoryID(const robot::RobotDescription& desc);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment