Replies: 5 comments 5 replies
-
Just a quick initial answer for some of your questions.
What you're missing is that the |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Friendly Up ! |
Beta Was this translation helpful? Give feedback.
-
I don't have a definite answer for this off the top of my head. But did notice this bit of documentation in jsbsim/src/models/atmosphere/FGWinds.h Lines 56 to 160 in c7cd8ef |
Beta Was this translation helpful? Give feedback.
-
Short of one of the original coders happening to see your discussion here and answering it I'm not sure you have much of a choice, unless someone else decides to read through the specification documents to come up with answers.
Haven't tried it yet. |
Beta Was this translation helpful? Give feedback.
-
Hello!
I'm currently working on RL based control for fixed wing UAVs under disturbances and I would like to know if someone could explain to me how JSBSim generates turbulences.
Additional details coming from my investigations:
When looking at the code, I see that the scale lengths and amplitudes are implemented as shown in the cited reference (MIL-F-8785C) and in the Continuous gusts wikipedia page.
jsbsim/src/models/atmosphere/FGWinds.cpp
Lines 258 to 280 in e4aa2a9
The next lines are dedicated to declaring variables following the Yeager report's conventions:
jsbsim/src/models/atmosphere/FGWinds.cpp
Lines 292 to 307 in e4aa2a9
Then follows the implementation of the Tustin model.
Q1: Since we're already in a
switch turbType; case ttTustin
why do we need aif(turbType == ttTustin)
condition ?jsbsim/src/models/atmosphere/FGWinds.cpp
Lines 311 to 344 in e4aa2a9
Q2: The next condition:
if(turbType == ttMilspec
is never being run no ? since it's in thecase ttTustin
?jsbsim/src/models/atmosphere/FGWinds.cpp
Lines 346 to 355 in e4aa2a9
And by the way I find it odd that the
case ttMilspec
is empty:jsbsim/src/models/atmosphere/FGWinds.cpp
Lines 247 to 250 in e4aa2a9
Q3 : Where is the link to the Dryden spectrum model ? I couldn't find any part in the FGWinds.cpp where the Dryden power spectral densities are implemented as presented in the Dryden Wind Turbulence Model wikipedia page or the Matworks Simulink Documentation
So the question sythesizing all the previous ones could be: what is the difference between Tustin and Milspec turbulences and their relationship to the Dryden spectrum model ?
Sorry for the very long post, and thanks in advance !
Beta Was this translation helpful? Give feedback.
All reactions