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

Isn't message passing between two nodes in ROS same as interprocess communication between two programs in linux same?

asked 2016-05-20 19:05:15 -0600

dinesh gravatar image

updated 2016-05-20 19:06:16 -0600

I am trying to make robot with BBB. It looks like without using ROS also different programs can be run in BBB in linux and than the outputs can be sent to other programs at same time, so why is their any difference in ROS message passing system between two nodes?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-05-20 23:39:22 -0600

ahendrix gravatar image

You are correct, the message-passing portion of ROS is inter-process communication (IPC).

I'm not sure which other IPC mechanisms you're looking at, but ROS provides the following additional features in addition to just passing messages:

  • message type checking (type name and message version)
  • support for many languages: C++, Pytho, Lisp, Java and more!
  • seamless use of language-native data structures (no need to explicitly serialize)
  • seamless use of multiple publishers and subscribers on a topic (IPC channel)
  • Introspection of the type, content and rate of messages on a topic (rostopic command-line tool)
  • very easy to create and use multiple topics
  • easily expands to work across a network, with no changes to your nodes
edit flag offensive delete link more

Question Tools

1 follower


Asked: 2016-05-20 19:05:15 -0600

Seen: 372 times

Last updated: May 20 '16