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

You need a package to subscribe to a topic published by the sensor's package then publish it as another topic containing the values you need. After that you can subscribe again to do your traitement..

To do that you need:

Writing a Simple Publisher and Subscriber (C++): http://wiki.ros.org/ROS/Tutorials/WritingPublisherSubscriber%28c%2B%2B%29

Or more advance tutorial where you can create your own message type: http://wiki.ros.org/ROS/Tutorials/DefiningCustomMessages