Commit aec92dce authored by Akseppal's avatar Akseppal
Browse files

cosmetic changes

parent 594328d2
......@@ -128,7 +128,8 @@ namespace hpp {
std::cout << "It fulfils requirement "<< opIdx << std::endl;
totArea += triangles[triIdx].area;
potentialAffordances[opIdx].push_back(triIdx);
searchLinkedTriangles(potentialAffordances [opIdx], opVec[opIdx], triangles, unseenTriangles, triIdx, totArea);
searchLinkedTriangles(potentialAffordances [opIdx], opVec[opIdx],
triangles, unseenTriangles, triIdx, totArea);
if (totArea > opVec[opIdx]->minArea_) {
// save totArea for further use as well?
AffordancePtr_t aff(new Affordance (potentialAffordances [opIdx], colObj));
......
......@@ -36,7 +36,7 @@ BOOST_AUTO_TEST_CASE (operations)
const fcl::Vec3f normal1(0, 0, 1);
BOOST_CHECK_MESSAGE (support->zWorld_ == normal1,
"default value for zWorld should be " << normal1);
"default value for zWorld should be " << normal1 << " but is " << support->zWorld_);
BOOST_CHECK_MESSAGE (lean->margin_ == 0.1,
"margin should match the one given when creating operation");
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment