kOS Airplane Landing Script v4

preview_player
Показать описание
Compared to the last video and versions, I highly improved the script. It now lines up much better with the runway, I optimized the final approach as well as completely reworked the pitch holding logic, no more oscillations or too late corrections.
As you can see, in the first clip the plane has to do a rather extreme approach, coming in far from the north with only a short time to line up with the runway, but it manages just fine, except for landing a little too far off the centerline, but with a more "normal", less aggressive approach, the plane would have landed just fine on the centerline.
It still needs some work, especially in regard to landing on runways which are not exactly 90°, but this is not too big of a deal to do any more. Also, quite a lot of optimization can be done I think, the code is already quite "clean", but there are some parts which can be highly optimized to allow the program to have a higher tick rate. You can see the time the program needs for one "cycle" at the bottom of the kOS interface, usually the time is around 0.4s in landing mode but might increase under certain circumstances to 0.76s.
This is not too big of a problem, but it is always a good idea to optimize whereever you can.

However, it is coming together really nicely, what do you think? :)
Рекомендации по теме
Комментарии
Автор

Where can I find the ro configs for your spacex launchers pack?

nyet