paparazzi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Paparazzi-devel] Help writing new messages into the code


From: Gautier Hattenberger
Subject: Re: [Paparazzi-devel] Help writing new messages into the code
Date: Mon, 31 Mar 2008 09:53:42 +0200
User-agent: Thunderbird 2.0.0.12 (X11/20080227)

Such variables can be defined in your airframe configuration file (funjet1.xml for ex.). In the "makefile" section (usually the last one) you can add:

ap.CFLAGS += -DTODD_STUFF
sim.CFLAGS += -DTODD_STUFF

then, you can add your own C code with
#define TODD_STUFF
 //your stuff
#endif

regards
Gautier

Todd Sandercock a écrit :

Yeah i found that article just after i sent the email. makes alot more sense now.

Now i am confused on where you define things for each aircraft. for eg if i wanted to write my own code and have it only activated when i define TODD_STUFF for example

Thanks

Todd



----- Original Message ----
From: Yves Touchette <address@hidden>
To: address@hidden
Sent: Monday, 31 March, 2008 2:05:58 PM
Subject: RE: [Paparazzi-devel] Help writing new messages into the code

Todd,

There is an article in the wiki about just that subject, have you seen it?

Just in case, here's the link: http://paparazzi.enac.fr/wiki/index.php/DevGuide/Communications

Regards,

-yvest



    ------------------------------------------------------------------------
    Date: Sun, 30 Mar 2008 18:13:19 -0700
    From: address@hidden
    To: address@hidden
    CC:
    Subject: [Paparazzi-devel] Help writing new messages into the code

    Hey there
    Would anyone out there be able to help me get my head around
    adding new functions and messages to the airborne side of the
    paparazzi code. I would like to be able to send a few more
    messages down from the aircraft and also call some of my
    own functions from the ground. I have been studying the code for a
    while trying to work my way through how it all works. i just can't
    get how everything connects compiling wise with the ground station.
    Any help would be greatly appreciated
    Thanks
    Todd

    ------------------------------------------------------------------------
    Get the name you always wanted with the new y7mail email address
    
<http://au.rd.yahoo.com/mail/taglines/au/y7mail/default/*http://au.yahoo.com/y7mail/?p1=ni&p2=general&p3=tagline&p4=other>.



Is your lingo strong enough to ace these new word puzzles from Live Search Games? Click here to test your vocab! <http://g.msn.ca/ca55/214>


------------------------------------------------------------------------
Get the name you always wanted with the new y7mail email address <http://au.rd.yahoo.com/mail/taglines/au/y7mail/default/*http://au.yahoo.com/y7mail/?p1=ni&p2=general&p3=tagline&p4=other>.
------------------------------------------------------------------------

_______________________________________________
Paparazzi-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/paparazzi-devel





reply via email to

[Prev in Thread] Current Thread [Next in Thread]