ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Do local and remote machines have to run the same version of ROS ?

asked 2018-10-14 00:05:14 -0600

elpidiovaldez gravatar image

I just installed Ubuntu 18.04, and with it ROS Melodic Morenia on my workstation. I have a Raspberry Pi based bobot running Lubuntu 16.04 with ROS Kinetic Kame. Will these machines be able to communicate, or will I have to try and upgrade the Pi to 18.04 with Melodic too ?

I have already tried to make this work. The workstation sees topics being published on the Pi. However I see a raspicam_node on the Pi publishing at 10 hz on the Pi. When I check the rate of raspicam_node, on the workstation, rostopic says that no messages have been published. I need to determine if this is because the versions of ROS are incompatible, or if I am doing something else wrong.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
3

answered 2018-10-14 00:23:43 -0600

Hamid Didari gravatar image

As long as the specific messages have not been changed between the two ROS distributions it should be work fine maybe your ip address didn't set correctly

edit flag offensive delete link more

Comments

Yes , from my experience , it works fairly well across different variants .

chrissunny94 gravatar image chrissunny94  ( 2018-10-15 00:11:16 -0600 )edit

I remember having huge problems with some marker messages when I was using a combo ROS Kinetic + ROS Indigo. I would highly recommend sticking to the same distro if possible

msadowski gravatar image msadowski  ( 2018-10-15 11:42:27 -0600 )edit
1

answered 2018-10-15 12:36:39 -0600

KinWah gravatar image

I am new to ROS too and below are some of my experiences

1) Both workstation and the mobile robot can have different rosdistro. My current setup is Lunar + Kinect

2) Never forget to export the following three things in your terminal or ~/.bashrc. All the addresses below are for display purpose. It is different for everyone. In my case, without any one of them, the whole thing will not work.

  • #export ROS_MASTER_URI=http://192.168.1.118:11311/ (address displayed on workstation's roscore)
  • #export ROS_HOSTNAME=192.168.1.118 (address of master/slave)
  • #export ROS_IP=192.168.1.118 (address of master/slave)

3) Lastly, try synchronize time of both workstation and the mobile robot. For example, try sudo ntpdate 192.168.6.104 (Address of master) on your mobile robot either by ssh or ~/.bashrc

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2018-10-14 00:05:14 -0600

Seen: 1,125 times

Last updated: Oct 15 '18