ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Take a look at shape_shifter in the topic_tools package. http://www.ros.org/doc/api/topic_tools/html/shape__shifter_8h_source.html

You can subscribe to any topic and when a message has been received consult the message type.