paparazzi-devel
[Top][All Lists]
Advanced

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

Re: [Paparazzi-devel] JSBSim for fixedwing example


From: Andreas Gaeb
Subject: Re: [Paparazzi-devel] JSBSim for fixedwing example
Date: Wed, 09 Feb 2011 08:28:28 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.2.13) Gecko/20101207 Lightning/1.0b2 Thunderbird/3.1.7

[I'm sending this again, seems the first copy got lost]

Hi Stephen,

Am 05.02.2011 02:38, schrieb Stephen Dwyer:
> Hello,
> 
> I was hoping to utilize the JSBSim FDM for my fixedwing simulations,
> and I was wondering if anyone was currently doing this.
I do use it frequently.

> If so, would
> it be possible to obtain an example airframe file and any other
> details that may be necessary?
The ENAC/malolo_sim airframe can still be used as an example. However,
the airframe xml is still in the old format. To update it, remove the
old makefile section and replace it by something like the following:

  <firmware name="fixedwing">
    <target name="jsbsim" board="pc"/>
    <define name="LOITER_TRIM"/>
    <define name="ALT_KALMAN"/>
    <define name="AGR_CLIMB"/>

    <subsystem name="telemetry"     type="transparent">
      <define name="MODEM_BAUD"     value="B57600"/>
      <define name="MODEM_UART_NR"  value="1"/>
    </subsystem>
    <subsystem name="control"/>
    <subsystem name="navigation"/>
    <subsystem name="attitude"      type="infrared"/>
    <subsystem name="gps"           type="ublox_lea4p"/>
  </firmware>

  <makefile location="after">
# SITL with JSBSim
jsbsim.CFLAGS += -I<path to JSBSim includes dir>
jsbsim.LDFLAGS += -L<path to JSBSim libs dir>
jsbsim.CFLAGS += -g
  </makefile>

If you use the JSBSim package, you may even be able to skip the makefile
section, but I haven't tried as I use JSBSim CVS.

Best regards,
        Andreas




reply via email to

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