-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mesh with no faces created for small cylinders #28
Comments
I came to this problem through an entirely different issue: Initialize a MoveIt! DepthImageOctomapUpdater takes ages for a turtlebot, because the poles are described as very small radius cylinders: top and h_num become 0 and the loop on line 514 iterates max unsigned int times. This is the first time I see this code, so please, someone confortable with it, check that I'm not doing something silly!.
Fix issue moveit#28 on small radius cylinders
Fix issue #28 on small radius cylinders
This can be closed, right? |
Agreed, this issue can be closed. Some maintainers like to leave the issue open until the version with the fix is released into rosdistro. Speaking of which, @davetcoleman etc., when can we expect a release of this package? I could do one if I was added to the ros-planning org. |
I do not know, I have not been asked to do package releases, only @rethink-imcmahon and @130s. Overall ros-planning is lacking leadership IMHO |
Gotcha. I'll see what I can do :) |
This looks like a pretty trivial change since our last release -- pushing a new release now |
released into indigo + jade in 0.4.4 |
thanks @mikeferguson! |
We encountered this issue when attempting to convert the Robotiq hand model from DRCSim using urdf_to_collada. If a cylinder element is smaller than 0.01, no faces are created, and urdf_to_collada will subsequently crash. From looking at the code in mesh_operations.cpp, the mesh generation for cone objects would be prone to the same issue.
The simplest fix is probably to enforce a sensible minimum for
unsigned int tot
.Here is a small example, test with
rosrun collada_urdf urdf_to_collada test.urdf test.dae
.The text was updated successfully, but these errors were encountered: