paparazzi-devel
[Top][All Lists]
Advanced

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

Re: [Paparazzi-devel] module cam added succesfully (solved)


From: Christophe De Wagter
Subject: Re: [Paparazzi-devel] module cam added succesfully (solved)
Date: Mon, 30 Aug 2010 21:14:44 +0200

the cam.h is still hardcoded in the main_ap.c with a lot of #ifdef's... it will be my pleasure to remove these once the module is committed. 

Christophe 


On Mon, Aug 30, 2010 at 9:08 PM, Chris <address@hidden> wrote:
Hi Antoine
I did manage to get the cam module loaded, the only problem is that the cam.h file needs to be
also in the /sw/airborne/directory as various files need it by default.
Here is the module that works when i place all the files in the /sw/airborne/modules/cam/" directory:

<!DOCTYPE module SYSTEM "module.dtd">

<module name="cam" >
<header>
<file name="cam.h"/>
</header>
<init fun="cam_init()"/>
<periodic fun="cam_periodic()" freq="10."/>
<makefile>
<raw>
#Example of RAW makefile part
</raw>

<flag name="CAM"/>
<flag name="MOBILE_CAM"/>
<flag name="POINT_CAM"/>
<flag name="POINT_CAM_YAW_PITCH_NOSE"/>
<flag name="SHOW_CAM_COORDINATES"/>
<file name="cam.c"/>
<file name="point.c"/>
</makefile>
</module>

Also in the airframe file i added those lines:
<modules main_freq="60">
<load name="cam.xml"/>
</modules>

Chris


_______________________________________________
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]