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

ROS Fuerte node communicating with ROS Electric node

asked 2012-10-04 18:45:54 -0500

CBK gravatar image

Hi everyone

I've just started working with ROS Fuerte and I have a bunch of code written for ROS Electric.

Would any one please confirm if nodes written in Fuerte version can communicate with nodes written in Electric version ??


edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2012-10-04 20:38:33 -0500

ipso gravatar image

Depends on what you mean exactly by 'can communicate with'.

Code written for Electric can always be made to compile on Fuerte, provided that you take care of the necessary changes. Depending on the actual code that might not even be very difficult. I've had multiple packages I could just rosmake --pre-clean in a Fuerte shell and they 'just worked'.

If you want to mix binary (as in: already compiled) nodes from Eletric with new ones written for Fuerte, that is not going to work, or at least really not recommended. Message formats could be different between the two, as well as ROS internals, which can (and will) result in either an incorrectly functioning system, or (subtle) bugs. It can be done though, but it depends on actual messages used, use of ROS libraries, etc, etc.

edit flag offensive delete link more


I think from the question it can be implied that the first part of your answer is what he is looking for.

Mani gravatar image Mani  ( 2012-10-04 21:24:06 -0500 )edit

Right. So, the answer is "don't do that". Recompile your Electric nodes for Fuerte.

joq gravatar image joq  ( 2012-10-05 09:20:18 -0500 )edit

answered 2012-10-07 18:55:11 -0500

CBK gravatar image

@ipso, thank you for apt reply. I will just re-compile my Electric code for Fuerte.

edit flag offensive delete link more

Question Tools


Asked: 2012-10-04 18:45:54 -0500

Seen: 718 times

Last updated: Oct 07 '12