paparazzi-devel
[Top][All Lists]
Advanced

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

[Paparazzi-devel] module question


From: Chris
Subject: [Paparazzi-devel] module question
Date: Mon, 30 Aug 2010 21:08:29 +0300
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.11) Gecko/20100713 Thunderbird/3.0.6

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]