21 int numOfJoints = std::numeric_limits<int>::max();
23 std::vector<VirtualRobot::RobotNodeSetPtr> possibleNodeSets;
27 if (nodeSet->getTCP() and simox::alg::contains(nodeSet->getName(),
"Arm") and
28 !simox::alg::contains(nodeSet->getName(),
"ColModel") and
29 simox::alg::starts_with(nodeSet->getTCP()->getName(),
"TCP"))
31 ARMARX_INFO <<
"Found possible node set for grasp: " << nodeSet->getName()
32 <<
". The TCP is: " << nodeSet->getTCP()->getName();
33 auto nodeSetName = nodeSet->getName();
34 auto tcpName = nodeSet->getTCP()->getName();
37 auto currentNumOfJoints = nodeSet->size();
40 tcpPoseGlobal.block<3, 1>(0, 3))
46 currentNumOfJoints) or
52 <<
VAROUT(currentNumOfJoints) <<
" <-> " <<
VAROUT(numOfJoints);
56 numOfJoints = currentNumOfJoints;
90 auto targetPlatformPoseLocal =
94 targetPlatformPoseLocal(1, 3) += -600;
95 if (tcpPoseLocal(0, 3) < 0)
97 targetPlatformPoseLocal(0, 3) += 100;
101 targetPlatformPoseLocal(0, 3) += -100;