Cannot get rosdep.yaml to work properly under Electric [closed]
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
Maybe you are running rosdep2 by accident. What does
which rosdep
print?Hi @joq. Running 'which rosdep' yields: /opt/ros/electric/ros/bin/rosdep
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
@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.
@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.