|
From: Erik H. <er...@eh...> - 2017-06-10 07:57:02
|
Hi Issam, On 06/10/2017 02:55 AM, issam boughanmi wrote: > <mailto:fli...@li...> > > hi, > i am developping a flight simulator with unreal engine and i want to > integrate jsbsim for realistic behaviour : > and i would really appreciate if you can help me on this because at the > moment i cannot figure out how to :p > > > i have some specific questions : > > - how the main program communicate with jsbsim ? > - how to send user input to jsbsim for calculations? during main progam > loop ? etc > - how to get the data back from jsbsim to update the plane > location/orientation etc > - how to handle ground action callback, for example when the airplane > touch the ground during landing ? JSBSim is a stand alone utility which is used by FlightGear. For most JSBSim relates questions you would probably be better off at it's own development list: Project homepage: http://jsbsim.sourceforge.net/ Mailinglist: https://lists.sourceforge.net/lists/listinfo/jsbsim-devel Now for your question, you could take a look at how FlightGear is doing it by examining the example files supplied by JSBSim: https://sourceforge.net/p/jsbsim/code/ci/master/tree/examples/ Especially the copy_to_JSBsim() and copy_from_JSBsim() functions. Erik -- http://www.adalin.com - High performance virtual reality audio software. |