ROS shares information using messages. Messages are a
simple data structure for sharing data. To receive or subscribe to a message, use
rossubscriber
. To send or publish a
message use rospublisher
. See Exchange Data with ROS Publishers and Subscribers for more
information on sending messages.
Messages are the primary container for exchanging data in ROS.
List of supported ROS message types in MATLAB®.
Exchange Data with ROS Publishers and Subscribers
The primary mechanism for ROS nodes to exchange data is sending and receiving messages.
Work with Specialized ROS Messages
Some commonly used ROS messages store data in a format that requires some transformation before it can be used for further processing.
Work with Basic ROS 2 Messages
ROS messages are the primary container for exchanging data in ROS 2.
Exchange Data with ROS 2 Publishers and Subscribers
The primary mechanism for ROS 2 nodes to exchange data is to send and receive messages.
Manage Quality of Service Policies in ROS 2
Quality of Service (QoS) policy options allow for changing the behavior of communication within a ROS 2 network.
Using ROS Bridge to Establish Communication between ROS and ROS 2
ROS 2 is newer version of ROS with different architecture.