Skip to content
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

[All Distros] Default PyAssimp version 4.1.4 causes silent crash when loading STL through MoveIt's PlanningSceneInterface #441

Open
anion0278 opened this issue Feb 13, 2023 · 4 comments
Labels
bug Something isn't working MoveIt Bugs or PRs which affect MoveIt ROS1 ROS1 Related Issue ROS2 ROS2 related issues

Comments

@anion0278
Copy link

Describe the bug
PyAssimp version 4.1.4 causes a silent crash when loading STL through MoveIt's PlanningSceneInterface (Python).
The issue can be fixed by installing pyAssimp==4.1.3. The issue is present in both Melodic and Noetic and seems to be rather old (moveit/moveit#86 (comment), https://answers.ros.org/question/316515/cannot-add-mesh-files-to-moveit/) and related to pyAssimp itself rather than ROS (assimp/assimp#2343) .
A potential solution is to change the installed version in patch.bat

To Reproduce
Please see the attached MRE: example.zip
Steps:

roslaunch panda_moveit_config demo.launch
rosrun panda_moveit_config src/attached_obj_collision.py

attached_obj_collision.py silently fails after printing MoveIt commander ok, objects are not added into the scene, trajectory is not planned.

Expected behavior
Running attached_obj_collision.py (violet object in the attached image) should load work_object.stl into the planning scene and execute the trajectory around two green boxes.
image

Environment information:

  • OS version: Win11 22H2 22621.1105
  • Chocolatey Versions:
Chocolatey v1.2.0
chocolatey-compatibility.extension 1.0.0
chocolatey-core.extension 1.4.0
chocolatey-windowsupdate.extension 1.0.5
KB2919355 1.0.20160915
KB2919442 1.0.20160915
KB2999226 1.0.20181019
KB3033929 1.0.5
KB3035131 1.0.3
ros-melodic-moveit 20201221.0.0.2104300002
vcredist140 14.34.31931
vcredist2010 10.0.40219.32503
11 packages installed.
@ooeygui ooeygui added bug Something isn't working ROS1 ROS1 Related Issue MoveIt Bugs or PRs which affect MoveIt ROS2 ROS2 related issues labels Mar 9, 2023
@ooeygui
Copy link
Member

ooeygui commented Mar 9, 2023

Thanks for the report. Given the upstream issue, I'm tagging on all distros to validate.

@ooeygui ooeygui changed the title [Melodic, Noetic] Default PyAssimp version 4.1.4 causes silent crash when loading STL through MoveIt's PlanningSceneInterface [All Distros] Default PyAssimp version 4.1.4 causes silent crash when loading STL through MoveIt's PlanningSceneInterface Mar 10, 2023
@songyuc
Copy link

songyuc commented Jul 25, 2023

Hi! Is ROS2-Iron supported on Win11?

@ooeygui
Copy link
Member

ooeygui commented Jul 25, 2023

@songyuc Open Robotics provides Windows binaries for Iron. You can install them from here - https://docs.ros.org/en/iron/Installation/Windows-Install-Binary.html.

@songyuc
Copy link

songyuc commented Jul 25, 2023

Hi @ooeygui. The doc said they only support Win10.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working MoveIt Bugs or PRs which affect MoveIt ROS1 ROS1 Related Issue ROS2 ROS2 related issues
Projects
None yet
Development

No branches or pull requests

3 participants