[Top][All Lists]

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

Re: [Paparazzi-devel] Re: Simulation

From: Felix Ruess
Subject: Re: [Paparazzi-devel] Re: Simulation
Date: Tue, 27 Jul 2010 20:45:30 +0200

Hi Tobi,

as Gautier pointed out the jsbsim.xml airframe file is a good place to start.
You will have to adapt these lines
   jsbsim.CFLAGS += -I/home/cocoleon/usr/include/JSBSim
   jsbsim.LDFLAGS += -L/home/cocoleon/usr/lib/
in the makefile section to reflect your setup.
If you installed JSBsim like it is described on the BoozSimulation
page in the wiki it will be something like this:
   jsbsim.CFLAGS += -I/opt/jsbsim/include/JSBSim
   jsbsim.LDFLAGS += -L/opt/jsbsim/lib/

You can compile the JSBSim based simulator with the jsbsim target:
make AIRCRAFT=<ac> clean_ac jsbsim
Or add the jsbsim target in Paparazzi center and compile it there.

Then you can start the sim with
LD_LIBRARY_PATH=/opt/jsbsim/lib ./var/<ac>/sim/simsitl

You can add /opt/jsbsim/lib to your LD_LIBRARY_PATH by exporting it in
your bashrc script (or whatever shell you use) so you won't have to
put that in front of the command every time.

If you compile the sim target you will just get the "normal" sim.

Hope this helps...

Cheers, Felix

On Fri, Jul 23, 2010 at 2:15 PM,  <address@hidden> wrote:
> Hi,
> thanks a lot guys  I really appreciate all of your help and I know it s not 
> regular to answer so many dump questions....
> I finally managed to get the JSBSim to compile. Of cours you were right and 
> there were a lot of libs missing. I solved the problem as I changed to 
> Ubuntu10.04 and installed the latest version of paparazzi from the server. In 
> addition I installed some more tools like automake autoconf etc. but I m not 
> sure if really all of them were necessary. Think it will be much easier for 
> the next one if the package is released.
> So I finally have the JSB on my computer  at least I guess its there since I 
> m still struggling with the implementation into paparazzi and I haven t 
> started it jet. I took the MJ5 out of the paparazzicenter and replaced the 
> airframe file with jsbsim.xml which should be the latest version. then I 
> compiled the aircraft and launched the simulator.... since I didn t changed 
> the path for the flags in the make section  I m pretty sure it s still the 
> old simulationmodell even thou it s running.
> Think I need a little help with the configuration of the make section and an 
> idea how I can be sure that s really the JSBSim im using and not the old one.
> I made to directories
> address@hidden:/home/tobi/paparazzi3
> address@hidden:/home/tobi/JSBSim
> should be every think is in there.
> cheers Tobi
> ___________________________________________________________
> WEB.DE DSL ab 19,99 Euro/Monat. Bis zu 150,- Euro Startguthaben und
> 50,- Euro Geldprämie inklusive!
> _______________________________________________
> Paparazzi-devel mailing list
> address@hidden

reply via email to

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