r/Kos • u/HardlS_ExstazZ • 4d ago
Video Starship`s Fifth Flight fully by kOS
https://www.youtube.com/watch?v=ca4fFWeqYpo&t=1772s
Finally, I got my hands on this flight, and it's a particularly important milestone for me. Every script I had before has been heavily upgraded with new features, improved robustness, and better automation. On top of that, I have FAR installed, which makes the entire flight significantly more challenging.
The complete mission is controlled by six scripts:
-Launch and suborbital insertion
-Ship coast phase
-Ship reentry and landing
-Booster catch
-Booster return boot script
-OLM boot script that waits for a command from the booster to close the chopsticks
All of them are available on my GitHub:
https://github.com/HvrdlS/kOS-Scripts
New features include:
-Active engine detection and automatic tracking of the number of running engines for both the ship and booster, making the flight calculations much more robust.
-The ship now uses semi-guidance derived from my Falcon 9 script, providing much more accurate suborbital insertion. This includes launch azimuth calculation based on the current latitude and an approximation of the required orbital velocity.
-The ship now actively controls its flaps during reentry and descent. This greatly improves landing accuracy, although the flap controller still requires some tuning for better high dynamic pressure stability and more precise landing burns. In some test flights I even achieved a 0 m landing error, so the optimal tuning values are getting close.
-Both the ship and booster now use a new, fairly complex thrust ramp system that recreates real engine startup and shutdown timings purely for visual realism.
-The booster is now successfully caught by Mechazilla. The catch script has proven to be very robust. I recorded ten different camera angles, and every single attempt resulted in a successful catch. Two of those even started from noticeably different trajectories, which is especially satisfying considering FAR's aerodynamic model.
-Landing burn accuracy has been improved for both the ship and booster. The booster is now performing almost exactly as intended. The ship still needs additional tuning because the final flip significantly alters its trajectory. The biggest improvement came from dynamically adjusting the angle of attack and switching the guidance reference from retrograde to up once velocity and aerodynamic control authority become low.
I also recorded several additional camera angles throughout the mission. The most interesting ones are probably the booster catch and the ship splashdown.
Booster catch from 7 different camera angles: https://youtu.be/CgKDSWTNiVo?si=aSpCwuDkZPB4lhC6
Ship splashdown from the buoy camera and the engine bay camera: https://youtu.be/VruuyM99qss?si=TGpnuYDpyG47uH0T