Core
Create ROS Core
Description
The ROS Core encompasses many key components and nodes that are essential for
the ROS network. You must have exactly one ROS core running in the ROS network for nodes
to communicate. Using this class allows the creation of a ROS core in MATLAB®. Once the core is created, you can connect to it by calling rosinit
or ros.Node
.
Creation
Description
core = ros.Core
returns a Core
object and starts a ROS core in MATLAB. This ROS core has a default port of 11311
.
MATLAB allows the creation of only one core on any given port and
displays an error if another core is detected on the same port.
core = ros.Core(
starts a
ROS core at the specified port, port
)port
.
Properties
Examples
Version History
Introduced in R2019b