Not maintaining speed #1056
Replies: 5 comments 5 replies
-
Update to this, for some reason the aircraft is holding speed, but it seems to be slow enough that it can't keep itself in the air. Averaging about 108-110 knots which doesn't seem like it is enough to stay in the air and slowly loses elevation |
Beta Was this translation helpful? Give feedback.
-
Who is controlling the thrust? An auto-pilot or are you as the pilot controlling thrust with a thrust lever input? Plot things like airspeed, altitude, pitch angle, flight path angle, AoA, thrust, thrust command etc. |
Beta Was this translation helpful? Give feedback.
-
General comment, in aviation elevation refers to the height of the terrain. In terms of the aircraft flying below sea-level if you look at the T-37 you'll notice that the only ground reactions that are defined are for the landing gear which is retractable. So if the gear is retracted then there will be no impact with the terrain. Lines 91 to 137 in b9bfc23 You'll notice that other aircraft, especially if they have retractable gear will also define structural contact points, for example: jsbsim/aircraft/787-8/787-8.xml Lines 201 to 214 in b9bfc23 So in this case even if the gear is retracted one of the structural points will impact with the terrain. You've shown the position of the thrust lever, but that doesn't mean anything if the engine isn't running. Hence my comment to also plot the actual thrust force to confirm that the engine(s) are actually running. |
Beta Was this translation helpful? Give feedback.
-
No need to apologize.
Couple of options, depending on how you're using JSBSim. So first off you can specify that the engines are running in the initialisation file, the -1 means all engines. <?xml version="1.0" encoding="utf-8"?>
<initialize name="cruise">
<!--
This file sets up the aircraft to start off
at cruise conditions for the rudder kick.
-->
<altitude unit="FT"> 1000.0 </altitude>
<vc unit="KTS"> 200.0 </vc>
<gamma unit="DEG"> 0.0 </gamma>
<beta unit="DEG"> 0.0 </beta>
<running> -1 </running>
</initialize> Or, if I'm scripting things with python I'll often use this option: # Set engines running
fdm['propulsion/engine[0]/set-running'] = 1
fdm['propulsion/engine[1]/set-running'] = 1 Or you could the same properties in a JSBSim xml script file as well. |
Beta Was this translation helpful? Give feedback.
-
Take a look at https://github.com/JSBSim-Team/jsbsim?tab=readme-ov-file#user-documentation and you'll see in the documentation a description of the various frames of reference. In particular for contact points they're specified in the structural frame. |
Beta Was this translation helpful? Give feedback.
-
Hello! I feel like there is something that I am missing as I am working here but not sure exactly where to look. I currently have an implementation of a flightsim using the c310 model which fly's just fine with my joystick, autopilot controls, etc. I tried leaving everything the exact same except for the model that I am using. I have tried a couple, but the main one that I have played around with is the DHC6. I changed out the model loaded and tried flying. I am now seeing that the plane is losing speed and starts to fall out of the sky. It feels like the engines aren't on but I can't find a property to check or set. Things work just fine with the c310, but now running into this issue.
I can see that the "propulsion/starter_cmd" property is set to 1 and I have tried ensuring that a good portion of the references I am using are valid or at the very least in the property catalog and it appears that they are. Any suggestions on what I might be missing would be greatly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions