Paragraph "5. Which distribution to use" at the distribution page has been last updated almost 2 years ago so I am wondering which ROS distribution is the preferred one. I know Melodic Morenia is the last ROS distribution [..]
and it's even an LTS (Long Term Support) which means it gets 5 years of support and development.
Section 5 does indeed look like it could use an update, but section 2 List of Distributions does state that Melodic is the Recommended ROS release as of this date.
I tried installing that on Ubuntu 18.04 but I couldn't do sudo apt install ros-melodic-desktop-full
because I have to use a shadowrepository. This made me doubt the stability of ROS distribution Melodic Morenia.
I'm not entirely sure I understand what you're saying here.
What does "I have to use a shadownrepository" mean? And why do you (believe) you have to use it?
I will need to use ROS nodes other people have made last year in the project I'll be doing, those ROS nodes have been made on Ubuntu 16.04 with ROS distribution Kinetic Kame. Can I use those nodes in Melodic Morenia without too much hassle?
That will depend on how those nodes (packages) have been written, and how they are distributed / deployed.
Are they all packages for which you have the sources available? If so, there is a high chance that building them in a Melodic workspace will work. There might be a couple of things you may have to fix or update, but how much is going to be difficult to estimate as it would entirely depend on what these nodes actually do and what their dependencies are.
If you only have binaries (ie: compiled workspaces or .deb
s) then that will most likely not work (reliably).
Edit:
In the installation tutorial for Ubuntu it states that the recommended install command is sudo apt install ros-melodic-desktop-full
which doesn't work for me, it can't find all packages. It says that I have to use shadowpackages if that's the case
Please copy-paste the exact message that you get from apt
into your original question.
Using the shadow repository should not be done unless necessary, and from your description I doubt it is.
Originally posted by gvdhoorn with karma: 86574 on 2019-03-04
This answer was ACCEPTED on the original site
Post score: 1
Original comments
Comment by fluxable on 2019-03-04:
In the installation tutorial for Ubuntu it states that the recommended install command is sudo apt install ros-melodic-desktop-full
which doesn't work for me, it can't find all packages. It says that I have to use shadowpackages if that's the case
Comment by fluxable on 2019-03-04:
So I just executed sudo apt install ros-melodic-desktop-full
and it seems like it is fully installing Melodic. How odd.. So in the end you would recommend to use Melodic Morenia on ubuntu 18.04 anyway?
Comment by gvdhoorn on 2019-03-04:
For 18.04 you have no other choice, as only Melodic is supported.
See also REP 3.
Comment by fluxable on 2019-03-04:
Thanks, I will try to compile the old packages made in the Kinetic distribution because I saw your comment (https://answers.ros.org/question/242688/how-to-install-a-package-from-an-old-distro/?answer=242699#post-id-242699). If that doesn't work I will switch back to Ubuntu 16.04 and ROS Kinetic.