Discussion:
[Flightgear-flightmodel] integrating jsbsim - help request
issam boughanmi
2017-06-10 00:55:53 UTC
Permalink
<mailto:flightgear-***@lists.sourceforge.net>
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 ?

any help is welcome thanks
Erik Hofman
2017-06-10 07:56:49 UTC
Permalink
Hi Issam,

On 06/10/2017 02:55 AM, issam boughanmi wrote:
> <mailto:flightgear-***@lists.sourceforge.net>
>
> 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.
issam boughanmi
2017-06-10 10:52:30 UTC
Permalink
thanks eric .

________________________________
De : Erik Hofman <***@ehofman.com>
Envoyé : samedi 10 juin 2017 07:56:49
À : flightgear-***@lists.sourceforge.net
Objet : Re: [Flightgear-flightmodel] integrating jsbsim - help request


Hi Issam,

On 06/10/2017 02:55 AM, issam boughanmi wrote:
> <mailto:flightgear-***@lists.sourceforge.net>
>
> 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.
Loading...