Moveit_commander pick.py error

asked 2015-06-13 11:13:07 -0600

TkrA gravatar image

I am trying to run the pick.py code provided by moveit_commander package, which is currently istalled on my ROS, under catkin_ws/src. (distro- indigo) Running the original code, it gives the following error:

  File "/home/***/catkin_ws/src/moveit_commander/demos/pick.py", line 39, in <module>
    from moveit_commander import RobotCommander, PlanningSceneInterface, roscpp_initialize, roscpp_shutdown
  File "/home/***/catkin_ws/devel/lib/python2.7/dist-packages/moveit_commander/__init__.py", line 34, in <module>
    exec(__fh.read())
  File "<string>", line 4, in <module>
  File "/home/***/catkin_ws/src/moveit_commander/src/moveit_commander/move_group.py", line 40, in <module>
    from moveit_ros_planning_interface import _moveit_move_group_interface
ImportError: /home/***/moveit/devel/lib/python2.7/dist-packages/moveit_ros_planning_interface/_moveit_move_group_interface.so: undefined symbol: _ZNK6moveit18planning_interface9MoveGroup13getRobotModelEv

Here is the package i installed, and the py code:

moveit_commander

pick.py

edit retag flag offensive close merge delete

Comments

Is moveit_ros_planning_interface installed (or built)? What does rospack find moveit_ros_planning_interface return?

130s gravatar image 130s  ( 2015-06-14 21:00:04 -0600 )edit

rospack find moveit_ros_planning_interface retuned:

/home/***/moveit/src/moveit_ros/planning_interface
TkrA gravatar image TkrA  ( 2015-06-15 02:48:46 -0600 )edit