Connecting ROS Kinetic and ROS Noetic machines

asked 2021-07-06 12:52:06 -0500

wbadry gravatar image

Hello, I have to work on NAO which the plugins are only available for the kinetic distro. I installed an UBUNTU 16.04 image on the virtual box with ROS kinetic.

My core work is on UBUNTU 20.04 and ROS noetic.

My question is:

Is it possible to communicate between ROS kinetic node and ROS noetic node where each node on its independent machine? I know that may sound very silly since each would have its own roscore and I believe it is not possible to allow roscore of the different distro to connect to a different distro.

The problem is all of the packages for nao is only available in kinetic which can not be installed on 20.04.

Thanks

edit retag flag offensive close merge delete

Comments

1

I know that may sound very silly [..]

this is not a silly question by itself, but what is surprising is that you've not come across any of the Q&As we have here on ROS Answers about this topic (such as #q355954, #q104086, #q315600, #q311032, #q262983, #q305764, #q76279, #q364122 and #q86456).

If you did see those Q&As, please clarify what was unclear about them, so we can try to clarify.

gvdhoorn gravatar image gvdhoorn  ( 2021-07-06 13:30:28 -0500 )edit

One difference not discussed in the linked existing Q&As is the changes to roslaunch in Noetic which make it slightly more difficult to spawn nodes remotely between Noetic and Kinetic.

gvdhoorn gravatar image gvdhoorn  ( 2021-07-06 13:31:23 -0500 )edit

it's really interesting that in all those question topics everyone is trying to say "this question has been asked before", and you really wouldn't get an answer. I have a similar problem with Youbot and finally I decided to install ros kinetic on docker and use that. if you're looking for solutions, surprisingly you might find answers on reddit.

Rozfa gravatar image Rozfa  ( 2021-08-19 04:40:27 -0500 )edit

While I understand reading "this has been asked before" is not what you came to hear, I believe in this case it's justified.

And the actual answer is in #q355954 (which is the first duplicate linked in my comment):

as long as the messages haven't changed between the two versions you'd like to use, things should just work, but there are no guarantees.

The same answer is given in almost all of the Q&As linked.

What sort of answer were you looking for?

gvdhoorn gravatar image gvdhoorn  ( 2021-08-19 05:11:46 -0500 )edit