25 #include <SimoxUtility/algorithm/string/string_tools.h>
44 kinematicUnitObserverName =
45 getProperty<std::string>(
"KinematicUnitObserverName").getValue();
47 usingProxy(getProperty<std::string>(
"KinematicUnitName").getValue());
48 usingProxy(getProperty<std::string>(
"RobotStateComponentName").getValue());
51 if (!getProperty<std::string>(
"HandUnits").getValue().
empty())
53 std::string handUnitsProp = getProperty<std::string>(
"HandUnits").getValue();
56 for (
size_t i = 0; i < handUnitList.size(); i++)
64 headIKUnitName = getProperty<std::string>(
"HeadIKUnitName").getValue();
67 if (!headIKUnitName.empty())
80 std::string rbStateName = getProperty<std::string>(
"RobotStateComponentName").getValue();
82 std::string kinUnitName = getProperty<std::string>(
"KinematicUnitName").getValue();
85 getProxy<KinematicUnitObserverInterfacePrx>(kinematicUnitObserverName);
90 if (!headIKUnitName.empty())
92 headIKUnitPrx = getProxy<HeadIKUnitInterfacePrx>(headIKUnitName);
98 if (!getProperty<std::string>(
"HandUnits").getValue().
empty())
100 std::string handUnitsProp = getProperty<std::string>(
"HandUnits").getValue();
103 for (
size_t i = 0; i < handUnitList.size(); i++)
106 HandUnitInterfacePrx handPrx = getProxy<HandUnitInterfacePrx>(handUnitList.at(i));
108 ARMARX_INFO <<
"Fetched handUnit proxy " << handUnitList.at(i) <<
": " << handPrx
129 ARMARX_INFO <<
"Found proxy of hand unit with name " << handUnitName <<
flush;
133 ARMARX_INFO <<
"Do not know proxy of hand unit with name " << handUnitName <<
flush;
134 std::map<std::string, HandUnitInterfacePrx>::iterator it =
handUnits.begin();
138 ARMARX_INFO <<
"************ Known hand units: " << it->first <<
":" << it->second
143 return HandUnitInterfacePrx();