Re: [ros-users] avr_bridge Hello World turorial question

Forside
Vedhæftede filer:
Indlæg som e-mail
+ (text/plain)
+ (text/html)
Slet denne besked
Besvar denne besked
Skribent: User discussions
Dato:  
Til: User discussions
Emne: Re: [ros-users] avr_bridge Hello World turorial question
Hi

Did you run the command :

rosrun avr_bridge gen_avr.py callResponse.yaml .

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.

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.

Good luck,
Adam


On Fri, Feb 4, 2011 at 10:44 AM, Christian Stahmer <
> wrote:

> Hi guys,
> I was trying to get the "Hello World" program up and running with an Aruino
> Mega board.
>
> I finished the entire thing but got stuck on compiling the actual example
> code.
>
> http://www.ros.org/wiki/avr_bridge/Tutorials/Hello%20World#main.cpp
>
> It has an include which is not in the downloadable eclipse project:
>
> #include "avrRos/Ros.h" //main avrRos library#include "avrRos/String.h" //std_msg/String library
>
>
> I couldn't find the String.h file on the git hub either:
>
> https://github.com/rutgers/avr_bridge
>
> Thanks for any help
> --
>
> _______________________________________________
> ros-users mailing list
>
> https://code.ros.org/mailman/listinfo/ros-users
>
>