Skip to content
This repository was archived by the owner on Jul 12, 2024. It is now read-only.
This repository was archived by the owner on Jul 12, 2024. It is now read-only.

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

Open

Description

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/moveit1#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.

Activity

  1. added
    bug
    ROS1
    MoveIt
    ROS2
    on Mar 9, 2023
  2. ooeygui commented on Mar 9, 2023

    @ooeygui
    Member

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

  3. 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 [/+] on Mar 10, 2023
  4. songyuc commented on Jul 25, 2023

    @songyuc

    Hi! Is ROS2-Iron supported on Win11?

  5. ooeygui commented on Jul 25, 2023

    @ooeygui
    Member
  6. songyuc commented on Jul 25, 2023

    @songyuc

    Hi Lou Amadio (@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

Metadata

Metadata

Assignees

No one assigned

    Labels

    MoveItROS1ROS2bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions