updated mag variation data
Update: The endianess issue is now fixed, however I can only test it on a Little Endian machine. QtJSBSim should now be able to communicate to FlightGear from either a Little or Big Endian host. The only file in the code which needs to worry about this is src/flightgear/packet.cpp Note that communication between QtJSBSim and JSBSim is done via text, so no need to consider endianess there.
Enabling big or little endian communication to FlightGear
I've tried building QtJSBSim with Qt 6.3, and it appears SVG handling has changed a bit, which prevents the current code from building. Rather than have two different code bases I've decided to not support a QT 6.3 version for now. QtJSBSim builds with Qt 5.15.2 If I get demand for Qt 6.3, then I'll reconsider.
Stopped using QtEndian
I've been testing the FlightGear interface against FlightGear version 2020.3.6, and it's working well. I was getting compilation errors earlier due to the way Qt is changing its QtEndian handling, so I'm now using my own routines for endian operations. Tested with Qt 5.15.2 QtJSBSim now assumes it is running on a little endian machine, and it also assumes a float is 4 bytes and a double is 8 bytes. If any of these assumptions don't work for you please let me know and I'll update the code accordi...
Using FlightGear as your viewer
QtJSBSim QtJSBSim is a FlightSim/GUI front end for the JSBSim flight dynamics model. It was inspired by, and includes a widget from the QFlightInstruments project. Joystick handling comes from the SDL project. For the "out-the-window" view you can send data to FlightGear. License GPLv3 https://gnu.org/licenses/gpl.txt History JSBSim is an open source flight dynamics library, designed to simulate the real time dynamics of an aerial vehicle. There are three ways to use JSBSim as part of a larger simulation...