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

Dependency [openrave] cannot be found

asked 2012-04-21 21:59:01 -0500

bcddivad gravatar image

updated 2012-04-27 20:56:38 -0500

I installed ros-electric and openrave on my ubuntu 10.04, and I'm trying to create a package "grasp" by the command as follow

  roscreate-pkg grasp openrave roscpp

and I turns out

  bcddivad@bcddivad-laptop:~/code/ros/openravecode$ roscreate-pkg grasp openrave roscpp
  ERROR: dependency [openrave] cannot be found
  bcddivad@bcddivad-laptop:~/code/ros/openravecode$

can anyone please help me ?


post edited

I installed openrave by the commands given on the website here

  sudo add-apt-repository ppa:openrave/release
  sudo apt-get update
  sudo apt-get install openrave

Do I have to do anything else to let ros to include the openrave library?

edit retag flag offensive close merge delete

Comments

I edited my original post, how can I solve it?

bcddivad gravatar image bcddivad  ( 2012-04-27 21:18:20 -0500 )edit

I installed Openrave with thte instruction on the web site, will there be a package for openrave? Thank you!

bcddivad gravatar image bcddivad  ( 2012-04-27 23:04:11 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2012-04-22 11:45:07 -0500

Lorenz gravatar image

updated 2012-04-27 21:47:06 -0500

I guess you didn't install openrave. For electric, there doesn't seem to be a debian package containing the openrave ros package. There is a ros package [here] though (http://ros.org/wiki/openrave).

Normally, openrave doesn't really need to be a ros package to be used in your ros nodes. You can remove the dependency on openrave in manifest.xml and install it from a PPA as explained here.

Edit: According to this page you need to add something like the following to your ROS package's CMakeLists.txt:

find_package(OpenRAVE REQUIRED)
include_directories(${OpenRAVE_INCLUDE_DIRS})
link_directories(${OpenRAVE_LIBRARY_DIRS})
edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-04-21 21:59:01 -0500

Seen: 647 times

Last updated: Apr 27 '12