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

ROS message version update

asked 2018-09-20 04:35:25 -0500

kk2105 gravatar image

Hi Guys,

Kindly help me in fixing the below issue.

  1. I have 2 ROS versions, Kinetic on my local machine and Indigo inside docker.
  2. I have 2 separate ROS applications running on each version. Lets assume App A on indigo and App B on Kinetic.
  3. I am trying to establish the connectivity between these 2. Precisely, I want to subscribe to a B's topic from A.
  4. However this doesn't work as there is compatibility issues in ROS version. (Reference Link : https://answers.ros.org/question/3022... )
  5. Now I want to do the version migration on the fly.

Is there a possibility to implement this ?

Thank you, KK

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
1

answered 2018-09-20 07:52:13 -0500

I've never considered this, and I suspect you may have a very hard time getting this to work. Is it totally out of the question to move the Indigo application onto Kinetic?

The only way I can think that you could do this would be to make two shared objects that are built with kinetic and indigo respectively. These shared objects could convert the ROS messages to and from a common format. You could then build a node which used both of these libraries to be able to communicate with both kinetic and indigo versions of the messages.

I'm not promising this approach will work, but it's the only approach that I can think of.

edit flag offensive delete link more

Comments

@PeteBlackerThe3rd Thanks for the input. Let me try this approach. It would be great if you could elaborate more.

http://wiki.ros.org/rosbag/migration - Preferred Approach to Making Rules not sure if this works for live message migration.

kk2105 gravatar image kk2105  ( 2018-09-20 13:18:59 -0500 )edit

Let us know how you get on, I'm interested to know myself.

PeteBlackerThe3rd gravatar image PeteBlackerThe3rd  ( 2018-09-21 06:33:22 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2018-09-20 04:35:25 -0500

Seen: 852 times

Last updated: Sep 20 '18