76 remoteRobot.reset(
new RemoteRobot(robotStateComponent->getSynchronizedRobot()));
77 std::string robotfilepath = robotStateComponent->getRobotFilename();
80 auto packages = robotStateComponent->getArmarXPackages();
81 for (
auto& p : packages)
88 ARMARX_WARNING <<
"Could not get absolute robot model filepath for relative path : "
89 << robotfilepath <<
" - using network clone";
95 robotStateComponent, robotfilepath, {}, VirtualRobot::RobotIO::eCollisionModel);
97 robotStateComponent, robotfilepath, {}, VirtualRobot::RobotIO::eStructure);
98 robotPool.reset(
new RobotPool(localCollisionRobot));
104 MotionControlGroupStatechartContext::createPropertyDefinitions()
static bool getAbsolutePath(const std::string &relativeFilename, std::string &storeAbsoluteFilename, const std::vector< std::string > &additionalSearchPaths={}, bool verbose=true)
static void addDataPaths(const std::string &dataPathList)
The CMakePackageFinder class provides an interface to the CMake Package finder capabilities.
std::string getDataDir() const
std::string getConfigIdentifier()
Retrieve config identifier for this component as set in constructor.
Property< PropertyType > getProperty(const std::string &name)
void offeringTopic(const std::string &name)
Registers a topic for retrival after initialization.
TopicProxyType getTopic(const std::string &name)
Returns a proxy of the specified topic.
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)
void onInitStatechartContext() override
onInitStatechartonInitStatechartContext can be implemented by subclasses
void onConnectStatechartContext() override
onConnectStatechartContext can be implemented by subclasses
Mimics the behaviour of the VirtualRobot::Robot class while redirecting everything to an Ice proxy.
VirtualRobot::RobotPtr createLocalClone()
Clones the structure of this remote robot to a local instance.
This class holds a pool of local VirtualRobots for multi threaded applications that can be requested ...
#define ARMARX_INFO
The normal logging level.
#define ARMARX_WARNING
The logging level for unexpected behaviour, but not a serious problem.
This file offers overloads of toIce() and fromIce() functions for STL container types.
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.