[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Paparazzi-devel] module cam added succesfully (solved)
From: |
Chris |
Subject: |
[Paparazzi-devel] module cam added succesfully (solved) |
Date: |
Mon, 30 Aug 2010 22:08:59 +0300 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.11) Gecko/20100713 Thunderbird/3.0.6 |
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] module cam added succesfully (solved),
Chris <=