Ask Your Question
0

Unable to locate package ros-indigo-roscpp

asked 2016-10-24 06:58:54 -0500

frenchie007 gravatar image

updated 2016-10-24 10:01:52 -0500

gvdhoorn gravatar image

I am on ubuntu 16.04, trying to install tum_simulator using the tutorial here: https://github.com/dougvk/tum_simulator

I first got stuck here:

rosdep install --from-paths src --ignore-src --rosdistro indigo -y

but used the solution found here: Can't resolve package dependencies when building ros for Ubuntu 16.04 by typing --os=ubuntu:trusty with the rosdep command.

however with this command:

rosdep install --from-paths src --ignore-src --rosdistro indigo -y --os=ubuntu:trusty

I get this error

E: Unable to locate package ros-indigo-roscpp
ERROR: the following rosdeps failed to install
  apt: command [sudo -H apt-get install -y ros-indigo-roscpp] failed

I can't find how to install the package roscpp manually or how to continue the installation.

Thanks for your help

edit retag flag offensive close merge delete

Comments

The README.md in the repository you linked also explicitly state that those instructions are for Indigo:

tum_simulator on Indigo

To use them on Kinetic, you'll have to adapt them as you follow along.

gvdhoorn gravatar image gvdhoorn  ( 2016-10-24 10:08:01 -0500 )edit

You might run into some problems with Gazebo versions > 2.2 and the tum_* packages on Kinetic, even if you get the rosdep step to finish successfully.

gvdhoorn gravatar image gvdhoorn  ( 2016-10-24 10:10:07 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-10-24 10:06:15 -0500

gvdhoorn gravatar image

updated 2016-10-25 01:26:10 -0500

I am on ubuntu 16.04 [..]

and:

however with this command:

rosdep install --from-paths src --ignore-src --rosdistro indigo -y --os=ubuntu:trusty

I get this error

E: Unable to locate package ros-indigo-roscpp
ERROR: the following rosdeps failed to install
  apt: command [sudo -H apt-get install -y ros-indigo-roscpp] failed

Indigo is not supported / released on Ubuntu Xenial (16.04), which means that ros-indigo-roscpp doesn't exist there. Forcing rosdep to use the ubuntu:trusty defintions isn't going to change that.

You could try and see whether

rosdep install --from-paths src --ignore-src

after having sourced the correct (Kinetic) setup.bash works.

PS: this is exactly why I never really use --rosdistro $DISTRO in command line examples: the instructions will get copy/pasted by someone in the future on a different OS/ROS release and no longer work. --rosdistro $DISTRO is only needed if you don't have a setup.bash sourced anyway.


Edit:

I'm not sure what you mean by sourcing the correct setup.bash..

That would be source /opt/ros/$DISTRO/setup.bash. That will set the relevant environment variables, making --rosdistro .. unnecessary.

I decided to try to follow the instructions here: http://wiki.ros.org/tum_simulator#Ins... but to no avail, probably because I also have a different os version

Yes, those instructions are even older than the ones you found on dougvk/tum_simulator. Especially rosmake and friends are deprecated.

Is there a newer version of tum_simulator?

Not that I know of, but I'm really not into UAVs / quadrotors. You should probably spend some time searching for some, and / or try to contact a community. See Any quadrotor simulation package in ROS Kinetic? for a similar question.

But to get back to your original problem: can you show us the commands you've used and what their output was?

edit flag offensive delete link more

Comments

I'm not sure what you mean by sourcing the correct setup.bash..

I decided to try to follow the instructions here: http://wiki.ros.org/tum_simulator#Ins... but to no avail, probably because I also have a different os version

Is there a newer version of tum_simulator?

frenchie007 gravatar image frenchie007  ( 2016-10-24 18:04:12 -0500 )edit

@frenchie007 AFAIK, the newest version is only Indigo.The indigo version itself is still not official ( not merged to the main repo).

I use the indigo version from dougvk github. It works fine! Just that the demo is not as complete as the official one, But that's not a problem for me

alienmon gravatar image alienmon  ( 2016-10-25 02:37:10 -0500 )edit

@alienmon: does it also work on ROS Kinetic? Because that is what the OP seems to be having problems with.

gvdhoorn gravatar image gvdhoorn  ( 2016-10-25 04:26:55 -0500 )edit

That one I'm not so sure, cause I only tried with indigo. I don't think it will work, Buy maybe you can just try out @frenchie007

alienmon gravatar image alienmon  ( 2016-10-25 04:48:24 -0500 )edit

okay actually the simulator opens up but I can't control the drone.. I think it might be similar to here http://answers.ros.org/question/22169... I think I will just use a vm to have ubuntu precise and use the old instructions. thanks for you help

frenchie007 gravatar image frenchie007  ( 2016-10-25 05:36:34 -0500 )edit

I think I will just use a vm to have ubuntu precise and use the old instructions.

I would, if you can, use at least the Indigo version, which according to @alienmon, should work under Trusty.

gvdhoorn gravatar image gvdhoorn  ( 2016-10-25 05:45:35 -0500 )edit

I use Ubuntu 14.04 , and ROS indigo

alienmon gravatar image alienmon  ( 2016-10-25 07:28:05 -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

Stats

Asked: 2016-10-24 06:58:54 -0500

Seen: 657 times

Last updated: Oct 25 '16