Complete the code to display information about a ROS topic.
rostopic [1] /chatterThe rostopic info command shows details about a topic, such as publishers and subscribers.
Complete the code to print messages published on the /chatter topic.
rostopic [1] /chatterThe rostopic echo command prints messages published on a topic in real time.
Fix the error in the command to publish a message to /chatter topic.
rostopic [1] /chatter std_msgs/String "data: 'Hello World'"
The rostopic pub command publishes messages to a topic. The other commands do not publish messages.
Fill both blanks to check the publishing rate of the /chatter topic.
rostopic [1] [2]
The rostopic hz command shows the rate at which messages are published on a topic. The topic name must be specified.
Fill both blanks to display bandwidth usage of the /camera/image topic.
rostopic [1] [2]
The rostopic bw command shows the bandwidth used by messages on a topic. You must specify the topic name.
