Ask Your Question
0

rosserial and std_msgs [solved]

asked 2011-10-06 18:25:30 -0500

noonv gravatar image

updated 2011-10-30 23:43:33 -0500

Hi! I'm looking for examples rosserial for Arduino and see that they use std_msgs/String.h but these files have no ros_lib and in the source package std_msgs String.h also not showed up. From the same header files messages? Thanks!

edit retag flag offensive close merge delete

Comments

Which packages are you looking at?
joq gravatar imagejoq ( 2011-10-07 02:29:30 -0500 )edit
/opt/ros/electric/stacks/ros_comm/messages/std_msgs/msg_gen/cpp/include/std_msgs/String.h do you mean this file? (ros-electric default installation path). or do you mean the message type ($rosmsg show std_msgs/String)? This message is defined in a file called String.msg
Daniel Canelhas gravatar imageDaniel Canelhas ( 2011-10-07 10:32:55 -0500 )edit
You really don't need to go through and mark each question solved -- selecting the appropriate answer with the little checkmark marks it solved.
fergs gravatar imagefergs ( 2011-10-31 05:38:29 -0500 )edit
Ok :) Thanks!
noonv gravatar imagenoonv ( 2011-10-31 05:39:33 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2011-10-07 10:31:15 -0500

fergs gravatar image

The std_msgs/String.h is generated in ros_lib on running the "rosmake" command as described here: http://www.ros.org/wiki/rosserial_arduino/Tutorials/Arduino%20IDE%20Setup

edit flag offensive delete link more

Comments

Thanks a lot!
noonv gravatar imagenoonv ( 2011-10-09 05:19:14 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2011-10-06 18:25:30 -0500

Seen: 688 times

Last updated: Oct 30 '11