Re: integrating jsbsim - help request

Erik Hofman <[email protected]> Sat, 10 Jun 2017 09:56:49 +0200
Newsgroups gmane.games.flightgear.flightmodel
Organization Adalin B.V.
Message-ID <[email protected]>
Hi Issam,

On 06/10/2017 02:55 AM, issam boughanmi wrote:
> <mailto:[email protected]>
> 
> 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.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot