ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

orrosplanning test failure

asked 2011-06-23 14:18:51 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Hi, all,

I downloaded openrave_planning stack and try to run the test file.

rosrun orrosplanning ik_openrave.py

Got the following error:

import orrosplanning.srv 


ImportError: No module named orrosplanning.srv`

Seems orrosplanning.srv is missing. Thanks for any suggestions.

ps: I didn't find orrosplanning.srv in /home/fei/openrave_planning/orrosplanning/srv, so do I miss some file.

edit retag flag offensive close merge delete

Comments

Hi Fei Liu, I am studying orrosplanning. But when I rosmake it and met the following errors at "xmlreaders-core.cpp", at line 98 in openrave package: no member DEBUGGING at Assimp:Logger... But I have installed the newest version of Assimp-dev 3.0. Could you help me about that? Many thanks, Haibin

Haibin gravatar image Haibin  ( 2014-06-08 23:19:40 -0600 )edit

3 Answers

Sort by ยป oldest newest most voted
0

answered 2011-06-23 15:42:35 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

have you made everything inside openrave_planning?

roscd openrave_planning
rosmake
edit flag offensive delete link more

Comments

Yes, I have rosmake it. Could you check if you have the orrosplanning.srv under ../openrave_planning/orrosplanning/srv? I doubt I'm missing something.
Fei Liu gravatar image Fei Liu  ( 2011-06-23 15:46:39 -0600 )edit
hmm... i don't have that file either, but i could run rosrun orrosplanning ik_openrave.py without any problem... and your PYTHONPATH is NOT the same as mine, are you sure you included openrave's python libraries?
liuhuanjim013 gravatar image liuhuanjim013  ( 2011-06-23 15:57:53 -0600 )edit
Thanks for your suggestion and time. I just re-rosmake it and it works. It is amazing, but I did rosmake it before I use it.
Fei Liu gravatar image Fei Liu  ( 2011-06-23 16:01:51 -0600 )edit
you are welcome! openrave updates very often, so every time after I update, i rosmake everything again.
liuhuanjim013 gravatar image liuhuanjim013  ( 2011-06-23 16:05:47 -0600 )edit
1

answered 2011-07-14 16:02:19 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

the problem is that orrosplanning is not compiled:

rosmake openrave_planning

It has nothing to do with including the openrave python library inside PYTHONPATH

edit flag offensive delete link more
0

answered 2011-06-23 15:10:27 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

what's your $PYTHONPATH look like?

echo $PYTHONPATH

make sure you have something like this:

export PYTHONPATH=$PYTHONPATH:`openrave-config --python-dir`
edit flag offensive delete link more

Comments

I have done so. returns: /opt/ros/diamondback/ros/core/roslib/src:/opt/ros/diamondback/ros/core/roslib/src:/opt/ros/diamondback/ros/core/roslib/src:
Fei Liu gravatar image Fei Liu  ( 2011-06-23 15:34:42 -0600 )edit
mine looks like:/opt/ros/diamondback/ros/core/roslib/src:/home/liuhuan/ros/jsk-ros-pkg/openrave_planning/openrave/lib/python2.6/site-packages
liuhuanjim013 gravatar image liuhuanjim013  ( 2011-06-23 15:37:24 -0600 )edit

Question Tools

Stats

Asked: 2011-06-23 14:18:51 -0600

Seen: 651 times

Last updated: Jul 14 '11