[Top][All Lists]

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

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

From: Pascal Brisset
Subject: Re: [Paparazzi-devel] Help writing new messages into the code
Date: Tue, 01 Apr 2008 07:47:03 +0200
User-agent: Icedove (X11/20080305)


when a message XXXX is defined in the telemetry class of the conf/messages.xml file, a new macro


is generated in var/include/messages.h (note: this file is currently NOT generated from the Paparazzi Center; if messages.xml is modified, a "make" has to be done from the paparazzi3 directory). This macro (with its appropriate arguments) can be called anywhere in the the autopilot code.
If a periodic sending of the message is desired:
- an entry has to be added in the used telemetry configuration file (conf/telemetry/....xml) - a PERIODIC_SEND_XXXX() macro (with no arguments) has to be defined somewherein the code, usually in sw/airborne/ap_downlink.h : So it may look like

   #define PERIODIC_SEND_XXXX() DONWLINK_SEND_XXXX(&arg1, &arg2, ...)


Todd Sandercock wrote:
Hey all

I follow the wiki on adding new messages but all i get is and error : "warning: implicit declaration of function ‘PERIODIC_SEND_XXXX'"
What am i doing wrong?


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


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

Just in case, here's the link:



    Date: Sun, 30 Mar 2008 18:13:19 -0700
    From: address@hidden
    To: address@hidden
    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

    Get the name you always wanted with the new y7mail email address

Is your lingo strong enough to ace these new word puzzles from Live Search Games? Click here to test your vocab! <>

Get the name you always wanted with the new y7mail email address <*>.

Paparazzi-devel mailing list

reply via email to

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