Network Connection and Exploration

Set up and interact with ROS networks

Connect to ROS to prototype robotics applications and access robotics hardware or simulators over a ROS network. You can create your own ROS network using MATLAB® or connect to an existing ROS network. To set up a ROS network, start by calling rosinit.


rosinitConnect to ROS network
rosmsgRetrieve information about ROS messages and message types
rosnodeRetrieve information about ROS network nodes
rosparamAccess ROS parameter server values
rosserviceRetrieve information about services in ROS network
rosshutdownShut down ROS system
rostopicRetrieve information about ROS topics
getGet ROS parameter value
hasCheck if ROS parameter name exists
searchSearch ROS network for parameter names
setSet value of ROS parameter or add new parameter
delDelete a ROS parameter
rosdeviceConnect to remote ROS device
runNodeStart ROS node
stopNodeStop ROS node
runCoreStart ROS core
stopCoreStop ROS core
isNodeRunningDetermine if ROS node is running
isCoreRunningDetermine if ROS core is running
deleteFileDelete file from device
dirList folder contents on device
getFileGet file from device
openShellOpen interactive command shell to device
putFileCopy file to device
systemExecute system command on device


CoreCreate ROS Core
NodeStart ROS node and connect to ROS master
ParameterTreeAccess ROS parameter server


Get Started with ROS

Robot Operating System (ROS) is a communication interface that enables different parts of a robot system to discover, send, and receive data.

Connect to a ROS Network

A ROS network consists of a single ROS master and multiple ROS nodes.

Access the ROS Parameter Server

This example explores how to add and retrieve parameters on the ROS parameter server.

ROS Network Setup

Summary of ROS network setup and information required for connection.