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

rosserial & sending str_msg

asked 2012-03-20 03:45:00 -0500

Another really basic question but I cannot seem to figure it out:

I am trying to transmit data from a ROS node on an arduino. I figured that the best way to do this was through a str_msg. I have set the str_msg.data and I send that to my publisher which is set up to take in a str_msg. I am wondering if this is all that I need to do or if there are other fields that I need to populate before I even attempt to publish them?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2013-05-02 07:35:12 -0500

Ernest gravatar image

Check out the rosserial publisher tutorial, there's an example that does exactly that!

Here it is: http://www.ros.org/wiki/rosserial_arduino/Tutorials/Hello%20World

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-03-20 03:45:00 -0500

Seen: 753 times

Last updated: May 02 '13