Board index FlightGear Development Documentation

Overview of code/structure?

Discussion of the FlightGear documentation, how it can be improved and coordination of people working on it.

Overview of code/structure?

Postby keble » Fri May 06, 2016 10:16 pm

Hi, I'm new here. I'm helping out at a school project to build a flight simulator.
It makes sense to re-use some of FGFS, such as the flight models.

Is there a document with an overview of how the program is structured?
Anything that would help to see how it works would be great!
keble
 
Posts: 3
Joined: Fri May 06, 2016 10:01 pm

Re: Overview of code/structure?

Postby Johan G » Fri May 06, 2016 10:40 pm

Hi and welcome to the FlightGear forum! :D

It depends a lot on what you want to achieve. You can do a lot, lot of things without ever touching the code.

What are you planning to do more specifically? A fixed base simpit with multiple monitors and some hardware as an interface between the control panels and FlightGear? I think the only code you would have to touch trying to do that would be Arduino code in said hardware, though you would still have to do some work configuring the setup through various xml files.

If you have specific data for an aircraft, you will "only" have to model the aircraft and configure it up, including a flight dynamics model, using a few xml files.
Low-level flying — It's all fun and games till someone looses an engine. (Paraphrased from a YouTube video)
Improving the Dassault Mirage F1 (Wiki, Forum, GitLab. Work in slow progress)
Some YouTube videos
Johan G
Moderator
 
Posts: 6629
Joined: Fri Aug 06, 2010 6:33 pm
Location: Sweden
Callsign: SE-JG
IRC name: Johan_G
Version: 2020.3.4
OS: Windows 10, 64 bit

Re: Overview of code/structure?

Postby keble » Fri May 06, 2016 10:59 pm

Thanks Johan G. Yes, monitors and some hardware would probably be about right.
So is there documentation on this Arduino code? Where can I find out about it?

The specific aircraft type doesn't matter though.
keble
 
Posts: 3
Joined: Fri May 06, 2016 10:01 pm

Re: Overview of code/structure?

Postby Johan G » Fri May 06, 2016 11:31 pm

I hope these articles on the FlightGear wiki might be of some help:

In addition, regarding configuration files, I think that these might be helpful as well if you are new to FlightGear:

Low-level flying — It's all fun and games till someone looses an engine. (Paraphrased from a YouTube video)
Improving the Dassault Mirage F1 (Wiki, Forum, GitLab. Work in slow progress)
Some YouTube videos
Johan G
Moderator
 
Posts: 6629
Joined: Fri Aug 06, 2010 6:33 pm
Location: Sweden
Callsign: SE-JG
IRC name: Johan_G
Version: 2020.3.4
OS: Windows 10, 64 bit

Re: Overview of code/structure?

Postby keble » Sat May 07, 2016 6:23 am

Excellent!
Many thanks.
keble
 
Posts: 3
Joined: Fri May 06, 2016 10:01 pm

Re: Overview of code/structure?

Postby Johan G » Sat May 07, 2016 6:46 am

You are most welcome. :D
Low-level flying — It's all fun and games till someone looses an engine. (Paraphrased from a YouTube video)
Improving the Dassault Mirage F1 (Wiki, Forum, GitLab. Work in slow progress)
Some YouTube videos
Johan G
Moderator
 
Posts: 6629
Joined: Fri Aug 06, 2010 6:33 pm
Location: Sweden
Callsign: SE-JG
IRC name: Johan_G
Version: 2020.3.4
OS: Windows 10, 64 bit


Return to Documentation

Who is online

Users browsing this forum: No registered users and 1 guest