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

ObjectMemory: minor checks

parent 91f5ccf5
No related branches found
No related tags found
1 merge request!251Feature/object memory connected to robot state memory
......@@ -141,14 +141,16 @@ namespace armarx::armem::server::obj
// : RobotState::addRobot(robotKey, VirtualRobot::RobotIO::RobotDescription::eStructure);
// TODO: the instance segment should check the provided object poses and instantiate the needed robots by itself.
VirtualRobot::RobotPtr robot = virtualRobotReaderPlugin->get().getSynchronizedRobot(robotName, armarx::Clock::Now());
ARMARX_CHECK_NOT_NULL(virtualRobotReaderPlugin);
VirtualRobot::RobotPtr robot = virtualRobotReaderPlugin->get().getSynchronizedRobot(robotName, armarx::Clock::Now(), VirtualRobot::RobotIO::RobotDescription::eStructure, true);
ARMARX_CHECK_NOT_NULL(robot);
getProxyFromProperty(kinematicUnitObserver, "cmp.KinematicUnitObserverName", false, "", false);
// Create first to use the original values.
createRemoteGuiTab();
ARMARX_CHECK_NOT_NULL(virtualRobotReaderPlugin);
// ARMARX_CHECK(virtualRobotReaderPlugin->isAvailable());
instance::SegmentAdapter::connect(
......
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