Problem with stall warning
eeeewwqq opened this issue · 2 comments
I'm submitting a ...
- bug report
- feature request
- support request => Please do not submit support request here, see note at the top of this template.
Describe the issue
systems/stall-warn-norm and aero/stall-hyst-norm doesn't seem to be working for some aircrafts. I put plane at some altitude above ground with zero speed and velocities and I was able to get stall warn only for c172x. It doesn't work for global5000 and f104 models. + I tried some 3d-party models and it doesn't work as well.
Could someone help?
What is the current behavior?
global5000 and f104 systems/stall-warn-norm=0 aero/stall-hyst-norm=0
What is the expected behavior?
global5000 and f104 systems/stall-warn-norm>0 aero/stall-hyst-norm=1
Please tell us about your environment:
- OS: Windows
- JSBSim version: 1.2.0
- Language: Unity + JSBSim compiled as dll
Output examples
f104.csv
c172x.csv
global5000.csv
That's because the author of the aircraft's FDM needs to provide data for alphalimits
and hysteresis_limits
and these aren't compulsory/required data. So you will only get meaningful output for the properties if the required input data is supplied.
jsbsim/src/models/FGAerodynamics.cpp
Lines 347 to 361 in a919d4d
jsbsim/src/models/FGAerodynamics.cpp
Lines 163 to 177 in a919d4d
Thanks