22 int numOfJoints = std::numeric_limits<int>::max();
24 std::vector<VirtualRobot::RobotNodeSetPtr> possibleNodeSets;
28 if (nodeSet->getTCP() and simox::alg::contains(nodeSet->getName(),
"Arm") and
29 !simox::alg::contains(nodeSet->getName(),
"ColModel") and
30 simox::alg::starts_with(nodeSet->getTCP()->getName(),
"TCP"))
32 ARMARX_INFO <<
"Found possible node set for grasp: " << nodeSet->getName()
33 <<
". The TCP is: " << nodeSet->getTCP()->getName();
34 auto nodeSetName = nodeSet->getName();
35 auto tcpName = nodeSet->getTCP()->getName();
38 auto currentNumOfJoints = nodeSet->size();
41 tcpPoseGlobal.block<3, 1>(0, 3))
47 currentNumOfJoints) or
53 <<
VAROUT(currentNumOfJoints) <<
" <-> " <<
VAROUT(numOfJoints);
57 numOfJoints = currentNumOfJoints;
91 auto targetPlatformPoseLocal =
95 targetPlatformPoseLocal(1, 3) += -600;
96 if (tcpPoseLocal(0, 3) < 0)
98 targetPlatformPoseLocal(0, 3) += 100;
102 targetPlatformPoseLocal(0, 3) += -100;