Skip to content

workaround for https://github.com/ros-planning/moveit/issues/86 - #581

Merged
v4hn merged 3 commits into
moveit:kinetic-develfrom
k-okada:kinetic-devel
Aug 19, 2017

Conversation

@k-okada

@k-okada k-okada commented Aug 9, 2017 •

Copy link
Copy Markdown
Contributor

this PR just to skip import pyassimp, so if you need to build mesh, we have problem
But I think this still useful, because we can at least, start moveit_commander, until https://bugs.launchpad.net/ubuntu/+source/assimp/+bug/1589949
is get merged.

k-okada added a commit to k-okada/rtmros_hironx that referenced this pull request Aug 9, 2017
k-okada added a commit to k-okada/rtmros_hironx that referenced this pull request Aug 9, 2017
k-okada added a commit to k-okada/rtmros_hironx that referenced this pull request Aug 9, 2017
k-okada added a commit to k-okada/rtmros_hironx that referenced this pull request Aug 9, 2017
@v4hn

v4hn commented Aug 9, 2017

Copy link
Copy Markdown
Contributor

Plain and simple. +1

k-okada added a commit to k-okada/rtmros_nextage that referenced this pull request Aug 10, 2017
k-okada added a commit to tork-a/rtmros_nextage that referenced this pull request Aug 11, 2017
@v4hn v4hn added the awaits 2nd review one maintainer approved this request label Aug 16, 2017

@davetcoleman davetcoleman left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@k-okada hi! thanks for this patch, one small change

from pyassimp import pyassimp
except:
# support pyassimp > 3.0
import pyassimp

@davetcoleman davetcoleman Aug 17, 2017 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

instead of removing this import, can we leave it as a comment so its more obvious how to restore this functionality if/when pyassimp is fixed?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@davetcoleman keep original comment, and also add try - except around import, becuase if you use pyassimp 3.2 or manually fix this problem, import pyassimp works well.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let me know if we need further fix! thanks.

@jrgnicho

Copy link
Copy Markdown
Contributor

I'm not too familiar with the moveit commander but this seems pretty straight forward and provides enough feedback should pyassimp fail. Makes me wonder why the moveit commander needs to manage any meshes at all.
Either way I'm OK with merging this.

@v4hn
v4hn merged commit f00addf into moveit:kinetic-devel Aug 19, 2017
@v4hn

v4hn commented Aug 19, 2017

Copy link
Copy Markdown
Contributor

Thanks for the submission @k-okada !
Finally this should be fixed for most users ootb.

@jrgnicho: I guess because someone wanted to be able to add meshes from files to the scene for convenience.
I agree, this could have been separated into a different file to avoid such issues...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaits 2nd review one maintainer approved this request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants