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

Which Barometer hardware does ROS support?

asked 2016-04-07 19:50:54 -0500

wuxiong2 gravatar image

Hi, I am new to ROS, and wanna use ros to build a UAV, I searched the sensors the ros support, but I did not see the barometer list that ros support(driver included). Does anyone have done this before and could give me some advice



edit retag flag offensive close merge delete


Any help is appreciated

wuxiong2 gravatar image wuxiong2  ( 2016-04-08 00:49:34 -0500 )edit

@wuxiong2: please only post answers to your question if you're actually answering it. Otherwise use comments.

gvdhoorn gravatar image gvdhoorn  ( 2016-04-08 02:43:09 -0500 )edit

1 Answer

Sort by » oldest newest most voted

answered 2016-04-08 01:45:19 -0500

thepirate16 gravatar image

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.

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:

Good luck!

edit flag offensive delete link more


Thanks, I will try

wuxiong2 gravatar image wuxiong2  ( 2016-04-08 19:42:28 -0500 )edit

Question Tools

1 follower


Asked: 2016-04-07 19:50:54 -0500

Seen: 300 times

Last updated: Apr 08 '16