aerospace-toolbox

Quick-Start

You are looking at an old revision of the page Quick-Start. This revision was created by James Goppert.

Table of Content

How to run the code.

Quickstart

I'll update the documentation soon. To get you running here is what you need to do.

Scilab

  1. Install the simgear-dev library. (apt-get install simgear-dev)
  2. Install flightgear. (apt-get install flightgear)
  3. Download the aerospace-toolbox code.
  4. Start scilab, go to the folder where the code is and run: exec builder.sce
  5. If there are no errors then run: exec loader.sce
  6. Start flightgear by running the bash script fgrun.sh located in the aerospace-toolbox folder: ./fgrun.sh
  7. Then type y=flightGearUpdate(u) where:
  • u = [aileron;elevator;rudder;throtte] and
  • y = [roll;pitch;yaw;p;q;r;lon;lat;alt;vN;vE;vD;vWindN;vWindE;vWindD;Ax;Ay;Az]

Xcos

  1. To use this in xcos employ a user defined scilab function block and set the update function to y=flightGearUpdate(u), set u to size [4,1] and set y to size [18,1].
  2. I'll be creating a sample block soon.

Created: 8 years 8 months ago
by James Goppert

Updated: 8 years 8 months ago
by James Goppert

Old Revisions