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

fix: robot conversions: converting robot state

parent a320d66a
No related branches found
No related tags found
No related merge requests found
......@@ -43,10 +43,10 @@ namespace armarx::armem::robot
std::optional<RobotState> convertRobotState(const armem::wm::EntityInstance& instance)
{
arondto::RobotState aronRobotState;
arondto::Robot aronRobot;
try
{
aronRobotState.fromAron(instance.data());
aronRobot.fromAron(instance.data());
}
catch (...)
{
......@@ -55,7 +55,7 @@ namespace armarx::armem::robot
}
RobotState robotState;
fromAron(aronRobotState, robotState);
fromAron(aronRobot.state, robotState);
return robotState;
}
......
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