<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
No, for some reason I missed that.<div><br></div><div>Thanks</div><div>--<br><br><hr id="stopSpelling">Date: Fri, 4 Feb 2011 10:49:51 -0800<br>From: adasta@gmail.com<br>To: ros-users@code.ros.org<br>Subject: Re: [ros-users] avr_bridge Hello World turorial question<br><br>Hi<br><br><div>Did you run the command :</div><div><span class="ecxApple-style-span" style="font-family:Helvetica, Verdana, Arial, 'Lucida Grande', sans-serif;font-size:15px"><pre style="border-top-width:1pt;border-right-width:1pt;border-bottom-width:1pt;border-left-width:1pt;border-top-style:solid;border-right-style:solid;border-bottom-style:solid;border-left-style:solid;border-top-color:rgb(174, 189, 204);border-right-color:rgb(174, 189, 204);border-bottom-color:rgb(174, 189, 204);border-left-color:rgb(174, 189, 204);background-color:rgb(243, 245, 247);padding-top:5pt;padding-right:5pt;padding-bottom:5pt;padding-left:5pt;font-family:courier, monospace;white-space:pre-wrap;word-wrap:break-word">rosrun avr_bridge gen_avr.py callResponse.yaml .</pre></span><div class="ecxgmail_quote">To generate avr-gcc files for your project?  This will generate a folder called avrRos which has the ros.h header and the String msg class files.</div>
<div class="ecxgmail_quote"><br></div><div class="ecxgmail_quote">  Also, as a side note, the precompiled arduino library included in the sample project is meant for an arduino uno.  You will need to compile your own arduino library for the mega.</div>
<div class="ecxgmail_quote"><br></div><div class="ecxgmail_quote">Good luck,</div><div class="ecxgmail_quote">Adam</div><div class="ecxgmail_quote"><br></div><div class="ecxgmail_quote"><br></div><div class="ecxgmail_quote">On Fri, Feb 4, 2011 at 10:44 AM, Christian Stahmer <span dir="ltr"><<a href="mailto:sudomakemeasandwich@live.com">sudomakemeasandwich@live.com</a>></span> wrote:<br>
<blockquote class="ecxgmail_quote" style="border-left:1px #ccc solid;padding-left:1ex">



<div>
Hi guys,<div>I was trying to get the "Hello World" program up and running with an Aruino Mega board.<div><br></div><div>I finished the entire thing but got stuck on compiling the actual example code.</div><div>
<br></div><div><a href="http://www.ros.org/wiki/avr_bridge/Tutorials/Hello World#main.cpp" target="_blank">http://www.ros.org/wiki/avr_bridge/Tutorials/Hello%20World#main.cpp</a></div><div><br></div><div>It has an include which is not in the downloadable eclipse project:</div>
<div><br></div><div><span style="font-family:Helvetica, Verdana, Arial, 'Lucida Grande', sans-serif;font-size:15px"><pre dir="ltr" lang="en" style="border-top-width:1pt;border-right-width:1pt;border-bottom-width:1pt;border-left-width:1pt;border-top-style:none;border-right-style:none;border-bottom-style:none;border-left-style:none;border-top-color:rgb(174, 189, 204);border-right-color:rgb(174, 189, 204);border-bottom-color:rgb(174, 189, 204);border-left-color:rgb(174, 189, 204);background-color:rgb(243, 245, 247);padding-top:10pt;padding-right:10pt;padding-bottom:10pt;padding-left:10pt;font-family:courier, monospace;white-space:pre-wrap;word-wrap:break-word;margin-right:0px;margin-bottom:0px;margin-left:0px;border-width:initial;border-color:initial"><span><span style="color:rgb(128, 57, 153)">#include "avrRos/Ros.h" //main avrRos library</span></span>
<span><span style="color:rgb(128, 57, 153)">#include "avrRos/String.h" //std_msg/String library</span></span></pre></span></div><div><br></div><div>I couldn't find the String.h file on the git hub either:</div>
<div><br></div><div><a href="https://github.com/rutgers/avr_bridge" target="_blank">https://github.com/rutgers/avr_bridge</a></div></div><div><br></div><div>Thanks for any help</div><div> --</div>                                           </div>
<br>_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org">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>
<br>_______________________________________________
ros-users mailing list
ros-users@code.ros.org
https://code.ros.org/mailman/listinfo/ros-users</div>                                       </body>
</html>