Ok now I have sorted out about the std_msgs error by ordering the #include lines and object declarations:<br><br><span style="font-family: courier new,monospace;">  #include <WProgram.h></span><span style="font-family: courier new,monospace;"></span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">  #include <stdio.h></span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">  #include "avrRos/String.h"</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">  std_msgs::String call_msg;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">  std_msgs::String response_msg;</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">  #include "avrRos/Ros.h"</span><br><br>But I still got some errors here:<br><br><span style="font-family: courier new,monospace;">  sprintf(response_msg.data.getRawString(), "You sent : %s", call_msg.data.getRawString());</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">    ../main.cpp:35: error: ‘class std_msgs::String’ has no member named ‘data’</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">    ../main.cpp:35: error: ‘class std_msgs::String’ has no member named ‘data’</span><br>
<span style="font-family: courier new,monospace;"><br>  call_msg.data.setMaxLength(30);</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">  response_msg.data.setMaxLength(60);</span><br>
<span style="font-family: courier new,monospace;">    ../main.cpp:50: error: ‘class std_msgs::String’ has no member named ‘data’</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">    ../main.cpp:51: error: ‘class std_msgs::String’ has no member named ‘data’</span><br>
<br><span style="font-family: courier new,monospace;">  ROS::string data;</span><br><span style="font-family: courier new,monospace;">    ../avrRos/String.h:18: error: ‘string’ in namespace ‘ROS’ does not name a type</span><br>
<br><span style="font-family: courier new,monospace;">  ROS::string name;</span><br><span style="font-family: courier new,monospace;">    ../avrRos/Ros.h:117: error: ‘string’ in namespace ‘ROS’ does not name a type</span><br>
<br><br style="font-family: courier new,monospace;"><br><div class="gmail_quote">On Tue, Feb 8, 2011 at 4:41 PM, Homer Manalo <span dir="ltr"><<a href="mailto:homer.manalo@roboteknik.com">homer.manalo@roboteknik.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hello, I'm following the hello world tutorial and getting build errors particularly with these two lines:<br>
<br><span style="font-family: courier new,monospace;">  std_msgs::String call_msg;</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">  std_msgs::String response_msg;</span><br><br><span style="font-family: courier new,monospace;">  ../main.cpp:21: error: ‘std_msgs’ has not been declared</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">  ../main.cpp:21: error: expected constructor, destructor, or type conversion before ‘call_msg’</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">  ../main.cpp:22: error: ‘std_msgs’ has not been declared</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">  ../main.cpp:22: error: expected constructor, destructor, or type conversion before ‘response_msg’</span><br>
<br>
Other errors are just because of the two variables not being declared.<div><div></div><div class="h5"><br style="font-family: courier new,monospace;"><br><br><div class="gmail_quote">On Mon, Jan 10, 2011 at 4:10 AM, Adam Stambler <span dir="ltr"><<a href="mailto:adasta@gmail.com" target="_blank">adasta@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi<br><br>Configuring eclipse can be a bit tricky.  This tutorial was the most straight forward explanation:<br>

<br><a href="http://www.arduino.cc/playground/Code/Eclipse" target="_blank">http://www.arduino.cc/playground/Code/Eclipse</a><br>
<br>If you are still having trouble, let me know and I will write up an explanation on the ROS site.<br><font color="#888888"><br>-Adam</font><div><div></div><div><br><br><div class="gmail_quote">On Sun, Jan 9, 2011 at 2:36 PM, airthimble <span dir="ltr"><<a href="mailto:joseph.st.amand@mines.sdsmt.edu" target="_blank">joseph.st.amand@mines.sdsmt.edu</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><br>
I have been trying to use this package in order to communicate with a<br>
Seeduino. I tried following the avr-bridge tutorial but had trouble with it.<br>
I typically put together a make file for a project and just use a text<br>
editor. I have no trouble using eclipse, I just cannot figure out how to<br>
configure it. There does not seem to be a well-made tutorial for configuring<br>
eclipse in Ubuntu 11.04.<br>
<br>
If anyone would be able to give me a push in the right direction it would be<br>
much appreciated!<br>
<br>
Thanks!<br>
<font color="#888888">--<br>
View this message in context: <a href="http://ros-users.122217.n3.nabble.com/AVR-and-ROS-tp2200563p2222791.html" target="_blank">http://ros-users.122217.n3.nabble.com/AVR-and-ROS-tp2200563p2222791.html</a><br>
Sent from the ROS-Users mailing list archive at Nabble.com.<br>
</font><div><div></div><div>_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org" target="_blank">ros-users@code.ros.org</a><br>
<a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
</div></div></blockquote></div><br>
</div></div><br>_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org" target="_blank">ros-users@code.ros.org</a><br>
<a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
<br></blockquote></div><br>
</div></div></blockquote></div><br>