47 getContext<CoupledInteractionGroupStatechartContext>();
49 Eigen::Matrix4f leftTcpPoseBase =
50 context->
getRobot()->getRobotNode(in.getLeftHandName())->getPoseInRootFrame();
51 Eigen::Matrix4f rightTcpPoseBase =
52 context->
getRobot()->getRobotNode(in.getRightHandName())->getPoseInRootFrame();
53 ARMARX_INFO <<
"LeftHandName in Liftable " << in.getLeftHandName();
54 ARMARX_INFO <<
"RightHandName in Liftable " << in.getRightHandName();
55 ARMARX_INFO <<
"Lift Offset " << in.getLiftOffset();
57 FramedPose(leftTcpPoseBase, std::string(
"Armar3"), std::string(
"Armar3_Base"));
59 FramedPose(rightTcpPoseBase, std::string(
"Armar3"), std::string(
"Armar3_Base"));
60 local.setInitialLeftTcpPose(leftTcpPose);
61 local.setInitialRightTcpPose(rightTcpPose);
86 getContext<CoupledInteractionGroupStatechartContext>();
98 ARMARX_VERBOSE <<
"Attch to hand... Object Name:" << objName <<
", hand name:"
99 << in.getLeftHandMemoryChannel()->getDataField(
"className")->getString();
101 in.getLeftHandMemoryChannel()->getDataField(
"className")->getString());
104 ChannelRefBasePtr handChannel = handInstances.front();
108 ChannelRefPtr::dynamicCast(handChannel));
114 object->getId(), newMotionModel);
116 <<
"Attached " << objName <<
" to "
117 << ChannelRefPtr::dynamicCast(handChannel)->getDataField(
"className")->getString();
custom implementation of the StatechartContext for a statechart
RobotStateComponentInterfacePrx getRobotStateComponent()
memoryx::ObjectMemoryObserverInterfacePrx getObjectMemoryObserverProxy()
TCPControlUnitInterfacePrx getTCPControlUnit()
memoryx::WorkingMemoryInterfacePrx getWorkingMemoryProxy()
const VirtualRobot::RobotPtr getRobot()
LiftTable(XMLStateConstructorParams stateData)
static SubClassRegistry Registry
static std::string GetName()
static XMLStateFactoryBasePtr CreateInstance(XMLStateConstructorParams stateData)
Class for legacy to stay compatible with old statecharts.
#define ARMARX_CHECK_EXPRESSION(expression)
This macro evaluates the expression and if it turns out to be false it will throw an ExpressionExcept...
#define ARMARX_INFO
The normal logging level.
#define ARMARX_IMPORTANT
The logging level for always important information, but expected behaviour (in contrast to ARMARX_WAR...
#define ARMARX_VERBOSE
The logging level for verbose information.
This file offers overloads of toIce() and fromIce() functions for STL container types.
IceInternal::Handle< XMLStateFactoryBase > XMLStateFactoryBasePtr
IceInternal::Handle< MotionModelAttachedToOtherObject > MotionModelAttachedToOtherObjectPtr
IceInternal::Handle< ObjectInstance > ObjectInstancePtr