Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

c functions

Featured Replies

Hi, I am using the FlightGear for research purposes, I choosed because is a free source software. My research is for making a control algorithm for an UAV(Unamanned aerial vehicle), I will use the FlightGear to test my fuzzy logic/neural networks model to flight the planes in FlightGear. Does anybody can tell me which c functions/parameters etc. are used to check how the plane is behaving after a comand of a pilot or control algorithm? in other words which functions/parameters determine if the plane crashes, flight normally ,fligt in a normal speed etc.thank you very much.

> Hi,>> I am using the FlightGear for research purposes, I>choosed because is a free source software. My research is for>making a control algorithm >for an UAV(Unamanned aerial vehicle), I will use the>FlightGear to test my fuzzy logic/neural networks model to>flight the planes in FlightGear. Does anybody can tell me>which c functions/parameters etc. are used to check how the>plane is behaving after a comand of a pilot or control>algorithm? in other words which functions/parameters determine>if the plane crashes, flight normally ,fligt in a normal speed>etc.>>thank you very much.I am not sure I am understanding you correctly, however you seem to be referring to the "FDM" (flight dynamics model), the FDM is basically the part in FlightGear that determines the effect of user input.FlightGear itself supports natively various different FDM engines such as JSBSim, YaSim, LarcSim etc. Apart from this, FlightGear can also be used with any custom FDM engine, simply by telling it to disable its in-built FDM using the --fdm=null parameter, so that you can directly provide FDM output using your own program.However, depending on the scope of your project you will probably want to decide for an existing and well supported FDM engine such as JSBSim/YaSim rather than making up your own.Apart from that I am quite sure that you would find more people being able to provide helpful information if you subscribe to the FlightGear Devel mailing list (as mentioned at http://www.flightgear.org/mail.html) AND provide some more background information about your specific project (goals, purpose, scope etc.)

Thank you for the reply you helped me. What I need to do is to make an algorithm which will replace the job of a pilot. Therefore I need to find where to insert the output from the algorithm in the FlightGear simulator.thank you very much.

>Thank you for the reply you helped me. What I need to do is>to make an algorithm which will replace the job of a pilot.well, this sounds a lot like some sort of autopilot?there are already multiple different autopilot implementation in place in FlightGear.>Therefore I need to find where to insert the output from the>algorithm in the FlightGear simulator.Basically, there should be hardly any need to directly use C/C++ for this purpose then.You will probably want to simply write the corresponding values directly to the property tree, see $FG_ROOT/Docs for further references. Also, you may find it helpful to check out the thread titled "Control FlightGear with External App": http://forums.avsim.net/dcboard.php?az=sho...=1411&mode=full

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.