Actually, I would prefer not adding jsbsim to the default targets. I
think it is better to keep the default values to a minimal set.
But I can do something like allowing to write target="+jsbsim" to
add a target to the default list. I can also add this option at the
airframe level: <load module="xxx" target="+jsbsim"/>
What would be the most convenient ?
Le 04/01/2011 09:47, Christophe De Wagter a écrit :
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
On Tue, Jan 4, 2011 at 8:58 AM, Andreas
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
in the paparazzi center itself, this works just fine.
> other target you just need to put it first.
However, what my patch affects is not the airframe
generation but the
modules generation. The current version of gen_common (I did
update) defaults to ap|sim if a <makefile> tag in the
module xml does
not have a target="..." attribute. This behaviour changed
introduction of gen_common, as far as I can tell, which
modules that worked before are now unloaded when using
Workarounds could be either the patch I sent, or explicitly
target attribute in each module, or somehow porting the
from parse_firmware in gen_aircraft.ml
to gen_common.ml, possibly
extending it to check the targets of all firmwares. I tried
but did not succeed because I have too little ocaml
Paparazzi-devel mailing list