25#include <SimoxUtility/algorithm/string/string_tools.h>
44 kinematicUnitObserverName =
54 std::vector<std::string> handUnitList = simox::alg::split(handUnitsProp,
",");
56 for (
size_t i = 0; i < handUnitList.size(); i++)
58 simox::alg::trim(handUnitList.at(i));
67 if (!headIKUnitName.empty())
90 if (!headIKUnitName.empty())
101 std::vector<std::string> handUnitList = simox::alg::split(handUnitsProp,
",");
103 for (
size_t i = 0; i < handUnitList.size(); i++)
105 simox::alg::trim(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();
std::string getConfigIdentifier()
Retrieve config identifier for this component as set in constructor.
Property< PropertyType > getProperty(const std::string &name)
bool usingProxy(const std::string &name, const std::string &endpoints="")
Registers a proxy for retrieval after initialization and adds it to the dependency list.
Ice::ObjectPrx getProxy(long timeoutMs=0, bool waitForScheduler=true) const
Returns the proxy of this object (optionally it waits for the proxy)
Mimics the behaviour of the VirtualRobot::Robot class while redirecting everything to an Ice proxy.
VirtualRobot::RobotPtr remoteRobot
RobotStateComponentInterfacePrx robotStateComponent
Prx for the RobotState.
KinematicUnitObserverInterfacePrx kinematicUnitObserverPrx
KinematicUnitInterfacePrx kinematicUnitPrx
HeadIKUnitInterfacePrx headIKUnitPrx
void onInitStatechartContext() override
onInitStatechartonInitStatechartContext can be implemented by subclasses
HandUnitInterfacePrx getHandUnit(const std::string &handUnitName)
std::map< std::string, HandUnitInterfacePrx > handUnits
PropertyDefinitionsPtr createPropertyDefinitions() override
std::string headIKKinematicChainName
void onConnectStatechartContext() override
onConnectStatechartContext can be implemented by subclasses
#define ARMARX_INFO
The normal logging level.
This file offers overloads of toIce() and fromIce() functions for STL container types.
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.
const LogSender::manipulator flush