Jsbsim Tutorial

JSBSim exposes a property tree via Socket or HTTP. Enable the socket server in your script:

<output type="SOCKET" port="5123" protocol="TEXT" rate="30">
  <property>position/lat-deg</property>
  <property>position/lon-deg</property>
</output>

Then write a simple Python script to read from localhost:5123 and update a 3D model. jsbsim tutorial

<function name="aero/coefficient/CL">
  <description>Total lift coefficient</description>
  <product>
    <property>aero/qbar-psf</property>        <!-- dynamic pressure -->
    <property>fcs/wing-area</property>        <!-- wing area -->
    <table name="CL(alpha, elevator)">
      <!-- lookup table values -->
    </table>
  </product>
</function>

To configure the aircraft, follow these steps: JSBSim exposes a property tree via Socket or HTTP