Comments (8)
Awesome, got it to work! Set the magic number to 1000 instead of 100. It may be easier to just make the number of vertices dependent on the cylinder radius; That would prevent any need for exposing an additional parameter. I believe that this is how the sphere is handled. I'll create a pull request as soon as I get a chance.
Thanks!
from collada_urdf.
Fixed in moveit/geometric_shapes#92
from collada_urdf.
Thanks for the bug report! I don't think I will have time to investigate this week. Would you mind checking if a URDF with a single link with a single cylinder reproduces the problem?
from collada_urdf.
Indeed, here are the results for a single link.
foobar_arm_minimal.urdf.txt
out_minimal.dae.txt
from collada_urdf.
Thanks for the single link case! It looks like geometric_shapes
has a hard coded parameter defining the number of triangles to use when creating a mesh for a cylinder. It results in a pretty small number of triangles for a cylinder of radius 0.05. A workaround would be to build geometric_shapes
from source and increase the value.
If createMeshFromShape(Cylinder)
parameterized this value, it would need to be passed through urdf_to_collada
here.
I don't think I will be able to implement this anytime soon. If you happen to fix it a pull request would be welcome.
from collada_urdf.
@bkinman Do you know if there has been any movement over at ros/geometric_shapes on exposing the number as a parameter?
from collada_urdf.
from collada_urdf.
Closing since this was solved upstream
from collada_urdf.
Related Issues (20)
- [collada_urdf] [question] is the tinyxml dependency required?
- [collada_urdf] lots of warning and errors when running tests due to missing pr2_description package HOT 2
- collada_to_urdf .dae files broken as viewed in Meshlab HOT 3
- Model colours are ignored after an URDF to Collada conversion HOT 2
- request for release HOT 3
- fatal error: dae.h: No such file or directory compilation terminated. HOT 1
- Error when installing collada_urdf HOT 3
- [ WARN] [1574689624.469138015]: failed to load resource ../meshes/ur5/visual/base.obj HOT 2
- [collada to urdf] Segmentation fault in gazebo (Ubuntu 18.04) HOT 2
- noetic release HOT 2
- collada_urdf urdf to dae faile HOT 3
- Segmentation fault (core dumped) HOT 3
- Invalid collada file. Must be version 1.4.0 or 1.4.1
- CMake issue with the release on noetic HOT 11
- collada to urdf error, invalid COLLADA version with DOM? HOT 4
- collada to urdf does not need to depend on TF HOT 6
- collada_parser build failure on debian jessie HOT 1
- URDF to Collada: joint coordinate system not observed? HOT 11
- Linking issue when building from source on ARM device HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from collada_urdf.