[Top][All Lists]

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

Re: [Paparazzi-devel] Default targets for modules

From: Christophe De Wagter
Subject: Re: [Paparazzi-devel] Default targets for modules
Date: Tue, 4 Jan 2011 09:47:44 +0100

Hi Andreas,

Sorry for my hasty reply. I misread the "module" part. I'm not sure that all targets would need all modules (tunnel,text_xxx, test_yyy) so I think your patch is probably the way to go. If someone can confirm we can add it to the trunk.


On Tue, Jan 4, 2011 at 8:58 AM, Andreas Gaeb <address@hidden> wrote:
Hi Christophe,

Am 03.01.2011 20:14, schrieb Christophe De Wagter:
> [...] Are you using the latest git version?

> [...] The target order in paparazzi center is the
> same as in your airframe file, so if you use jsbsim more often than any
> other target you just need to put it first.
in the paparazzi center itself, this works just fine.

However, what my patch affects is not the airframe generation but the
modules generation. The current version of gen_common (I did do an
update) defaults to ap|sim if a <makefile> tag in the module xml does
not have a target="..." attribute. This behaviour changed with the
introduction of gen_common, as far as I can tell, which means some
modules that worked before are now unloaded when using JSBSim.

Workarounds could be either the patch I sent, or explicitly stating a
target attribute in each module, or somehow porting the targets list
from parse_firmware in to, possibly
extending it to check the targets of all firmwares. I tried the latter,
but did not succeed because I have too little ocaml experience.

Best regards,

Paparazzi-devel mailing list

reply via email to

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