From: Elias T. <eli...@gm...> - 2015-02-17 00:09:44
|
Maybe here you can find a way to send data from FG to JSBSim: http://wiki.flightgear.org/Howto:Create_a_generic_protocol The advantage is that if you just need to send a few doubles, then maybe you dont need a binary format, just a simple text. This would allow (at least from the start) to concentrate on app tasks instead of encounter with a packing/extracting binary and writing JSBSim::FGInputFG class. Since JSBSim FGInput can parse a text strings. In my experience, sending data with 100 hz rate produces good results in terms of speed and accuracy, If you just need to sending controls from FG, maybe it would be enough. |