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

If you don't find barometers supported in ROS, you could build the necessary "drivers" yourself if you had time. Assuming you don't have time enough to spend on that, my first thought is to acquire de barometer data in a microprocessor (for example, an arduino) and creating a custom message that, once its fields were filled up, the ROS master could get the information via rosserial_arduino.

http://wiki.ros.org/ROS/Tutorials/CreatingMsgAndSrv

http://wiki.ros.org/rosserial_arduino

Also, if you don't have any examples of how custom messages work in Arduino and how to set the code, I recently made some questions and answers that will help you:

http://answers.ros.org/question/229511/how-to-use-custom-message-arduino-solved/

http://answers.ros.org/question/229600/rosserial-connection-not-working-with-custom-messages-solved/

Good luck!