Waypoint navigation system #346
Replies: 16 comments 15 replies
-
Hi @brats2017, The flight controls for waypoint guidance are located in systems/GNCUtilities.xml. The c310 loads this autopilot feature with the code below but the X15 does not. Lines 343 to 345 in 82de86e Also please bear in mind that the X15 has very limited range and maneuverability and might not be able to perform the flight plan described in the script Edit: Also the simple fact that there are so many properties missing should be an hint that some files are missing in your model (i.e. they are not included by a command like the one above). |
Beta Was this translation helpful? Give feedback.
-
Thank you so much for your quick response @bcoconni. I could design a waypoint navigation system for x15 with the points that you mentioned. Now, I can work on constraints to get good results. |
Beta Was this translation helpful? Give feedback.
-
I wanted to kindly ask you how can I consider a constraint for the maximum speed? |
Beta Was this translation helpful? Give feedback.
-
Not sure what you mean. If you want to cap the maximum speed, my suggestion would be to use a PID that would take over the throttle as soon as the aircraft velocity goes beyond a given threshold. Then the PID would be switched off as soon as the velocity drops below that threshold. Just an idea off the top of my head... |
Beta Was this translation helpful? Give feedback.
-
Thank you so much for your response @bcoconni. |
Beta Was this translation helpful? Give feedback.
-
@brats2017 according to your discussion in issue #349 I infer that this issue can be closed ? |
Beta Was this translation helpful? Give feedback.
-
Yes, sure. Thank you so much @bcoconni. |
Beta Was this translation helpful? Give feedback.
-
Sorry @bcoconni, the issue is closed. However, my problem has not been solved yet. Can you please give me advice that what are the exact properties name (for input and output) that I should consider in the PID controller code to cap the maximum speed?
Your help will be greatly appreciated. |
Beta Was this translation helpful? Give feedback.
-
You do realise that the X-15 is carried aloft under the wing of a B-52, then dropped from altitude, lights its rocket engine which has a limited run time and then becomes a glider. So you would only be able to use the throttle of the rocket engine for a small portion of the flight to control speed. When it becomes a glider the throttle will be useless, you would need to use alpha (within limits) to control speed. The X-15 also had speed brakes (split tail) which you could use to help in managing speed, but the current X-15 JSBSim model doesn't seem to model the speed brake. So which part of the flight do you want to limit speed for? If it's just while the rocket is firing then you can use the throttle to control that. |
Beta Was this translation helpful? Give feedback.
-
Thank you so much for your response. The information that you mentioned is very helpful. About the question that you asked me, I am designing a waypoint navigation system for X-15, and I want to control its speed when it is following the waypoints. Its speed is too high when it heads to the first waypoint and it causes the aircraft to deviate. Do you have any idea about that? |
Beta Was this translation helpful? Give feedback.
-
You haven't answered the question I asked.
You mention the leg to the 1st waypoint, but that doesn't specify whether it's under rocket power or whether it's gliding, and as I mentioned you will need to use a different strategy for the different phases of flight in general. |
Beta Was this translation helpful? Give feedback.
-
I've just migrated this issue to "Discussions" which, I believe, is the right place to manage this topic. This should avoid opening/closing the issue as @brats2017 need support. |
Beta Was this translation helpful? Give feedback.
-
Sorry @brats2017, I just discovered I've missed your last comment. Thanks for clarifying your input. This will need some testing with JSBSim to try to reproduce your test case and understand what's going on. I'll investigate that later this week. |
Beta Was this translation helpful? Give feedback.
-
Hello all, |
Beta Was this translation helpful? Give feedback.
-
But have you looked through Line 25 in 518f2a7 Lines 40 to 48 in 518f2a7 |
Beta Was this translation helpful? Give feedback.
-
My point was that the autopilot and the c3104 script have support for setting an altitude target/setpoint, so the basic support is there and there is an example of setting the altitude setpoint to 1000. So you can modify your version to make use of |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello all,
I want to design a waypoint navigation system for the aircraft x15. I read the manual and I run the c3104.xml file without any problem. However, for designing the x15 waypoint navigation system, I face problems. The extra works that I did to design a waypoint navigation system are as follows:
<use aircraft="X15" initialize="ellington"/>
and saved it.When I run the x15way.xml, I have errors that said some properties are not defined. Consequently:
The properties that I had to add, are:
I wanted to kindly ask you the steps that I did to design a waypoint navigation system are correct?
I am a beginner with JSBSim and your help will be greatly appreciated.
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions