Robotics StackExchange | Archived questions

ROS message version update

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/302273/migrating-rosbag-message/?answer=303870#post-id-303870)
  5. Now I want to do the version migration on the fly.

Is there a possibility to implement this ?

Thank you, KK

Asked by kk2105 on 2018-09-20 04:35:25 UTC

Comments

Answers

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.

Asked by PeteBlackerThe3rd on 2018-09-20 07:52:13 UTC

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.

Asked by kk2105 on 2018-09-20 13:18:59 UTC

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

Asked by PeteBlackerThe3rd on 2018-09-21 06:33:22 UTC