38 namespace PickAndPlaceGroup
43 usingProxy(getProperty<std::string>(
"KinematicUnitName").getValue());
44 usingProxy(getProperty<std::string>(
"KinematicUnitObserverName").getValue());
45 usingProxy(getProperty<std::string>(
"RobotStateComponentName").getValue());
46 usingProxy(getProperty<std::string>(
"TCPControlUnitName").getValue());
49 usingProxy(getProperty<std::string>(
"ForceTorqueObserverName").getValue());
50 usingProxy(getProperty<std::string>(
"WorkingMemoryName").getValue());
51 usingProxy(getProperty<std::string>(
"ObjectMemoryObserverName").getValue());
52 usingProxy(getProperty<std::string>(
"PriorKnowledgeName").getValue());
58 headIKUnitName = getProperty<std::string>(
"HeadIKUnitName").getValue();
60 headIKKinematicChainName = getProperty<std::string>(
"HeadIKKinematicChainName").getValue();
62 if (!headIKUnitName.empty())
73 robotStateComponent = getProxy<RobotStateComponentInterfacePrx>(getProperty<std::string>(
"RobotStateComponentName").getValue());
74 kinematicUnitPrx = getProxy<KinematicUnitInterfacePrx>(getProperty<std::string>(
"KinematicUnitName").getValue());
75 kinematicUnitObserverPrx = getProxy<KinematicUnitObserverInterfacePrx>(getProperty<std::string>(
"KinematicUnitObserverName").getValue());
76 tcpControlPrx = getProxy<TCPControlUnitInterfacePrx>(getProperty<std::string>(
"TCPControlUnitName").getValue());
79 ftUnitObserverPrx = getProxy<ForceTorqueUnitObserverInterfacePrx>(getProperty<std::string>(
"ForceTorqueObserverName").getValue());
81 workingMemoryProxy = getProxy<memoryx::WorkingMemoryInterfacePrx>(getProperty<std::string>(
"WorkingMemoryName").getValue());
82 objectMemoryObserverProxy = getProxy<memoryx::ObjectMemoryObserverInterfacePrx>(getProperty<std::string>(
"ObjectMemoryObserverName").getValue());
83 priorKnowledgeProxy = getProxy<memoryx::PriorKnowledgeInterfacePrx>(getProperty<std::string>(
"PriorKnowledgeName").getValue());
85 if (!headIKUnitName.empty())
87 headIKUnitPrx = getProxy<HeadIKUnitInterfacePrx>(headIKUnitName);
88 ARMARX_LOG << eINFO <<
"Fetched headIK proxy " << headIKUnitName <<
":" << headIKUnitPrx <<
", head IK kin chain:" << headIKKinematicChainName <<
flush;
92 remoteRobot.reset(
new RemoteRobot(robotStateComponent->getSynchronizedRobot()));