I am using turtlebot in gazebo which uses "scan" message for publishing laser scan data, by using rostopic type scan
command I can find out type of the message i.e. sensor_msgs/LaserScan
, Is there way to find names of all the messages published on particular topic ?
For example, Is there any way to find out that message named "scan" is published by turtlebot knowing only the topic name i.e. sensor_msgs/LaserScan
?
Thanks in advance.
Originally posted by siddhesh on ROS Answers with karma: 39 on 2016-05-31
Post score: 0
Original comments
Comment by Icehawk101 on 2016-05-31:
I'm a little confused. Scan is the topic name, sensor_msgs/LaserScan is the message type. Are you asking if there is a way to search for topic names based on message type?
Comment by Icehawk101 on 2016-05-31:
Also, only one type of message can be published to a particular topic.