Ask Your Question
0

Unable to locate package ros-indigo-rosserial-arduino

asked 2018-06-25 13:23:07 -0600

johnwsmithv gravatar image

updated 2018-06-25 14:45:13 -0600

jayess gravatar image

I keep on getting, "Unable to locate package ros-indigo-rosserial-arduino" in the terminal. I even replaced indigo in that line of code with my current version of ROS, Melodic, and it still didn't work. Does anyone have a solution to this? I installed ROS correctly, I think. Does anyone know what to do?

I am doing a research project using ROS and an arduino uno and need to be able to install rosserial in order to connect the two and begin what I was doing. If anyone has a quick solution/workaround, it would be much appreciated.

Just some extra information to help diagnose the issue: I am running Ubuntu Linux 18.04 on an Oracle Virtual Machine. Also, as stated above, I installed the most recent version of ROS, that being Melodic.

Thanks!

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
2

answered 2018-06-25 14:17:06 -0600

gvdhoorn gravatar image

updated 2018-06-26 02:10:26 -0600

Please see #q294403, but replace rosbridge-suite with rosserial.

Summarising: rosserial (all of it) has not yet been released into ROS Melodic (see status_page/ros_melodic_default.html?q=rosserial).

If anyone has a quick solution/workaround, it would be much appreciated.

You could try to build the package from source. See #q252478 for the general workflow (but of course replace indigo/kinetic with melodic, and use the correct repositories).


Edit:

Yeah I literally cannot install previous versions of ROS.. it is still giving me the same error that the rosserial package is giving me... smh... this is too annoying.

You may have missed it, but the fact that you cannot install any older versions of ROS on Ubuntu Bionic (18.04) is actually shown to you. See the kinetic/Installation page fi:

supported platforms for kinetic

A similar table is shown on the Indigo installation page.

The more extensive version of that can be found in REP-3: Target Platforms: here for Kinetic, and here for Melodic.

Finally, with this:

but of course replace indigo/kinetic with melodic, and use the correct repositories

I did not imply that you should uninstall ROS Melodic, but that anywhere in #q252478 it mentioned indigo or kinetic, you should put melodic.

edit flag offensive delete link more

Comments

I'll try and build the package from the source. I did uninstall melodic, and I tried installing Indigo and Kinetic and it gave me the same error that rosserial is giving me.. smh. By the way thanks for the fast response. I'll update you on how it goes.

johnwsmithv gravatar imagejohnwsmithv ( 2018-06-25 15:31:39 -0600 )edit

Yeah I literally cannot install previous versions of ROS.. it is still giving me the same error that the rosserial package is giving me... smh... this is too annoying.

johnwsmithv gravatar imagejohnwsmithv ( 2018-06-25 15:47:54 -0600 )edit

I made it easy on myself and installed Ubuntu 16.04 and installed ROS-Kinetic from there and then rosserial. Thanks so much for your help... Hopefully they release a version of rosserial for Melodic eventually.

johnwsmithv gravatar imagejohnwsmithv ( 2018-06-26 09:23:14 -0600 )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

1 follower

Stats

Asked: 2018-06-25 13:23:07 -0600

Seen: 1,170 times

Last updated: Jun 26 '18