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

bakhol's profile - activity

2014-10-14 14:35:03 -0500 received badge  Nice Answer (source)
2013-07-11 08:29:38 -0500 received badge  Great Answer (source)
2013-03-19 00:23:39 -0500 received badge  Good Answer (source)
2013-01-29 11:01:59 -0500 received badge  Nice Answer (source)
2013-01-26 02:43:27 -0500 received badge  Necromancer (source)
2012-12-28 02:57:53 -0500 answered a question rosdep update error

I had the same problem today which I manged to resolve and I think this is the best place to give the reasons and solution.

Firstly, when we try:

rosdep update

We get the following message, as OP mentions:

ERROR: unable to process source [https://github.com/ros/rosdistro/raw/master/releases/fuerte.yaml]:
Failed to download target platform data for gbpdistro: invalid repo spec in bpdistro data: You must update to a newer rosdep version by calling..sudo apt-get update && sudo apt-get install python-rosdep (make sure to uninstall the pip version on Ubuntu)
updated cache in /home/wagnelib/.ros/rosdep/sources.cache

The solution mentioned in this error message is incomplete (or let's say ambiguous). To me it seems like, "remove pip" and install the python-rosdep. Doing this leads to the following (this is what OP got):

$ which rosdep
/usr/bin/rosdep
$ rosdep --version
0.9.5
$ apt-cache policy python-rosdep
python-rosdep:
Installed: 0.10.11-1
Candidate: 0.10.11-1
Version table:
*** 0.10.11-1 0
    500 http://packages.ros.org/ros/ubuntu/ precise/main i386 Packages
    100 /var/lib/dpkg/status

As can be seen, rosdep version is 0.9.5, whereas the apt-cache policy is for rosdep version 0.10.7-1. That is, although we installed the latest version using apt-get, the detected version is still the old one. What is the cause? The cause is, previous rosdep could only be installed/uninstalled using pip. So, we will have to uninstall the older rosdep using pip (which means, when the original solution said "uninstall the pip version", what was really meant was "uninstall older rosdep using pip"). This is how it would look:

$sudo pip uninstall rosdep

Now we can remove "pip" if we like, and we reinstall the newer version of rosdep:

$sudo apt-get remove --purge python-rosdep python-pip

Next, follow the regular steps:

$sudo apt-get update && sudo apt-get install python-rosdep
$which rosdep
 /usr/bin/rosdep
$rosdep --version
  0.10.11
$apt-cache policy python-rosdep
  python-rosdep:
  Installed: 0.10.11-1
  Candidate: 0.10.11-1
  Version table:
   *** 0.10.11-1 0
    500 http://packages.ros.org/ros/ubuntu/ precise/main i386 Packages
    100 /var/lib/dpkg/status

All the versions match now:). Remove the old sources file and perform rosdep init and update :

$sudo rm /etc/ros/rosdep/sources.list.d/20-default.list
$sudo rosdep init
$rosdep update
  Hit https://github.com/ros/rosdistro/raw/master/rosdep/osx-homebrew.yaml
  Hit https://github.com/ros/rosdistro/raw/master/rosdep/gentoo.yaml
  Hit https://github.com/ros/rosdistro/raw/master/rosdep/base.yaml
  Hit https://github.com/ros/rosdistro/raw/master/rosdep/python.yaml
  Hit https://github.com/ros/rosdistro/raw/master/rosdep/ruby.yaml
  Hit https://github.com/ros/rosdistro/raw/master/releases/fuerte.yaml
  Hit https://github.com/ros/rosdistro/raw/master/releases/groovy.yaml
  updated cache in /home/race/.ros/rosdep/sources.cache

And there it is, rosdep is ready for use. I hope this is useful.

2012-10-01 06:44:42 -0500 received badge  Famous Question (source)
2012-10-01 06:44:42 -0500 received badge  Popular Question (source)
2012-10-01 06:44:42 -0500 received badge  Notable Question (source)
2012-09-20 22:38:19 -0500 received badge  Notable Question (source)
2012-09-20 22:38:19 -0500 received badge  Popular Question (source)
2012-09-20 22:38:19 -0500 received badge  Famous Question (source)
2012-07-17 06:17:52 -0500 commented answer Is roboearth going through an intense week of migrating to fuerte?

Oh! Does that mean, the fuerte version will have to wait? In any case, I will wait for your response if you make RE work for electric. Good luck

2012-06-27 04:28:07 -0500 answered a question Is roboearth going through an intense week of migrating to fuerte?

Ok, thanks :) I will wait for the next revision.

2012-06-27 01:14:53 -0500 received badge  Student (source)
2012-06-25 06:48:03 -0500 answered a question Creating Object models for 3D Object Recognition

I wonder if you faced the same problem as I. I have been trying to make latest source of roboearth work with fuerte. It compiles, it records, but it cannot save the model. I have noticed that in the past week they have been changing parts of their code (quite frequently). I, in fact, asked them this - http://answers.ros.org/question/37152/is-roboearth-going-through-an-intense-week-of/ - but haven't gotten a response yet.

I believe, soon they will have a version ready, if we can be patient.

To answer your question, I think you could also give the object_recognition stack a try (but I don't have any experience to give an educated point of view). Also check the following out:

http://ecto.willowgarage.com/recognition/links/object_recognition_capture/index.html

2012-06-25 02:47:32 -0500 received badge  Supporter (source)
2012-06-24 13:19:36 -0500 received badge  Teacher (source)
2012-06-24 12:39:28 -0500 answered a question Creating Object models for 3D Object Recognition

Hi, You should give a try to roboearth: http://www.ros.org/wiki/roboearth

One of the tutorials (and there are only two) is exactly about recording and creating models. It is straightforward. In addition, roboearth uses pcl extensively in creating models. While you explore this, also think about adding new models to roboearth database (which is also explained in the same tutorial). Hopefully this helps.

2012-06-24 12:33:28 -0500 received badge  Editor (source)
2012-06-24 12:18:18 -0500 asked a question Is roboearth going through an intense week of migrating to fuerte?

Hi, I have noticed that in past 7/8 days, roboearth source has changed very vigorously. I have been able to install roboearth on ubuntu 12.04 with fuerte. However, when running re_object_recorder gui, when I try to save the model, i get the following error: OpenCV is NOT compiled with SURF support.

This problem, I am assuming comes from the fact that SURF and SIFT are now patented and are available with OpenCV as 3rd-party nonfree libraries.

Could this be the reason why I was not able to save models? Has this problem been/being resolved at the moment?

I will appreciate any help.

Thanks in advance

2012-06-21 13:30:04 -0500 asked a question Is it possible to use latest roboearth with electric?

Hi, I have ros-electric and pcl-1.1 installed. Now I wanted to explore roboearth and have been failing to get it installed. While compiling roboearth, when compilation process reaches to the package ar_bounding_box, it fails.

I apologize, in advance, because I don't have the full details of the message at hand, but I think I can explain the problem (hopefully mush in my head wont fail me).

 The error message I get is :
 "pcl/include/tranforms.h" not found while trying to compile ar_kinect_objectextraction.cpp

Problem here is that in the organization of package pcl-1.1 the "transforms.h" does not exist in "pcl/include/tranforms.h".

Later I installed perception_pcl_unstable (which contains pcl-1.4) for electric and even for that "transforms.h" does not exist in "pcl/include/tranforms.h".

Fianlly I thought of looking through fuerte and there it was "pcl/include/tranforms.h" , right where it was expected by roboearth.

So, it seems that roboearth is migrating (or has it already migrated?) to fuerte. But if we look at the installation options on roboearth roswiki - http://www.ros.org/wiki/roboearth - the installation instructions are still for electric.

So, couple of questions: 1. Has roboearth migrated or is in process of migrating to fuerte? 2. Is is still possible to use roboearth with electric? (I am defeated in trying ... today :) )

Thanks in advance