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