What's everybody using for joystick control #572
Replies: 4 comments 4 replies
-
Over the years I've interfaced active inceptors like this one from Stirling Dynamics - https://www.stirling-dynamics.com/products/compact-stick and more recently from Brunner - https://www.brunner-innovation.swiss/product/cls-p-joystick/ with JSBSim. In my case I added code to JSBSim. But you could look at using In terms of real-time strip charting I've been using PlotJuggler for use with real recorded FTI, but have been meaning to add an interface to be able to connect JSBSim and PlotJuggler. |
Beta Was this translation helpful? Give feedback.
-
Yep, so what I was suggesting is that your code making use of DirectInput takes the inceptor data and transmits it to JSBSim which has an existing In terms of PlotJuggler I've been using it with real FTI data that is recorded by an FTI system I developed. The data is loaded into PlotJuggler after flight, e.g. https://seanmcleod.github.io/2018/05/extra-300-spin/, so not real time streaming. PlotJuggler supports a bunch of streaming protocols so my thinking was to add an output class to JSBSim that outputs in one of the supported streaming formats. |
Beta Was this translation helpful? Give feedback.
-
FYI there is also QtJSBSim by @dpculp which interfaces joysticks with JSBSim via a socket. |
Beta Was this translation helpful? Give feedback.
-
In QtJSBSim I use the SDLJoystick library to handle the joystick input. QtJSBSim then communicates with an instance of the JSBSim standalone app over UDP sockets. I would think building joystick handling inside JSBSim would be a bit out of JSBSim's scope. On the other hand I could be wrong. -- Dave |
Beta Was this translation helpful? Give feedback.
-
Greetings. New to JSBsim, but not to simulation. Is anybody using anything outside of FlightGear for joystick control? I'm thinking of writing a UDP joystick driver to go straight to JSBSim, but if one already exists or there's a better alternative I'd like to try to use that instead, mapping joystick axes/buttons to FCS inputs.
I see old references to a stripchart utility that doesn't seem to exist any more anywhere. Is anybody using anything more current for realtime stripcharting?
I wrote a DIS output interface using KDIS Open source library and I just got it working. If anybody is interested in such a thing, I'd be interested in knowing the developer's approach to integrating other open source projects into jsbsim source. I'll post something up in Show & Tell section when I have a bit of time.
Thanks in advance for the input.
UcfAerokid
Beta Was this translation helpful? Give feedback.
All reactions