Skip to content

Commit

Permalink
lower boxes
Browse files Browse the repository at this point in the history
  • Loading branch information
jgvictores committed Sep 15, 2023
1 parent 7225560 commit db790a4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ class OpenraveYarpIroning : public OpenRAVE::ModuleBase,
OpenRAVE::KinBodyPtr objKinBodyPtr = OpenRAVE::RaveCreateKinBody(_penv, "");
std::vector<OpenRAVE::AABB> boxes(1);
boxes[0].extents = OpenRAVE::Vector(tableX / (2.0 * squaresX), tableY / (2.0 * squaresY), 0.01);
boxes[0].pos = OpenRAVE::Vector(0.6 + (0.5 + sboxIdxX) * tableX / squaresX, -(tableY / 2.0) + (0.5 + sboxIdxY) * tableY / squaresY, 0.01);
boxes[0].pos = OpenRAVE::Vector(0.6 + (0.5 + sboxIdxX) * tableX / squaresX, -(tableY / 2.0) + (0.5 + sboxIdxY) * tableY / squaresY, 0.01-0.1);
objKinBodyPtr->InitFromBoxes(boxes, true);
std::string objName("sbox_");
std::ostringstream s;
Expand Down

0 comments on commit db790a4

Please sign in to comment.