osrf / rosbook

Example code to accompany the book Programming Robots with ROS
Apache License 2.0
476 stars 237 forks source link

Can't install ros-indigo-fetch*? #37

Open lizixroy opened 6 years ago

lizixroy commented 6 years ago

Guys,

I have been following the tutorial in chapter 14 Stockroom-bot. It seems that I can't download the fetch model by following the instructions in the book:

roy@RoysMacUbuntu:~/ws/src/stockroom_bot$ sudo apt-get install ros-indigo-fetch Reading package lists... Done Building dependency tree
Reading state information... Done E: Unable to locate package ros-indigo-fetch
E: Couldn't find any package by glob 'ros-indigo-fetch*'

I also tried ros-kinetic-fetch* (because I am using ROS kinetic). Didn't work either:

roy@RoysMacUbuntu:~/ws/src/stockroom_bot$ sudo apt-get install ros-kinetic-fetch Reading package lists... Done Building dependency tree
Reading state information... Done E: Unable to locate package ros-kinetic-fetch
E: Couldn't find any package by glob 'ros-kinetic-fetch' E: Couldn't find any package by regex 'ros-kinetic-fetch'

Any idea how I can get the Fetch model?

Many thanks for your time.

gbiggs commented 6 years ago

If you are running a version of Ubuntu that supports Kinetic (specifically, versions 15.10 or 16.04), then the Indigo packages will not be available because they require an earlier version of Ubuntu (14.10 or 15.04). In addition to that, the Fetch packages have not, as far as I can tell, been released for Kinetic.

The book's introduction states that the examples are written with the assumption that they are being run under ROS Indigo. The corrected source that is available here does work on Kinetic as-is, but some parts that rely on external packages only available in Indigo are exceptions.

If you want to use the Fetch packages on Kinetic, at this point it looks like you will need to compile them from source yourself.