Re: integrating jsbsim - help request
issam boughanmi <[email protected]> Sat, 10 Jun 2017 10:52:30 +0000
| Newsgroups | gmane.games.flightgear.flightmodel |
|---|---|
| Message-ID | <DB6P194MB0133A39FBE7CD25865D622D2B9CF0@DB6P194MB0133.EURP194.PROD.OUTLOOK.COM> |
--===============8734503983471898271== Content-Language: fr-FR Content-Type: multipart/alternative; boundary="_000_DB6P194MB0133A39FBE7CD25865D622D2B9CF0DB6P194MB0133EURP_" --_000_DB6P194MB0133A39FBE7CD25865D622D2B9CF0DB6P194MB0133EURP_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable thanks eric . ________________________________ De : Erik Hofman <[email protected]> Envoy=E9 : samedi 10 juin 2017 07:56:49 =C0 : [email protected] Objet : Re: [Flightgear-flightmodel] integrating jsbsim - help request 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 _______________________________________________ Flightgear-flightmodel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/flightgear-flightmodel --_000_DB6P194MB0133A39FBE7CD25865D622D2B9CF0DB6P194MB0133EURP_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <html> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-= 1"> <meta name=3D"Generator" content=3D"Microsoft Exchange Server"> <!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; pad= ding-left: 4pt; border-left: #800000 2px solid; } --></style> </head> <body> <meta content=3D"text/html; charset=3DUTF-8"> <style type=3D"text/css" style=3D""> <!-- p {margin-top:0; margin-bottom:0} --> </style> <div dir=3D"ltr"> <div id=3D"x_divtagdefaultwrapper" dir=3D"ltr" style=3D"font-size:12pt; col= or:#000000; font-family:Calibri,Arial,Helvetica,sans-serif"> <p>thanks eric .</p> </div> <hr tabindex=3D"-1" style=3D"display:inline-block; width:98%"> <div id=3D"x_divRplyFwdMsg" dir=3D"ltr"><font face=3D"Calibri, sans-serif" = color=3D"#000000" style=3D"font-size:11pt"><b>De :</b> Erik Hofman <erik= @ehofman.com><br> <b>Envoy=E9 :</b> samedi 10 juin 2017 07:56:49<br> <b>=C0 :</b> [email protected]<br> <b>Objet :</b> Re: [Flightgear-flightmodel] integrating jsbsim - help reque= st</font> <div> </div> </div> </div> <font size=3D"2"><span style=3D"font-size:10pt;"> <div class=3D"PlainText"><br> Hi Issam,<br> <br> On 06/10/2017 02:55 AM, issam boughanmi wrote:<br> > <<a href=3D"mailto:[email protected]">ma= ilto:[email protected]</a>><br> > <br> > hi,<br> > i am developping a flight simulator with unreal engine and i want to <= br> > integrate jsbsim for realistic behaviour :<br> > and i would really appreciate if you can help me on this because at th= e <br> > moment i cannot figure out how to :p<br> > <br> > <br> > i have some specific questions :<br> > <br> > - how the main program communicate with jsbsim ?<br> > - how to send user input to jsbsim for calculations? during main proga= m <br> > loop ? etc<br> > - how to get the data back from jsbsim to update the plane <br> > location/orientation etc<br> > - how to handle ground action callback, for example when the airplane = <br> > touch the ground during landing ?<br> <br> JSBSim is a stand alone utility which is used by FlightGear.<br> For most JSBSim relates questions you would probably be better off at <br> it's own development list:<br> <br> Project homepage:<br> <a href=3D"http://jsbsim.sourceforge.net/">http://jsbsim.sourceforge.net/</= a><br> <br> Mailinglist:<br> <a href=3D"https://lists.sourceforge.net/lists/listinfo/jsbsim-devel">https= ://lists.sourceforge.net/lists/listinfo/jsbsim-devel</a><br> <br> Now for your question, you could take a look at how FlightGear is doing <br= > it by examining the example files supplied by JSBSim:<br> <a href=3D"https://sourceforge.net/p/jsbsim/code/ci/master/tree/examples/">= https://sourceforge.net/p/jsbsim/code/ci/master/tree/examples/</a><br> <br> Especially the copy_to_JSBsim() and copy_from_JSBsim() functions.<br> <br> Erik<br> <br> <br> -- <br> <a href=3D"http://www.adalin.com">http://www.adalin.com</a> - High performa= nce virtual reality audio software.<br> <br> ---------------------------------------------------------------------------= ---<br> Check out the vibrant tech community on one of the world's most<br> engaging tech sites, Slashdot.org! <a href=3D"http://sdm.link/slashdot">htt= p://sdm.link/slashdot</a><br> _______________________________________________<br> Flightgear-flightmodel mailing list<br> [email protected]<br> <a href=3D"https://lists.sourceforge.net/lists/listinfo/flightgear-flightmo= del">https://lists.sourceforge.net/lists/listinfo/flightgear-flightmodel</a= ><br> </div> </span></font> </body> </html> --_000_DB6P194MB0133A39FBE7CD25865D622D2B9CF0DB6P194MB0133EURP_-- --===============8734503983471898271== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot --===============8734503983471898271== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Flightgear-flightmodel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/flightgear-flightmodel --===============8734503983471898271==--