30 using namespace CoupledInteractionGroup;
51 std::string leftTcpName = in.getLeftHandName();
52 std::string rightTcpName = in.getRightHandName();
75 Eigen::Vector3f zeroVelVec;
76 zeroVelVec << 0.0, 0.0, 0.0;
82 Eigen::Matrix4f leftTcpPoseBase = context->
getRobot()->getRobotNode(in.getLeftHandName())->getPoseInRootFrame();
83 Eigen::Matrix4f rightTcpPoseBase = context->
getRobot()->getRobotNode(in.getRightHandName())->getPoseInRootFrame();
85 Eigen::Vector3f leftTcpPos;
86 leftTcpPos << leftTcpPoseBase(0, 3), leftTcpPoseBase(1, 3), leftTcpPoseBase(2, 3);
87 Eigen::Vector3f rightTcpPos;
88 rightTcpPos << rightTcpPoseBase(0, 3), rightTcpPoseBase(1, 3), rightTcpPoseBase(2, 3);
90 local.setCurrentRightHandPosition(
FramedPosition(rightTcpPos,
"Armar3_Base",
"Armar3"));
91 local.setCurrentLeftHandPosition(
FramedPosition(leftTcpPos,
"Armar3_Base",
"Armar3"));
92 float velInMillimeterSecond = 20.0;
95 local.setCurrentLeftHandForces(curForceLeft);
96 local.setCurrentRightHandForces(curForceRight);
97 local.setCurrentRightHandTorques(curTorqueRight);
98 local.setCurrentLeftHandTorques(curTorqueLeft);
99 local.setVelocityInMillimetersSecond(velInMillimeterSecond);
100 local.setCurrentLeftTcpOriVelocity(curVelOriLeft);
101 local.setCurrentRightTcpOriVelocity(curVelOriRight);
102 local.setCurrentLeftTcpPosVelocity(curVelLeft);
103 local.setCurrentRightTcpPosVelocity(curVelRight);
104 local.setLeftHandStopped(
false);
105 local.setRightHandStopped(
false);
106 local.setLeftHandChecked(
false);
107 local.setRightHandChecked(
false);
131 std::string leftTcpName = in.getLeftHandName();
132 std::string rightTcpName = in.getRightHandName();