34#define DEFAULT_SETTINGS_AGENT_INSTANCES_SEGMENT_NAME "agentInstances"
60 ARMARX_INFO <<
"Using platform unit:" << platformUnitName
61 <<
", platform observer:" << platformUnitObserverName;
101 platformUnitObserverPrx =
109 remoteRobot.reset(
new RemoteRobot(robotStateComponent->getSynchronizedRobot()));
122 AgentInstancesSegmentBasePrx agentInstancesProxy =
123 AgentInstancesSegmentBasePrx::uncheckedCast(
126 if (agentInstancesProxy)
128 agent = AgentInstancePtr::dynamicCast(
129 agentInstancesProxy->getAgentInstanceByName(
"Armar3"));
140 Eigen::Matrix4f robotPose = Eigen::Matrix4f::Identity();
153 robotPose.block<3,1>(0, 3) = agentPosition->toEigen();
158 if (agentOrientation)
160 robotPose.block<3, 3>(0, 0) = agentOrientation->toEigen();
168 CoupledInteractionGroupStatechartContext::createPropertyDefinitions()
#define DEFAULT_SETTINGS_AGENT_INSTANCES_SEGMENT_NAME
std::string getConfigIdentifier()
Retrieve config identifier for this component as set in constructor.
Property< PropertyType > getProperty(const std::string &name)
Eigen::Matrix4f getRobotPose()
void onInitStatechartContext() override
onInitStatechartonInitStatechartContext can be implemented by subclasses
void onConnectStatechartContext() override
onConnectStatechartContext can be implemented by subclasses
SpamFilterDataPtr deactivateSpam(float deactivationDurationSec=10.0f, const std::string &identifier="", bool deactivate=true) const
disables the logging for the current line for the given amount of seconds.
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)
Mimics the behaviour of the VirtualRobot::Robot class while redirecting everything to an Ice proxy.
#define ARMARX_INFO
The normal logging level.
#define ARMARX_ERROR
The logging level for unexpected behaviour, that must be fixed.
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.
IceInternal::Handle< FramedPosition > FramedPositionPtr
IceInternal::Handle< FramedOrientation > FramedOrientationPtr