Fr/Foire aux questions

From FlightGear wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
WIP.png Travail en cours
Dans les heures ou les jours suivants, des travaux sur cet article ou section seront effectués.
Voyez l'histoire de l'article pour les derniers développements.

Consultez également : Aircraft, Multiplayer Help, Installing Scenery, and Flying the Helicopter.

Cette FAQ est en cours de mise à jour depuis Septembre 2012.

Vous êtes donc invité à utiliser la page de discussion afin de proposer des ajouts, des changements ou des corrections.

La FAQ

Où puis-je obtenir la dernière version de cette FAQ?

http://www.flightgear.org/Docs/FlightGear-FAQ.html

Qui puis-je contacter si j'ai des commentaires sur cette FAQ ?

Ajoutez vos commentaires à la page de discussion de cette FAQ Talk:FAQ.

De quand date ce document ?

Cliquez sur l'onglet "historique" en haut de cette page.

Quelle autre documentation importante devrais-je lire ?

Distribution

Où puis-je télécharger FlightGear?

La page officielle de téléchargement est http://www.flightgear.org/Downloads/. Notre principale méthode de distribution est le code source, mais des binaires précompilés sont disponibles pour Windows,SGI IRIX,Linux(la plupart distributions) et Mac OS X.

Pour les utilisateurs de systemes Linux/Mac rien ne vous empeche de compiler vous meme le code source(Openscenegraph,simgear,flightgear et éventuellement Fgrun ou bien kfreeflight ) la compilation sous système windows est possible mais néanmoins très difficile,vous devriez vous reporter sur les paquets binaires.

Comment installer FlightGear Sur Ubuntu(valable aussi pour Debian et d'autres distributions) ?

FlightGear peut être installé directement à partir du gestionnaire de paquets Synaptic. Ouvrez le gestionnaire de paquets Synaptic (Système -> Administration -> Gestionnaire de paquets Synaptic, cherchez FlightGear et suivez les instructions.

Attention via synaptic vous n'aurez pas forcément la dernière version de FlightGear(généralement les versions présentes sont inférieures à la V2.6). je vous conseille fortement de compiler vous même Fg ou bien d'utiliser les paquets pré construis.

Téléchargement de FlightGear par FTP

Le serveur FTP utilise une procédure d'identification anonyme standard. Identifiez-vous avec l'identifiant "anonymous" et utilisez votre adresse de courriel comme mot de passe. La plupart des clients FTP et des navigateurs web le feront automatiquement pour vous.

Pourquoi le serveur FTP refuse systématiquement ma connection?

Cela veut généralement dire que le serveur a atteint la limite de ses capacités. Vous devriez voir un message qui vous l'indique mais dans certains cas ce message est caché par votre client ftp. La seule chose à faire et d'essayer de se connecter à un autre serveur FTP une liste est disponible ici: http://flightgear.org/mirrors.html.

Où puis-je trouver le dernier code source de développement ?

il est disponible ici, vous aurez besoin de maitriser et comprendre le protocole git

Qu'est-ce que SimGear et pourquoi en ai-je besoin ?

SimGear est une librairie de support nécessaire pour utiliser FlightGear(on peut appeler ça une dépendance). SimGear ne sera utile que si vous prévoyez de compiler FlightGear vous même -- Il ne vous sera d'aucune utilité si vous utilisez les paquets pré compilés binaires. pour plus d'information allez ici: SimGear(description en anglais).

NB: Lorsque vous compilez FlightGear veillez bien à avoir les bonnes versions de chaques librairies,par exemple SimGear V2.9+FlightGear v2.9,d'autre part le dossier FGDATA($FGROOT) ne doit pas être trop vieux(vous pouvez pas utiliser la dernière version git avec un fgdata V2.0)

Où puis-je voler et où télécharger les scènes ?

Afin d'éviter un téléchargement trop lourd, le paquetage de base ne contient que la zone de la baie de San Francisco. Cependant, vous pouvez voler n'importe où dans le monde ; en effet vous avez plusieurs possibilités d'obtenir des Scènes supplémentaires :

  • Par interface graphique c'est de loin la méthode la plus simple : vous sélectionnez la zone qui vous intéresse, ensuite un clic déclenche le téléchargement de la Scène voulue. Il ne vous restera plus qu'à la decompresser et ajouter le contenu dans votre dossier $FGROOT (généralement dans /fgdata/Scenery/..)
  • Directement depuis un miroir c'est un peu la même chose que la première méthode sauf que vous devrez ici connaitre exactement le nom de la scène que vous désirez. (d'autres miroirs sont disponible ici au cas ou la première adresse ne fonctionnerait pas)
  • Par bittorent ,il vous faudra un client bittorent,c'est un petit logiciel qui vas se charger de récupérer FlightGear sur le réseau.(les temps et débits de téléchargement peuvent être très variable).
  • En utilisant TerraSync pour simplifier ce système permet de télécharger les scènes à la volée durant votre vol ce qui vous permet d'aller dans des aéroports que ne vous ne possédez pas encore. Le gros avantage est que tout ceci est totalement transparent pour l'utilisateur.
Il faut néanmoins surveiller son espace disque,surtout si vous volez beaucoup (et un peu partout sur la planète) la quantité de données peut facilement dépasser les 5 Go.
  • Télécharger la totalité des Scène de la planète via SVN pour les utilisateurs linux il suffira juste d'ouvrir une fenêtre terminal et de taper cette commande :
svn checkout http://terrascenery.googlecode.com/svn/trunk/data/Scenery
C'est après qu'il faut s'accrocher : le téléchargement complet nécessite entre 24 et 30Go d'espace disque, avec une très bonne connection internet (>2Mo/s) cela prend une nuit au pire 24 heures(surement quelques jours pour les connections plus faible).
en cas de télechargement interrompu il suffira d'utiliser ces deux commandes (mettez vous dans le dossier contenant le dossier Scenery) :
svn cleanup Scenery
svn update Scenery

Le téléchargement reprendra la ou il s'était arrêté, dernière chose la charge mémoire peut devenir importante (en moyenne 800Mo occupé par le processus SVN) et votre disque dur sera fortement sollicité.

Par la suite tous les mois un simple "svn update Scenery" suffira pour mettre à jour vos scènes(ca ne téléchargeras que les éléments nouveaux,un gain de temps très appréciable)
Si vous installez des scènes personnalisées comme celle de Jomo (EDDF-ELLX) à la place de
svn update Scenery

il faudra utiliser:

svn update Scenery --accept postpone

cela vous évitera de nombreux conflits ainsi que le remplacement de vos scènes personnalisées par celle du dépôt SVN.

Attention vous ne pouvez pas utiliser cette méthode en combinaison de TerraSync(il vous faudra obligatoirement désactiver celui-ci dans le menu FlightGear ou Fgrun)

Les utilisateurs de windows peuvent aussi procéder ainsi en utilisant TortoiseSVN, c'est une interface graphique qui vous permettra d'utiliser simplement le "protocole" SVN.

Pour les utilisateurs de Mac OS X, le principe est semblable à linux, ouvrez un terminal puis....

NB: cet article aborde en détail l'installation des Scènes, donc si vous vous sentez un peu perdu n'hésitez pas à la consulter.

Ou est ce que je peux obtenir plusieurs avions pour FlightGear?

pour Flightgear V2.8 vous pourrez trouver un très grand nombre d'avions ici.

pour savoir comment installer un avion lisez ceci: Installer un avion
Vous pouvez obtenir des informations complémentaires ici(manuel,procédures,notations des avions).

Comment sont situées les données de Flightgear par rapport au monde réel?

Nous utilisons les mêmes données (aéroport et Navaids) que le simulateur X-plane. La base de données actuel peut être trouvé dans les répertoires $FG ROOT/Navaids/ and $FG ROOT/Airports/. Si vous désirez enrichir ou apporter des modifications à la base de données veuillez consulter ceci (en anglais) vous y trouverez aussi des instructions sur comment contacter le mainteneur de la base de données.

Where is the moving map?

A popular moving map display is available under a separate project called Atlas (See http://atlas.sf.net/) Also, MPmap is an online map for multiplayer.

Why don't you charge money for this?

FlightGear can be downloaded for free from many locations including the FlightGear website, but can also be bought on a CD. Although we offer that service (see the website), we encourage other groups to redistribute it for their users, especially within an operating system distribution which makes installation even faster and easier for new users.

Occasionally you may see FlightGear for sale on auction sites or commercial websites under some other name. This can be done quite legitimately as long as the terms of the license are upheld and might be worth the cost if some value-added features such as additional scenery, aircraft or after-sale support are included. Unfortunately, most cases seen to date appear to be just someone trying to make money selling something that is free and providing no real added value.

How can I get started with FlightGear

FlightGear version 1.0 can be downloaded at Download Central, but most aircraft need to be separately downloaded Here and installed manually (see also FlightGear 1.0 default aircraft). Be aware of system requirements! Also, check out New to FlightGear.

Compiler

1rightarrow.png Consultez la page Building Flightgear à ce sujet.

Pourquoi est-ce que FlightGear ne compile pas ?

Well, that depends. First make sure you are using the appropriate versions of FlightGear, SimGear, plib, zlib. If any of the packages are out of sync with the others, compilation may fail. See also Building FlightGear

The FlightGear Downloads page (http://www.flightgear.org/Downloads/) should tell you what versions you need if you are trying to compile the latest stable release. If you are using a development snapshot, make sure all three packages are up-to-date.

Also ensure that you have some implementation of OpenGL with glut support with the appropriate header files. Linux users with nVidia cards should make sure you have the latest drivers from nVidia. Other Linux users make sure you have Mesa3D (http://mesa3d.org/) and your X server installed correctly.

If your problems persist, subscribe to our FlightGear-Users mailing list and let us know what problem you're having. See http://www.flightgear.org/mail.html for help with this.

J'utilise RedHat 7 et... ?

Update your gcc packages. See http://redhat.com/errata/ to fix it and http://www.gnu.org/software/gcc/gcc-2.96.html for an explanation why.

Configurer

How do I install new scenery?

The scenery archive files (ie. w100n30.tar.gz) should be untarred into the Scenery/Terrain directory in your $FG_ROOT.

Comment configurer mon joystick ?

FlightGear should come with a helpful program called `fgjs` that can help configure your joystick. Run `fgjs` and then copy the dot file it created into your home directory or add its contents to your existing rc file.

Also, see the README.Joystick file located in the FlightGear/docs-mini/ directory of the source distribution and the Joystick-page on the wiki.

What format should my personal .fgfsrc file be in?

Your .fgfsrc file should simply be a list of command line options with one option per line. The file is not an XML file.

If you would rather use an XML configuration file, you can add something like the following in your .fgfsrc

--config=/path/to/my/config.xml

Almost every option corresponds to a property, so you can choose to use whichever method best suits your needs.

Running

Why do I get an error loading libopenal.so.0?

With the default installation, libopenal.so.0 is installed into /usr/local/lib. You need to ensure that that path is listed in /etc/ld.so.conf, then run `ldconfig`as root.

Why do I get "ssgInit called without a valid OpenGL context"?

In short, your GL libraries are broken. So far only Red Hat 7.x users have experienced this (see http://www.redhat.com/bugzilla/show_bug.cgi?id=18867). The only solutions are possibly complicated ones: you can either change distributions (most of us prefer Debian) or upgrade/downgrade your Mesa libs.

Why do some other GL applications work though? Well, Steve Baker (Mr. PLIB) has explained this on the plib-users list (http://www.geocrawler.com/lists/3/SourceForge/1867/0/6470648/).

What happened to the panel, keyboard, etc?

The problem is almost certainly that your base package is out of sync with FlightGear. Many configurable parts of FlightGear are defined in XML files contained in the base package.

Why doesn't audio work properly under Irix?

FlightGear (as of June 2001) uses the Portable Libraries (PLIB) for playing audio. The audio queue implementation of PLIB is far from optimal (in fact it's just wrong). This seems to work on other platforms quite well, but Irix expects things to be programmed properly.

There has been discussion about using OpenAL (http://www.openal.org/) for the next release of both PLIB and FlightGear. Tests show that the OpenAL audio implementation does the job right, meaning that these audio problems should be gone by then. In the mean time it is best to disable audio on Irix completely (by adding --disable-sound either on the command line or to your $HOME/.fgfsrc file).

Why is FlightGear so slow?

FlightGear supports hardware acceleration, but it seems not to be activated. Make sure you have OpenGL libraries installed and configured properly and make sure you have the latest drivers for your video card.

Linux users: If you are an nVidia user, follow their directions on getting your card working. For most other users, make sure Mesa is installed property and ensure that you have the appropriate kernel device drivers for your card. Most people (and distributions) use modules for their video card device drivers; run `lsmod` as root to see what modules are loaded. You should also make sure that you are loading the appropriate modules in your XF86Config and that your video device section is correct. Now try running an OpenGL application (other than FlightGear) to see how it performs. You can try the gears demo from Mesa or something like Quake3.

Why is my SGI machine so slow?

First of all, one of the most common mistakes on SGI hardware is to forget to specify --fog-fastest. On most SGI machines the EXP2 shading model isn't hardware supported resulting in frame rates below 1 frame per second (fps).

FlightGear makes extensive use of the OpenGL z-buffer feature,which on most older SGI hardware is only supported in software. This means that the CPU has to do all the z-buffer calculations in addition to the other tasks FlightGear involves (flight dynamics, scenery tracking, pushing commands into the graphics queue, etc). The following features are software rendered on low-end SGI machines (like Indy and Indigo):

  • stencil and accumulation buffer
  • depth queuing and depth buffering
  • fogging, lighting, clipping and transforms
  • texturing

This means that running FlightGear with the following options may not even get the desired result:

./runfgfs --fog-disable --shading-flat --disable-skyblend --disable-textures --disable-clouds --disable-sound --disable-panel --enable-hud --disable-anti-alias-hud

I could even imagine that adding --enable-wireframe doesn't work on these machines (I would be happy to be proven wrong though).

On a machine like O2 the following options give an acceptable result: ./runfgfs --fog-fastest --disable-sound

Since I don't have access to other SGI hardware I can't tell which options would be appropriate for your situation.

How do I see the frame rate?

On the menu select View, Rendering Options , then check the box that says Show Frame Rate

How do I toggle panel settings?

There are two ways. One way is to hide the panel without the HUD showing. To hide the panel, use Shift+P; To make the HUD disappear, use H. The second way is to use the alternative HUD by Shift+I (Use I to switch back).

Stuck upside down after "crash"?

In his infinite wisdom the FlightGear Grand Master decided that planes were too valuable to allow them to be destroyed by novice pilots who seemed to crash a lot. The fact that nobody has bothered to model crashes may have something to do with it too. :-)

The result of this as you have noticed is that with a little practice an ingenuity you can trim the ship to fly inverted along the ground.

The quick answer is to hit Ctrl+U (with the default key bindings) to warp the plane up 1000ft.

For the stubborn people out there: The trick to learn is to roll back to normal (non inverted) do this by nursing the elevator to get to about 500 feet or so and use the ailerons to snap roll 180*. This is all good avionics except for the plane not destroying itself. Remember the controls work in reverse when you are inverted and keep that airspeed up!!!

Why does FlightGear die on startup saying "time zone reading failed"?

This is probably caused by a line-ending problem in the timezone files. Win32 users can resolve the problem by downloading a DOS to UNIX conversion utility available at http://www.nottingham.ac.uk/~eazdluf/d2u.zip. Run as `d2u *.tab` from within the timezone directory to fix your timezone files.

Why won't the latest versions of some aircraft work in FlightGear 9.10?

The latest FlightGear aircraft need to use some files such as new instrument files only released with version 1.0. If you are stuck with an older version of FlightGear you can try downloading an earlier version of the aircraft here : http://web.archive.org/web/20060204211745/www.flightgear.org/Downloads/aircraft/ or here:http://ftp.riken.go.jp/pub/FreeBSD/distfiles/flightgear-aircrafts/

Hacking

En quel langage informatique est écrit FlightGear ?

Mostly C++ with some supporting C code that's primarily contained within SimGear.

How do I design a flight dynamics model for a new aircraft?

To define an aircraft for FlightGear's primary FDM (JSBSIM), see http://jsbsim.sf.net/.

If you want a simpler FDM to work with, try your hand at YASim, an alternative FDM. For an guide on creating a YASim aircraft, look in the FlightGear base package for Aircraft-yasim/README.yasim.

Comment importer des avions à partir de Microsoft Flight Simulator ?

You can import planes by using the 3D Convert utility which will convert the MSFS 3d model to a format used by FlightGear. You have to add the animations and parts.

Also, although you can import the 3D model and textures, the flight dynamics (the .AIR file) must be completely redone for FlightGear.

If you wish to import a model made with gmax, you will need to convert it to .MDL format using Microsoft's MakeMDL SDK which is available at http://zone.msn.com/flightsim/FS02DevDeskSDK08.asp.

Comment importer des scènes BGL de Microsoft Flight Simulator ?

See http://chiangt.virtualave.net/BGL/bgl_index.html.

How do I design or modify a panel?

See the README.xmlpanel file located in the FlightGear/docs-mini/ directory of the source distribution.


How do I place objects, like buildings, into FlightGear?

First, ensure that you have v0.7.7 or later, the scenery files where you plan to place the object, the actual model, and the longitude and latitude where you plan to place the object.

Now get the altitude for your point. If you don't want to calculate this yourself, start FlightGear at your location and take note of the altitude. Here's an example command:

fgfs --lat=45.50 --lon=-75.73 2>&1 | tee fgfs.log

The altitude is probably in feet, so divide the starting altitude by 3.28.

Search the output log file for the first occurrence of the string "Loading tile" and take note of the filename. In the above example, the output line looks like:

Loading tile /usr/local/Scenery/w080n40/w076n45/1712601

Copy a 3D model in a format that Plib understands to the same directory as the tile file. Edit the text file in that directory consisting of the tile name with the extension ".stg". The file will already exist if there is an airport on the tile; otherwise, you can create it from scratch. In our example, the filename is:

/usr/local/Scenery/w080n40/w076n45/1712601.stg

At the end of the file, add a new entry for your object, consisting of the word "OBJECT_STATIC" followed by the model name, the longitude in degrees, the latitude in degrees, the altitude in meters, and the heading in degrees. In our example the line looks like:

OBJECT_STATIC Towerax.ac -75.73 45.40 60 0

Save the changes to the .stg file, restart FlightGear, and enjoy.

NOTE: The above information was taken from the following mailing list post: http://www.geocrawler.com/archives/3/11854/2001/6/0/5991409/. See that page if this one doesn't make sense.

An alternative approach using PPE is described at http://mail.flightgear.org/pipermail/flightgear-devel/2001-December/002239.html by Norman Vine.

With Flightgear 0.9.10 there is an easy way for Placing 3D Objects with the UFO

See also FlightGear Scenery Designer .

Where can I learn 3D programming and how do I get involved?

Contributing to the 2D panel doesn't require any coding at all, just a minimal knowledge of XML syntax (i.e. five minutes' worth) and good skills with drawing and/or paint programs. Every instrument on the current panel, with the partial exception of the magnetic compass, is defined entirely in XML with no custom C++ code. If you want to get started, take a look at John Check's excellent intro (http://rockfish.net/fg/README.xmlpanel).

Likewise, if you want to create a 3D cockpit for FlightGear, or to create buildings, external aircraft models, etc., your help is *desperately* needed. The only rule is to go easy on the triangles -- a model with 50,000 triangles probably won't be usable in FlightGear, and one with 5,000 triangles, only marginally. If you can design a nice 3D cockpit interior for in a 3D design program such as AC3D or PPE, there may be coders who will be happy to add the support code in the C++.

If, on the other hand, you really want to get your hands dirty with C++ coding, you'll have to buy a good OpenGL book eventually. However, FlightGear uses a high-level library, PLIB, that hides most of the details of OpenGL. To get started with 3D C++ coding, you can take a look at the plib documentation and learn only as much OpenGL as you need, when you need it.

How do I add an airport?

You can add your airport to the $FG ROOT/Airports/default.apt.gz file, but to get the airport to show up visually, you will have to rebuild the scenery around the airport. The format of the default.apt file is documented at http://www.flightgear.org/Docs/AirNav/AptNavFAQ.FlightGear.html.

How do I generate my own scenery?

Yes, though it can be a difficult task. FlightGear's scenery generation is handled by a sister project, TerraGear. For more details, see http://terragear.org/.

Flying

Why won't my engine(s) start?

Starting engine in single-engine aircraft

Aircraft vary in their starting procedure. Some may have an auto-start sequence menu entry or instructions in the aircraft help menu (Press "?").

But in general to start the engine on a piston-engine type aircraft, you need:

  1. Fuel - You can run out of fuel, of course, but for certain aircraft, FlightGear may load it with no fuel, making it impossible to start the engines. Check this in the menu Equipment/Fuel and Payload.
  2. Correct mixture (generally "rich", ie red knob all the way in)
  3. Magnetos on (R, L, or both--generally select "both")
  4. Throttle (some engines start better with a little gas)
  5. Hold starter for sufficient time.

You may be able to do all these functions with the standard 2-D panel or your aircraft's built-in panel. However using the standard key bindings is more reliable:

  1. Press/hold "m" to set mixture to rich (m=rich, M=lean--if you are at a very high elevation you may need to set it somewhere besides full rich)
  2. Press "}}}" (three times) to set magneto to R, L, and finally "Both".
  3. Open throttle a little.
  4. Press "s" to run the starter. For some aircraft you may have to hold "s" as long as 10 seconds before the engine starts.

Starting engine in multi-engine aircraft

Starting all engines in a multi-engine aircraft is similar to the single engine--except you must follow the same start sequence for each and every engine. Flightgear provides a convenient way to do this for all engines at once.

Note that the default 2-D panel is connected to only one engine. So if you try to start the engines using the 2-D panel controls you will most likely start only one engine.

Instead, use the keyboard to start all engines at once:

  1. Press "~" (select all engines)
  2. Press/hold "m" to set mixture to rich (m=rich, M=lean--if you are at a very high elevation you may need to set the mixture somewhere besides full rich)
  3. Press "}}}" (three times) to set magnetos to R, L, and finally "Both".
  4. Open throttle a little (it now controls all engines).
  5. Press "s" to run the starter (it now runs the starter on all engines). For some aircraft you may have to hold "s" as long as 10 seconds before the engine starts.
  6. Rev the engines a little with your throttle and check your tachometers and/or visually to be sure all engines are running.

Si les moteurs ne démarrent pas, assurez-vous que vous avez du carburant. Certains avions disposent de commutateurs pour contrôler quel réservoir de carburant alimente l'avion, donc vérifiez-les.

Make sure each engine you want to start is connected to a tank that has fuel. Check fuel tanks in the menu Equipment/Fuel and Payload.

Où puis-je apprendre le vol et la navigation aux instruments ?

http://www.navfltsm.addr.com/ est un très bon site pour apprendre les techniques de navigation.

Voir comment ça vole est un bon livre par, disponible gratuitement en ligne.

Veuillez consulter la section Understanding Navigation

What is the difference between Aileron and Rudder?

There is a bit of info on aileron vs. rudder in the very same book...

Peut-on voler en réseau ?

Oui, les deux versions Windows et *nix permettent le vol en réseau sur des serveurs FlightGear.

Wiki: Multiplayer_Howto

Une carte affichant en temps réel tous les avions volant en réseau est disponible :

FlightGear Online Server Map (voir aussi MPmap)

Où puis-je trouver sur Internet des informations sur les aéroports et des cartes aéronautiques ?

Aéroports :

Cartes :

Is there support for any military scenarios like dog fighting or bomb dropping?

Most of our developers are primarily interested and focused on civilian aviation. We aren't explicitly excluding these features -- we just haven't had anyone who has done much development in these areas until recently. Now there are third-party bombing scenarios for the A-10 and other aircraft with armament, like the North American OV-10A Bronco, General Dynamics F-16 and F-117 Nighthawk.

A new add-on (9/2009) adds support for dogfighting (including multiplayer dogfighting) and bombing scenarios.

Comment puis-je devenir contrôleur aérien (ATC) ?

Il n'est pas encore possible de devenir ATC avec la version stable, il vous faudra donc télécharger la version CVS.