paparazzi-devel
[Top][All Lists]
Advanced

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

Re: [Paparazzi-devel] module question


From: Christophe De Wagter
Subject: Re: [Paparazzi-devel] module question
Date: Mon, 30 Aug 2010 21:10:55 +0200

Hi Chris,

The code for the modules should be located in 

sw/airborne/modules/"your_module_name"/ 
sw/airborne/modules/cam/ for your module.

So files should be moved. Your xml looks fine at first sight. See the demo_module as a reference.

Christophe

On Mon, Aug 30, 2010 at 8:08 PM, Chris <address@hidden> wrote:
Hi.
I am trying to implement a module using the new airframe type but i get an error:
DEPEND /home/hendrix/paparazzi3/var/QueenBee/sim/.depend
gcc: modules/cam/cam.c: No such file or directory
gcc: modules/cam/point.c: No such file or directory
Of course there is not a "modules/cam/" directory since the modules are located in
"paparazzi3/conf/modules/"

Here is the module:
<!DOCTYPE module SYSTEM "module.dtd">

<module name="cam" >
<header>
<file name="cam.h"/>
<file name="point.h"/>
</header>
<init fun="cam_init()"/>
<periodic fun="cam_periodic()" freq="10."/>
<makefile>
<raw>
#Exemple of RAW makefile part
#ap.CFLAGS += -DCAM -DMOBILE_CAM -DPOINT_CAM -DPOINT_CAM_YAW_PITCH_NOSE #-DSHOW_CAM_COORDINATES
#ap.srcs +=  point.c cam.c
#sim.CFLAGS += -DCAM -DMOBILE_CAM -DPOINT_CAM -DPOINT_CAM_YAW_PITCH_NOSE #-DSHOW_CAM_COORDINATES
#sim.srcs +=  point.c cam.c
</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>

Any ideas welcomed.
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]