ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I just solve it. The problem was in the vector. I removed at the end the ,b from

shapes::Mesh* m = shapes::createMeshFromResource("package://robot_rx160/meshes/gtbx/Ramecek.STL",b);

so

shapes::Mesh* m = shapes::createMeshFromResource("package://robot_rx160/meshes/gtbx/Ramecek.STL");

And now it is OK. Thank you for help.

I just solve it. The problem was in the vector. I removed at the end the ,b from

shapes::Mesh* m = shapes::createMeshFromResource("package://robot_rx160/meshes/gtbx/Ramecek.STL",b);

so

shapes::Mesh* m = shapes::createMeshFromResource("package://robot_rx160/meshes/gtbx/Ramecek.STL");

and also removed the lines

collision_object.meshes.push_back(mesh);

collision_object.mesh_poses.push_back(collision_object.mesh_poses[0]);

And now it is OK. Thank you for help.