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

serialization of robot description

parent c2d61262
No related branches found
No related tags found
No related merge requests found
...@@ -22,6 +22,7 @@ armarx_add_library( ...@@ -22,6 +22,7 @@ armarx_add_library(
robot_conversions.h robot_conversions.h
SOURCES SOURCES
types.cpp
aron_conversions.cpp aron_conversions.cpp
robot_conversions.cpp robot_conversions.cpp
......
#include "types.h"
namespace armarx::armem::robot
{
std::ostream& operator<<(std::ostream &os, const RobotDescription &rhs)
{
os << "RobotDescription { name: '" << rhs.name << "', xml: '" << rhs.xml << "' }";
return os;
}
}
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
#include <IceUtil/Time.h> #include <IceUtil/Time.h>
#include "RobotAPI/libraries/ArmarXObjects/ObjectID.h"
#include <ArmarXCore/core/PackagePath.h> #include <ArmarXCore/core/PackagePath.h>
...@@ -46,4 +47,6 @@ namespace armarx::armem::robot ...@@ -46,4 +47,6 @@ namespace armarx::armem::robot
using RobotDescriptions = std::vector<RobotDescription>; using RobotDescriptions = std::vector<RobotDescription>;
using RobotStates = std::vector<RobotState>; using RobotStates = std::vector<RobotState>;
std::ostream& operator<<(std::ostream &os, const RobotDescription &rhs);
} // namespace armarx::armem::robot } // namespace armarx::armem::robot
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