ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A answers.ros.org
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 image joq  ( 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 image Daniel 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 image fergs  ( 2011-10-31 05:38:29 -0500 )edit
Ok :) Thanks!
noonv gravatar image noonv  ( 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 image noonv  ( 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: 1,382 times

Last updated: Oct 30 '11