0
$\begingroup$

Rosanswers logo

Hello everybody!

i'm trying to read an analog port from my arduino mega 2560 (Flex Sensor), but i don't know how to read and print the value of my sensor with a publisher in ros.

Can You HELP ME!!!

Thank you everybody


Originally posted by joseescobar60 on ROS Answers with karma: 172 on 2012-10-30

Post score: 1

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

You might try looking at RosSerial..

http://www.ros.org/wiki/rosserial_arduino/Tutorials/Arduino%20IDE%20Setup

Or you can have a look here for some code utilizing Arduino and ROS.

https://code.launchpad.net/~fuzzgun/buttonui-ros-pkg/trunk


Originally posted by Atom with karma: 458 on 2012-11-04

This answer was ACCEPTED on the original site

Post score: 2

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.