Robotics StackExchange | Archived questions

Cannot get rosdep.yaml to work properly under Electric

Hello,

I am following these rosdep instructions for a package I have written under ROS Electric and Ubuntu 11.10 (Oneric) and I can't get it to work as advertised. For example, if I use the following rosdep.yaml file:

pyserial:
  ubuntu:
    11.10: |
      echo "Attempting to upgrade PySerial..."
      sudo pip install --upgrade pyserial

and run

$ rosdep install package_name

I get the following on the screen:

No installers found for rosdep [pyserial], OS version [oneiric].  Rule:
{{{
{'11.10': 'echo "Attempting to upgrade PySerial..."\nsudo pip install --upgrade pyserial\n'}
}}}

All required rosdeps installed successfully

So it appears that neither the echo command nor the pip install is actually being run. What am I doing wrong?

--patrick

Asked by Pi Robot on 2012-11-19 04:19:27 UTC

Comments

Maybe you are running rosdep2 by accident. What does which rosdep print?

Asked by joq on 2012-11-24 04:16:50 UTC

Hi @joq. Running 'which rosdep' yields: /opt/ros/electric/ros/bin/rosdep

Asked by Pi Robot on 2012-11-25 04:07:27 UTC

That looks correct. The bash script "|" syntax should still be supported for Electric (but not for Fuerte): http://ros.org/reps/rep-0111.html#bash-scripts

Asked by joq on 2012-11-26 13:41:18 UTC

@Pi Robot did you resolve this? One thing I note is that it's comparing 11.10 to oneiric. For a while we supported both codename and version numbers but we moved to just codenames at some point.

Asked by tfoote on 2013-02-04 18:16:55 UTC

@tfoote No, I have not resolved this but it is not longer so important to me since I no longer have Electric on any machine to try it out. So feel free to close this question.

Asked by Pi Robot on 2013-02-07 03:47:29 UTC

Answers