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

Which Barometer hardware does ROS support?

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

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

Thanks

Wu

edit retag flag offensive close merge delete

Comments

Any help is appreciated

wuxiong2 gravatar image wuxiong2  ( 2016-04-08 00:49:34 -0600 )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 -0600 )edit

1 Answer

Sort by » oldest newest most voted
0

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

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.

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

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/22951...

http://answers.ros.org/question/22960...

Good luck!

edit flag offensive delete link more

Comments

Thanks, I will try

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

Question Tools

1 follower

Stats

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

Seen: 320 times

Last updated: Apr 08 '16