-
Notifications
You must be signed in to change notification settings - Fork 481
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
Segmentation fault on spawning model with collada mesh generated by assimp on ubuntu 18.04 #2682
Comments
k-okada
added a commit
to k-okada/gazebo
that referenced
this issue
Aug 4, 2020
k-okada
added a commit
to k-okada/gazebo
that referenced
this issue
Aug 4, 2020
…ORMAL) * vcount.size() * 3. If both VERTEX and NORMAL have offset 0, then the length of polylist <p> is vcount.size() * 3. So use length of set(offset) as inputSize. This fix for cases where VERTEX and NROMAL share same vcounts, see gazebosim#2682 (comment)
iche033
pushed a commit
that referenced
this issue
Aug 11, 2020
…see #2682 (comment) (#2811) * add test to check gazebo model generated by assimp4, see #2682 * Length of polylist <p> is not the number of inputs (i.e. VERTEX and NORMAL) * vcount.size() * 3. If both VERTEX and NORMAL have offset 0, then the length of polylist <p> is vcount.size() * 3. So use length of set(offset) as inputSize. This fix for cases where VERTEX and NROMAL share same vcounts, see #2682 (comment) * fix typo, style, remove comments
k-okada
added a commit
to k-okada/gazebo
that referenced
this issue
Aug 14, 2020
k-okada
added a commit
to k-okada/gazebo
that referenced
this issue
Aug 14, 2020
…ORMAL) * vcount.size() * 3. If both VERTEX and NORMAL have offset 0, then the length of polylist <p> is vcount.size() * 3. So use length of set(offset) as inputSize. This fix for cases where VERTEX and NROMAL share same vcounts, see gazebosim#2682 (comment)
scpeters
added a commit
that referenced
this issue
Aug 25, 2020
…<p> (#2825) * add test to check gazebo model generated by assimp4, see #2682 * Length of polylist <p> is not the number of inputs (i.e. VERTEX and NORMAL) * vcount.size() * 3. If both VERTEX and NORMAL have offset 0, then the length of polylist <p> is vcount.size() * 3. So use length of set(offset) as inputSize. This fix for cases where VERTEX and NORMAL share same vcounts, see #2682 (comment) Signed-off-by: Steve Peters <scpeters@openrobotics.org> Co-authored-by: Steve Peters <scpeters@openrobotics.org>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Original report (archived issue) by Naoki Hiraoka (Bitbucket: Naoki-Hiraoka).
related to ros/collada_urdf#34
When I spawned an urdf model with collada meshes into gazebo9 (ubuntu18.04), I got Segmentation fault (core dumped).
I generated the collada meshes with assimp v4.1.0.
I did not get this Segmentation fault on ubuntu 16.04 (gazebo7, assimp v3.2).
I think this is because of versions of assimp.
This commit of assimp assimp/assimp@36e53b7#diff-758737a587ca204dec82e47c452466d2
changed the output collada mesh
ftom
to
This modification may cause
index out of range
at this line of gazebo.https://github.com/osrf/gazebo/blob/f57e4e95988c14f99ee48f736253b76ef5309f10/gazebo/common/ColladaLoader.cc#L1548
The text was updated successfully, but these errors were encountered: