Tutorial How to use the LUA autopilot for Atlantis

mojoey

Bwoah
Joined
May 26, 2011
Messages
3,623
Reaction score
0
Points
61
Ok, most of you already know how to do this, but some do not. This Tutorial will explain how to use 'TerminalMFD' to launch the stock shuttle.


Requirements
at the orbiter launchpad, go to modules and enable 'LUA MFD' then launch the scenario 'Launch Into Sunrise'

How To

Step One
On the left MFD select TerminalMFD

Step Two
On the right MFD select OrbitMFD

Step Three
Click on 'INP' on TerminalMFD

Step Four
type in: run ('Atlantis/Launch') then hit enter

Now, you can hit INP again and type launch() and launch to a 300Km orbit at 90 degrees, but you can change those variables. Im going to show you how to launch to a 70 degree 270Km orbit. Please note, we will disable the OMS-2 burn, as you can do that yourself. The number 270Km is the target Apogee, the orbit will not be circularized.

Step Five
Hit INP and type: orbit_alt=270e3 then enter

Step Six
Hit INP and type: azimuth=70*RAD then enter

Step Seven
Hit INP and type: do_oms2=false

Now, here's the final autopilot input should look like

run('Atlantis/Launch')
orbit_alt=270e3
azimuth=70*RAD
do_oms2=false

Now once you are ready to launch, simply type: launch() then enjoy the view to orbit.

This is important to note, I have NOT tested this with Shuttle Fleet, so results may be unexpected, or the autopilot may not work at all.
 

Sbb1413

Well-known member
Joined
Aug 14, 2018
Messages
948
Reaction score
373
Points
78
Location
India
Preferred Pronouns
he/his/him
TheNoob1387, are you from Orbiter 2016? The Atlantis\launch.lua script does not work correctly with the 2016 stock Atlantis.
See also: atlantis/launch lua problem
 
Top