Ask Your Question
0

Error in installing KnowRob (ros-hydro-knowrob)

asked 2014-03-10 00:31:56 -0500

updated 2016-10-24 08:36:15 -0500

ngrennan gravatar image

What I tried :

$ sudo sh -c 'echo "deb packages.ros.org/ros/ubuntu precise main" > /etc/apt/sources.list.d/ros-latest.list' $ sudo apt-get install ros-hydro-knowrob

Error : E: Unable to locate package ros-hydro-knowrob

Note sudo apt-get install ros-groovy-knowrob works fine, but I got hydro.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-03-10 00:52:31 -0500

moritz gravatar image

KnowRob has not been released into Hydro, so it cannot be installed using apt-get. In any case, we recommend installation from source as described here http://knowrob.org/installation

edit flag offensive delete link more

Comments

Got it. Thank you.

ratneshmadaan gravatar image ratneshmadaan  ( 2014-03-10 02:10:38 -0500 )edit

I am getting this error now, after $ rosdep install knowrob ERROR: Rosdep cannot find all required resources to answer your query Missing resource knowrob ROS path [0]=/opt/ros/hydro/share/ros ROS path [1]=/opt/ros/hydro/share ROS path [2]=/opt/ros/hydro/stacks Plus, I re-installed Ubuntu 12.04 today. Gazebo is giving error as well. In mudworld, all links are not visible.

ratneshmadaan gravatar image ratneshmadaan  ( 2014-03-10 03:00:43 -0500 )edit

Then your system is not set up correctly, most probably your rosbuild/catkin setup is wrong. Please try if "roscd knowrob" works, otherwise check your setup here http://wiki.ros.org/catkin/Tutorials/using_rosbuild_with_catkin

moritz gravatar image moritz  ( 2014-03-10 03:19:58 -0500 )edit

There are two kinds of buildsystems, rosbuild and catkin. KnowRob still uses the older rosbuild, while the default in hydro is catkin. You can set up both systems to work together,you need to create a catkin WS first and then refer to it from rosbuild (Section 3.3 in the link I've posted).

moritz gravatar image moritz  ( 2014-03-10 04:26:42 -0500 )edit

Okay, Did what you said. Now keys are unresolved. : ratneshmadaan@ratneshmadaan-Inspiron-N5010:~/rosbuild_ws$ rosdep install knowrob ERROR: the following packages/stacks could not have their rosdep keys resolved to system dependencies: mod_srdl: Missing resource cmake_modules ROS path [0]=/opt/ros/hydro/share/ros ROS path [1]=/home/ratneshmadaan/rosbuild_ws/rosjava_jni ROS path [2]=/home/ratneshmadaan/rosbuild_ws/stacks/knowrob ROS path [3]=/home/ratneshmadaan/catkin_ws/devel/rosjava_jni ROS path [4]=/home/ratneshmadaan/catkin_ws/devel/stacks/knowrob ROS path [5]=/home/ratneshmadaan/catkin_ws/src ROS path [6]=/opt/ros/hydro/share ROS path [7]=/opt/ros/hydro/stacks

ratneshmadaan gravatar image ratneshmadaan  ( 2014-03-10 09:56:19 -0500 )edit

This is in fact a ROS dependency that you can install with apt-get install ros-hydro-cmake-modules

moritz gravatar image moritz  ( 2014-03-10 21:01:18 -0500 )edit

Got everything. Thanks a ton.

ratneshmadaan gravatar image ratneshmadaan  ( 2014-03-11 08:24:41 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2014-03-10 00:31:56 -0500

Seen: 455 times

Last updated: Mar 10 '14