How to take joystick commands from FlightGear as inputs into JSBSim to control the model? #899
Replies: 4 comments 1 reply
-
You haven't specified how exactly you're interfacing JSBSim with FlightGear. Typically FlightGear loads JSBSim itself and FlightGear has code to read joystick inputs and FlightGear will then pass those inputs into JSBSim. |
Beta Was this translation helpful? Give feedback.
-
Through UDP protocol |
Beta Was this translation helpful? Give feedback.
-
Can you please send me the link to that code in which I can use flight gear. The thing is I am running JSBSim standalone and and want my joystick to communicate with JSBSim model, but you can advise me on that. |
Beta Was this translation helpful? Give feedback.
-
Do you have a specific reason to run JSBSim externally to FlightGear?
I'm not familiar with the FlightGear code, you'll have to go their repo and search/look for their joystick code. Alternatively or in addition you could also take a look at @dpculp's QtJSBSim project to see how he uses Qt etc. to read joystick data and feed it into JSBSim, see - https://github.com/dpculp/qtjsbsim |
Beta Was this translation helpful? Give feedback.
-
I have interfaced JSBSim with FlightGear. I want to control the aircraft using joystick? How can I do that.
Kindly guide!
Beta Was this translation helpful? Give feedback.
All reactions