[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Paparazzi-devel] math.h library
From: |
cory barton |
Subject: |
Re: [Paparazzi-devel] math.h library |
Date: |
Tue, 21 Oct 2008 10:55:16 -0400 |
Pascal,
I was completely unaware that we could do that. Thank you. That is a
fantastic tool.
I have added it to the DevGuide page on the wiki:
http://paparazzi.enac.fr/wiki/index.php/DevGuide/DesignOverview#Generating_Doxygen_Code_Documentation
Cory
On Tue, Oct 21, 2008 at 8:56 AM, Pascal Brisset <address@hidden> wrote:
> Hi,
>
> the <math.h> header is included from sw/include/std.h, itself included by
> pprz_transport.h, included by downlink.h included by ap_downlink.h
>
> A way to look at the includes dependencies is to use the graphs generated
> with doxygen. After installation
>
> sudo apt-get install doxygen graphviz
>
> run the generation with (from the paparazzi3/ directory)
>
> make doxygen
>
> and open the dox/html/ap__downlink_8h.html generated file with any navigator
>
> --Pascal
>
> Brendan Chen wrote:
>>
>> Secondly I do have another question, in ap_downlink.h I am required to use
>> functions which are in the <math.h> library (the log() function). After
>> adding the 'log()' function in the code, I was able to compile successfully.
>> I have also tried to add and delete the include command '#include <math.h>'
>> and it seemed to be able to compile both ways! How could this be? And if I
>> was able to use the 'log()' command in the .h file and I was doing it wrong,
>> how would I do it instead?
>>
>>
>> Thanks
>> Brendan
>>
>>
>> _______________________________________________
>> Paparazzi-devel mailing list
>> address@hidden
>> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>>
>
>
>
> _______________________________________________
> Paparazzi-devel mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>