Skip to content
This repository has been archived by the owner on Nov 13, 2017. It is now read-only.

Commit

Permalink
fixing adding tables to the collision world
Browse files Browse the repository at this point in the history
  • Loading branch information
nlyubova authored and nlyubova committed Nov 26, 2015
1 parent 74afed7 commit 885e9f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion perception/semantic_world/src/semantic_world.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ bool SemanticWorld::addTablesToCollisionWorld()
std::vector<unsigned int> triangles((vertices.size() - 2)* 3);
for (unsigned int j = 0 ; j < convex_hull.size() ; ++j)
vertices[j] = Eigen::Vector3d(convex_hull[j].x, convex_hull[j].y, convex_hull[j].z);
for (unsigned int j = 1; j < triangles.size() - 1; ++j)
for (unsigned int j = 0; j < vertices.size() - 2; ++j)
{
unsigned int i3 = j * 3;
triangles[i3++] = 0;
Expand Down

0 comments on commit 885e9f5

Please sign in to comment.