rostopic
Retrieve information about ROS topics
Syntax
Description
rostopic list
returns a list of ROS topics from the ROS
master.
rostopic echo
returns the messages being
sent from the ROS master about a specific topic,
topicname
topicname
. To stop returning messages, press
Ctrl+C.
rostopic info
returns
the message type, publishers, and subscribers for a specific topic, topicname
topicname
.
returns a cell array
containing the ROS topics from the ROS master. If
you do not define the output argument, the list is returned in the MATLAB® Command Window.topiclist
= rostopic("list")
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2019b