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

rosserial and std_msgs [solved]

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

noonv gravatar image

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

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 -0600 )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 -0600 )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 -0600 )edit
Ok :) Thanks!
noonv gravatar image noonv  ( 2011-10-31 05:39:33 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
1

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

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 -0600 )edit

Question Tools

Stats

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

Seen: 1,511 times

Last updated: Oct 30 '11