36 namespace PickAndPlaceGroup
42 usingProxy(getProperty<std::string>(
"KinematicUnitName").getValue());
43 usingProxy(getProperty<std::string>(
"KinematicUnitObserverName").getValue());
44 usingProxy(getProperty<std::string>(
"RobotStateComponentName").getValue());
45 usingProxy(getProperty<std::string>(
"TCPControlUnitName").getValue());
48 usingProxy(getProperty<std::string>(
"ForceTorqueObserverName").getValue());
49 usingProxy(getProperty<std::string>(
"WorkingMemoryName").getValue());
50 usingProxy(getProperty<std::string>(
"ObjectMemoryObserverName").getValue());
51 usingProxy(getProperty<std::string>(
"PriorKnowledgeName").getValue());
57 headIKUnitName = getProperty<std::string>(
"HeadIKUnitName").getValue();
59 headIKKinematicChainName =
60 getProperty<std::string>(
"HeadIKKinematicChainName").getValue();
62 if (!headIKUnitName.empty())
73 robotStateComponent = getProxy<RobotStateComponentInterfacePrx>(
74 getProperty<std::string>(
"RobotStateComponentName").getValue());
75 kinematicUnitPrx = getProxy<KinematicUnitInterfacePrx>(
76 getProperty<std::string>(
"KinematicUnitName").getValue());
77 kinematicUnitObserverPrx = getProxy<KinematicUnitObserverInterfacePrx>(
78 getProperty<std::string>(
"KinematicUnitObserverName").getValue());
79 tcpControlPrx = getProxy<TCPControlUnitInterfacePrx>(
80 getProperty<std::string>(
"TCPControlUnitName").getValue());
83 ftUnitObserverPrx = getProxy<ForceTorqueUnitObserverInterfacePrx>(
84 getProperty<std::string>(
"ForceTorqueObserverName").getValue());
86 workingMemoryProxy = getProxy<memoryx::WorkingMemoryInterfacePrx>(
87 getProperty<std::string>(
"WorkingMemoryName").getValue());
88 objectMemoryObserverProxy = getProxy<memoryx::ObjectMemoryObserverInterfacePrx>(
89 getProperty<std::string>(
"ObjectMemoryObserverName").getValue());
90 priorKnowledgeProxy = getProxy<memoryx::PriorKnowledgeInterfacePrx>(
91 getProperty<std::string>(
"PriorKnowledgeName").getValue());
93 if (!headIKUnitName.empty())
95 headIKUnitPrx = getProxy<HeadIKUnitInterfacePrx>(headIKUnitName);
96 ARMARX_LOG << eINFO <<
"Fetched headIK proxy " << headIKUnitName <<
":"
97 << headIKUnitPrx <<
", head IK kin chain:" << headIKKinematicChainName
102 remoteRobot.reset(
new RemoteRobot(robotStateComponent->getSynchronizedRobot()));
107 PickAndPlaceGroupStatechartContext::createPropertyDefinitions()