Question 2010 Launch AP?

jambooger

Defender of the Stupid
Donator
Joined
Jan 24, 2010
Messages
241
Reaction score
0
Points
0
Location
Earth for now
Since we dont have Daves incredable Shuttle Fleet in 2010, is there an Launch Auto Pilot that will control the default Atlantis untill LEO?
Thanks.
 
LuaMFD sorta does that. Have you flown the new tutorial that comes with orbiter 2010
 
The stock Atlantis can be launched with an LUA script accessible from both LUA terminal CFD and LUA MFD - the details are in the provided scenario's description;

2010 Edition -> Scripts -> Space Shuttle Launch
 
The stock Atlantis can be launched with an LUA script accessible from both LUA terminal CFD and LUA MFD - the details are in the provided scenario's description;

2010 Edition -> Scripts -> Space Shuttle Launch


Help me understand this a bit please. Do I need to edit the Atlantis Launch LUA file? What is the LUA MFD?
 
The LUA MFD is a module provided as standard with Orbiter 2010. It's basically an MFD which acts as a sort of "terminal" window to the LUA scripting interface, which is a separate module.

To use them, simply activate the modules in your list which say LUA in them (LUAConsole and LUAMFD) and select either the MFD from the menu or press CTRL+F4 in game and choose the LUA terminal from there.

The decription in the scenario I mentioned above tells you what commands to run in the terminal - Firstly, you'll need to run the atlantis launch script, like so;

Code:
 run('atlantis\launch')

Type that into the terminal or MFD input and pass it to the handler. The script should initialise, and you'll see a few lines of text written to the terminal or MFD.

Then, to launch with the defaults, pass the command;

Code:
launch()

And you should be on your way. The script will let go of Atlantis once she's in the planned orbit and give you back control.
 
The LUA MFD is a module provided as standard with Orbiter 2010. It's basically an MFD which acts as a sort of "terminal" window to the LUA scripting interface, which is a separate module.

To use them, simply activate the modules in your list which say LUA in them (LUAConsole and LUAMFD) and select either the MFD from the menu or press CTRL+F4 in game and choose the LUA terminal from there.

The decription in the scenario I mentioned above tells you what commands to run in the terminal - Firstly, you'll need to run the atlantis launch script, like so;

Code:
 run('atlantis\launch')

Type that into the terminal or MFD input and pass it to the handler. The script should initialise, and you'll see a few lines of text written to the terminal or MFD.

Then, to launch with the defaults, pass the command;

Code:
launch()

And you should be on your way. The script will let go of Atlantis once she's in the planned orbit and give you back control.


I keep getting "Execution Error" Im not entering something correct.
 
Ah, sorry, my mistake. It's a forward slash.

Code:
 run('atlantis/launch')

Also bear in mind you can close the terminal and the autopilot will keep running in the background. The scenario description contains the commands and I believe there's some space in the documentation on it.
 
I haven't really tried going back to very basics, Does anyone know if you can achieve a stable LEO orbit just by putting the shuttle on full thrust and on a pro-grade rotation from launch till you reach LEO?
 
Ah, sorry, my mistake. It's a forward slash.

Code:
 run('atlantis/launch')

Also bear in mind you can close the terminal and the autopilot will keep running in the background. The scenario description contains the commands and I believe there's some space in the documentation on it.


It Worked Great that time. Perfect launch role, and pitch. I will study more. When will the auto pilot disengage? I assume when I achieve orbit.

---------- Post added at 05:46 AM ---------- Previous post was at 05:20 AM ----------

I haven't really tried going back to very basics, Does anyone know if you can achieve a stable LEO orbit just by putting the shuttle on full thrust and on a pro-grade rotation from launch till you reach LEO?


I was ableto achieve a stable LEO manually earlier tonite, but I did have to change my roll to get proper heading then had to change my pitch to achieve proper altitude. I got lucky. Orbiter 2010 was much easier to control than 2006 was.

---------- Post added at 05:54 AM ---------- Previous post was at 05:46 AM ----------

I haven't tried it myself yet in 2010, Still installing various hi-res graphics which is taking a fair bit of time. Hopefully I'll get round to trying it out within a day or so. All add-ons currently known to work in 2010 can be found here - http://www.orbiter-forum.com/showthread.php?t=16177&highlight=Orbiter+2010+Add-Ons.


Have you had any luck installing Hi-Res in 2010? Mine is not doing well.
 
The LUA MFD is a module provided as standard with Orbiter 2010. It's basically an MFD which acts as a sort of "terminal" window to the LUA scripting interface, which is a separate module.

To use them, simply activate the modules in your list which say LUA in them (LUAConsole and LUAMFD) and select either the MFD from the menu or press CTRL+F4 in game and choose the LUA terminal from there.

The decription in the scenario I mentioned above tells you what commands to run in the terminal - Firstly, you'll need to run the atlantis launch script, like so;

Code:
 run('atlantis\launch')

Type that into the terminal or MFD input and pass it to the handler. The script should initialise, and you'll see a few lines of text written to the terminal or MFD.

Then, to launch with the defaults, pass the command;

Code:
launch()

And you should be on your way. The script will let go of Atlantis once she's in the planned orbit and give you back control.

In the tutorial included with Orbiter 2010, it tells you how to change the orbital altitude, launch azimuth, and whether to do the orbital insertion burn automatically or manually performed by you by using Lua MFD inputs.
 
Indeed it does. Documentation is a wonderful thing, isn't it?
 
One of the nice things about the script approach to launch/auto-pilots is that they are no longer black boxes, but can be modified by anybody with an inclination to tinkering. The Atlantis launch script is in $ORBITERROOT/Script/Atlantis/launch.lua.

Have a look at it. It's pretty simple and has plenty of scope for improvement. I am confident that you guys will come up with lots of new and improved versions in the very near future! :thumbup:
 
Hey Martins! Can we publish your Lua script modified by other people? That script has some problems like these:

1. Not so realistic flight profile. No OMS assist.
2. Shuttle SSMEs is overperforming (5000 m/s ISP instead of 4400?) not a script problem :p but a reminder;
3. Text info is not displaying;
4. Near MECO and so on part of flight is buggy a lot;
5. Thrusters 0.000*** problem after autopilot (fixed);
6. No info in help text about OMS1/OMS2 (fixed);
7. Just on MECO - atlantis is not holding yaw.
8. OMS-2 circulisation burn needs more testing?
9. OMS-1 burn is no longer needed because of direct insertion been used for a long time. Disable by default?

Btw i got some nice detailed flight data from CBS site for STS-121. Main problem is that i have very small experience with coding... but code is simple. Another problem - find more data about typical shuttle orbits at MECO: i heared about 50x220 km but it feels incorrect.
 
Last edited:
Hey Martins! So we can publish your Lua script modified by other people?
Sure - it's meant as a starting point for experimentation, the same as the code samples in Orbitersdk.

Once there is a consensus that a modified script is better than the original, I'd be happy to include it in the next update.
 
Back
Top