Replies: 4 comments 8 replies
-
Well pull requests are welcome 😉 In terms of getting location data take a look at: jsbsim/src/models/FGPropagate.cpp Lines 845 to 868 in 59389f6 So you could get hold of fdm = jsbsim.FGFDMExec('..\\') # The path supplied to FGFDMExec is the location of the folders "aircraft", "engines" and "systems"
fdm.load_model('737')
lon = fdm['position/long-gc-rad'] |
Beta Was this translation helpful? Give feedback.
-
Often there are useful comments in the source, e.g. jsbsim/src/models/FGPropagate.h Lines 101 to 104 in 59389f6 jsbsim/src/models/FGPropagate.h Lines 316 to 318 in 59389f6 There is also some specific documentation with regards to frames of reference: https://jsbsim-team.github.io/jsbsim-reference-manual/mypages/user-manual-frames-of-reference/ |
Beta Was this translation helpful? Give feedback.
-
The JSBSim software library is the result of years of volunteer work. And you have all you need at your finger tips. For free. |
Beta Was this translation helpful? Give feedback.
-
Yep, this was to serve as a replacement/update of the original PDF document, but it's been stalled for a couple of years. |
Beta Was this translation helpful? Give feedback.
-
The programmer documentation lacks some really basic information. I mean, come on guys, this should be documented :( I found this: http://jsbsim.sourceforge.net/JSBSim/classJSBSim_1_1FGLocation.html
But nowhere is said WHERE to get this object. From FGAircraft? No. Directly from the executor? No. Also I am using the python wrapper and somehow there are a lot of public members missing in FGAircraft, maybe the position is there?
Beta Was this translation helpful? Give feedback.
All reactions