LUA Detect 'Engage Thrust' and 'Kill Thrust' signals

cm45t3r

New member
Joined
Jul 7, 2011
Messages
4
Reaction score
0
Points
0
Location
Bogota D.C.
Hey there!

I'm spending some time on Lua scripting for Orbiter. I'd like to code some routines to automate orbit alignment and synchronization.

Is there an API function for intercepting these Align Planes MFD signals?
 
Have a look at escapetomsfate's script from the [ame="http://orbithangar.com/searchid.php?ID=5024"]Interactive Surface to LEO lua Tutorial[/ame]
There you will find examples of how to get orbital elements and handle thrusters.

For more information read the Orbiter scripting section of the $Orbiterroot\html\Orbiter.chm file.

:cheers:
 
You don't need to intercept those signals. Figure out where the node is, how much of an impulse you need to apply and how much time it takes to do it.
 
Very interesting. Taking a look. :thumbup:

:cheers:

---------- Post added 08-06-12 at 12:32 AM ---------- Previous post was 08-05-12 at 06:59 PM ----------

Have a look at escapetomsfate's script from the Interactive Surface to LEO lua Tutorial
There you will find examples of how to get orbital elements and handle thrusters.

For more information read the Orbiter scripting section of the $Orbiterroot\html\Orbiter.chm file.

:cheers:

Checking out the LUA code I found escaoetomsfate's tutorial have this scope:

Code:
intro()
mfd()
takeoff()
yawpitch()
rcspitch()
gainaltvel()
raisep()

I couldn't see where the align planes rutine is.

You don't need to intercept those signals. Figure out where the node is, how much of an impulse you need to apply and how much time it takes to do it.

Ok, I'll give it a try using oapi functions :)
 
Back
Top