(!) Please ask about problems and questions regarding this tutorial on answers.ros.org. Don't forget to include in your question the link to this page, the versions of your OS & ROS, and also add appropriate tags.

Reading Infrared via Terminal

Description: Reading bumper sensor data using command window.

Tutorial Level: BEGINNER

Next Tutorial: Writing a Simple Subscriber for Infrared

Execute synchronisation nodes, to reach evarobot ros master.

# pc
> roslaunch master_discovery_fkie master_discovery.launch

# pc
> roslaunch master_sync_fkie master_sync.launch

evarobot_infrared publishes /sensor/ir<n> topic where n is number of sensor. In this example, we will read sensor called 0.

# pc
> rostopic echo /sensor/ir0

To get information about the topic

# pc
> rostopic info /sensor/ir0

Wiki: evarobot_infrared/Tutorials/indigo/Reading Infrared via Terminal (last edited 2015-09-17 07:22:14 by makcakoca)